|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.weborganic.berlioz.content.MatchingService
public final class MatchingService
Encapsulates the results of the service matching.
Implementation note: all fields are immutable.
Constructor Summary | |
---|---|
MatchingService(Service service,
URIPattern pattern,
URIResolveResult result)
Creates a new matching service. |
Method Summary | |
---|---|
boolean |
isCacheable()
Indicates whether this response is cacheable. |
URIPattern |
pattern()
Always returns the matching URI pattern. |
URIResolveResult |
result()
Always returns the resolved URI variables. |
Service |
service()
Always returns the matched service (always a value). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MatchingService(Service service, URIPattern pattern, URIResolveResult result)
service
- The matched service.pattern
- The URI pattern it matched.result
- The resolved URI variables.Method Detail |
---|
public boolean isCacheable()
A response is cacheable only is the service has been found and all its generators are cacheable.
true
if this response is cacheable;
false
otherwise.public Service service()
null
).public URIPattern pattern()
null
).public URIResolveResult result()
null
).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |