Interface RequestPredicates.Visitor
- Enclosing class:
 - RequestPredicates
 
public static interface RequestPredicates.Visitor
Receives notifications from the logical structure of request predicates.
- 
Method Summary
Modifier 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
- 
method
Receive notification of an HTTP method predicate.- Parameters:
 methods- the HTTP methods that make up the predicate- See Also:
 
 - 
path
Receive notification of a path predicate.- Parameters:
 pattern- the path pattern that makes up the predicate- See Also:
 
 - 
pathExtension
Receive notification of a path extension predicate.- Parameters:
 extension- the path extension that makes up the predicate- See Also:
 
 - 
header
Receive notification of an HTTP header predicate.- Parameters:
 name- the name of the HTTP header to checkvalue- the desired value of the HTTP header- See Also:
 
 - 
param
Receive notification of a parameter predicate.- Parameters:
 name- the name of the parametervalue- the desired value of the parameter- See Also:
 
 - 
startAnd
void 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:
 
 - 
and
void and()Receive "middle" notification of a logical AND predicate. The following notification contains the right-hand side, followed byendAnd().- See Also:
 
 - 
endAnd
void endAnd()Receive last notification of a logical AND predicate.- See Also:
 
 - 
startOr
void 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:
 
 - 
or
void or()Receive "middle" notification of a logical OR predicate. The following notification contains the right-hand side, followed byendOr().- See Also:
 
 - 
endOr
void endOr()Receive last notification of a logical OR predicate.- See Also:
 
 - 
startNegate
void startNegate()Receive first notification of a negated predicate. The first subsequent notification will contain the negated predicated, followed byendNegate().- See Also:
 
 - 
endNegate
void endNegate()Receive last notification of a negated predicate.- See Also:
 
 - 
unknown
Receive first notification of an unknown predicate. 
 -