Interface RequestPredicates.Visitor
- Enclosing class:
- RequestPredicates
public static interface RequestPredicates.Visitor
Receives notifications from the logical structure of request predicates.
- 
Method SummaryModifier and TypeMethodDescriptionvoidand()Receive "middle" notification of a logical AND predicate.voidendAnd()Receive last notification of a logical AND predicate.voidReceive last notification of a negated predicate.voidendOr()Receive last notification of a logical OR predicate.voidReceive notification of an HTTP header predicate.voidmethod(Set<HttpMethod> methods) Receive notification of an HTTP method predicate.voidor()Receive "middle" notification of a logical OR predicate.voidReceive notification of a parameter predicate.voidReceive notification of a path predicate.voidpathExtension(String extension) Receive notification of a path extension predicate.voidstartAnd()Receive first notification of a logical AND predicate.voidReceive first notification of a negated predicate.voidstartOr()Receive first notification of a logical OR predicate.voidunknown(RequestPredicate predicate) Receive first notification of an unknown predicate.
- 
Method Details- 
methodReceive notification of an HTTP method predicate.- Parameters:
- methods- the HTTP methods that make up the predicate
- See Also:
 
- 
pathReceive notification of a path predicate.- Parameters:
- pattern- the path pattern that makes up the predicate
- See Also:
 
- 
pathExtensionReceive notification of a path extension predicate.- Parameters:
- extension- the path extension that makes up the predicate
- See Also:
 
- 
headerReceive notification of an HTTP header predicate.- Parameters:
- name- the name of the HTTP header to check
- value- the desired value of the HTTP header
- See Also:
 
- 
paramReceive notification of a parameter predicate.- Parameters:
- name- the name of the parameter
- value- the desired value of the parameter
- See Also:
 
- 
startAndvoid startAnd()Receive first notification of a logical AND predicate. The first subsequent notification will contain the left-hand side of the AND-predicate; followed byand(), followed by the right-hand side, followed byendAnd().- See Also:
 
- 
andvoid and()Receive "middle" notification of a logical AND predicate. The following notification contains the right-hand side, followed byendAnd().- See Also:
 
- 
endAndvoid endAnd()Receive last notification of a logical AND predicate.- See Also:
 
- 
startOrvoid startOr()Receive first notification of a logical OR predicate. The first subsequent notification will contain the left-hand side of the OR-predicate; the second notification contains the right-hand side, followed byendOr().- See Also:
 
- 
orvoid or()Receive "middle" notification of a logical OR predicate. The following notification contains the right-hand side, followed byendOr().- See Also:
 
- 
endOrvoid endOr()Receive last notification of a logical OR predicate.- See Also:
 
- 
startNegatevoid startNegate()Receive first notification of a negated predicate. The first subsequent notification will contain the negated predicated, followed byendNegate().- See Also:
 
- 
endNegatevoid endNegate()Receive last notification of a negated predicate.- See Also:
 
- 
unknownReceive first notification of an unknown predicate.
 
-