public interface ApplicationRouter<T>
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getMethodsForValidRules(Request message)
Returns a collection of valid methods (such as GET and POST) for the URI of the provided
request.
|
List<T> |
getRuleTargets()
Return a list of all target objects that this router handles.
|
Optional<RuleMatch<T>> |
match(Request message)
Match a request to a configured entity.
|
Optional<RuleMatch<T>> match(Request message) throws InvalidUriException
message
- The message to find the entity forInvalidUriException
Collection<String> getMethodsForValidRules(Request message)
message
- The message to find the methods forCopyright © 2016. All rights reserved.