Class Rules.request.dispatcherType
java.lang.Object
com.aoapps.servlet.firewall.rules.Rules.request.dispatcherType
- Enclosing class:
Rules.request
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Matcher
MatchesDispatcherType.ASYNC
.static final Matcher
MatchesDispatcherType.ERROR
.static final Matcher
MatchesDispatcherType.FORWARD
.static final Matcher
MatchesDispatcherType.INCLUDE
.static final Matcher
MatchesDispatcherType.REQUEST
. -
Method Summary
Modifier and TypeMethodDescriptionstatic Matcher
in
(Iterable<? extends DispatcherType> dispatcherTypes) Matches any of a given iterable ofDispatcherType
.static Matcher
in
(Iterable<? extends DispatcherType> dispatcherTypes, Rule... rules) Matches any of a given iterable ofDispatcherType
.static Matcher
in
(Iterable<? extends DispatcherType> dispatcherTypes, Rule[] rules, Rule... otherwise) Matches any of a given iterable ofDispatcherType
.static Matcher
in
(Iterable<? extends DispatcherType> dispatcherTypes, Iterable<? extends Rule> rules) Matches any of a given iterable ofDispatcherType
.static Matcher
in
(Iterable<? extends DispatcherType> dispatcherTypes, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches any of a given iterable ofDispatcherType
.static Matcher
in
(Set<? extends DispatcherType> dispatcherTypes) Matches any of a given set ofDispatcherType
.static Matcher
in
(Set<? extends DispatcherType> dispatcherTypes, Rule... rules) Matches any of a given set ofDispatcherType
.static Matcher
in
(Set<? extends DispatcherType> dispatcherTypes, Rule[] rules, Rule... otherwise) Matches any of a given set ofDispatcherType
.static Matcher
in
(Set<? extends DispatcherType> dispatcherTypes, Iterable<? extends Rule> rules) Matches any of a given set ofDispatcherType
.static Matcher
in
(Set<? extends DispatcherType> dispatcherTypes, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches any of a given set ofDispatcherType
.static Matcher
in
(DispatcherType... dispatcherTypes) Matches any of a given set ofDispatcherType
.static Matcher
in
(DispatcherType[] dispatcherTypes, Rule... rules) Matches any of a given set ofDispatcherType
.static Matcher
in
(DispatcherType[] dispatcherTypes, Rule[] rules, Rule... otherwise) Matches any of a given set ofDispatcherType
.static Matcher
in
(DispatcherType[] dispatcherTypes, Iterable<? extends Rule> rules) Matches any of a given set ofDispatcherType
.static Matcher
in
(DispatcherType[] dispatcherTypes, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches any of a given set ofDispatcherType
.static Matcher
is
(DispatcherType dispatcherType) Matches one givenDispatcherType
.static Matcher
is
(DispatcherType dispatcherType, Rule... rules) Matches one givenDispatcherType
.static Matcher
is
(DispatcherType dispatcherType, Rule[] rules, Rule... otherwise) Matches one givenDispatcherType
.static Matcher
is
(DispatcherType dispatcherType, Iterable<? extends Rule> rules) Matches one givenDispatcherType
.static Matcher
is
(DispatcherType dispatcherType, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches one givenDispatcherType
.static Matcher
MatchesDispatcherType.ASYNC
.static Matcher
MatchesDispatcherType.ASYNC
.static Matcher
MatchesDispatcherType.ASYNC
.static Matcher
MatchesDispatcherType.ASYNC
.static Matcher
MatchesDispatcherType.ERROR
.static Matcher
MatchesDispatcherType.ERROR
.static Matcher
MatchesDispatcherType.ERROR
.static Matcher
MatchesDispatcherType.ERROR
.static Matcher
MatchesDispatcherType.FORWARD
.static Matcher
MatchesDispatcherType.FORWARD
.static Matcher
MatchesDispatcherType.FORWARD
.static Matcher
MatchesDispatcherType.FORWARD
.static Matcher
MatchesDispatcherType.INCLUDE
.static Matcher
MatchesDispatcherType.INCLUDE
.static Matcher
MatchesDispatcherType.INCLUDE
.static Matcher
MatchesDispatcherType.INCLUDE
.static Matcher
MatchesDispatcherType.REQUEST
.static Matcher
MatchesDispatcherType.REQUEST
.static Matcher
MatchesDispatcherType.REQUEST
.static Matcher
MatchesDispatcherType.REQUEST
.
-
Field Details
-
isForward
MatchesDispatcherType.FORWARD
. -
isInclude
MatchesDispatcherType.INCLUDE
. -
isRequest
MatchesDispatcherType.REQUEST
. -
isAsync
MatchesDispatcherType.ASYNC
. -
isError
MatchesDispatcherType.ERROR
.
-
-
Method Details
-
is
Matches one givenDispatcherType
. -
is
Matches one givenDispatcherType
.- Parameters:
rules
- Invoked only when matched.
-
is
public static Matcher is(DispatcherType dispatcherType, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches one givenDispatcherType
.- Parameters:
rules
- Invoked only when matched.otherwise
- Invoked only when not matched.
-
is
Matches one givenDispatcherType
.- Parameters:
rules
- Invoked only when matched.
-
is
Matches one givenDispatcherType
.- Parameters:
rules
- Invoked only when matched.otherwise
- Invoked only when not matched.
-
in
Matches any of a given iterable ofDispatcherType
. -
in
Matches any of a given set ofDispatcherType
. -
in
Matches any of a given set ofDispatcherType
. -
in
public static Matcher in(Iterable<? extends DispatcherType> dispatcherTypes, Iterable<? extends Rule> rules) Matches any of a given iterable ofDispatcherType
.- Parameters:
rules
- Invoked only when matched.
-
in
public static Matcher in(Iterable<? extends DispatcherType> dispatcherTypes, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches any of a given iterable ofDispatcherType
.- Parameters:
rules
- Invoked only when matched.otherwise
- Invoked only when not matched.
-
in
public static Matcher in(Set<? extends DispatcherType> dispatcherTypes, Iterable<? extends Rule> rules) Matches any of a given set ofDispatcherType
.- Parameters:
rules
- Invoked only when matched.
-
in
public static Matcher in(Set<? extends DispatcherType> dispatcherTypes, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches any of a given set ofDispatcherType
.- Parameters:
rules
- Invoked only when matched.otherwise
- Invoked only when not matched.
-
in
Matches any of a given set ofDispatcherType
.- Parameters:
rules
- Invoked only when matched.
-
in
public static Matcher in(DispatcherType[] dispatcherTypes, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches any of a given set ofDispatcherType
.- Parameters:
rules
- Invoked only when matched.otherwise
- Invoked only when not matched.
-
in
Matches any of a given iterable ofDispatcherType
.- Parameters:
rules
- Invoked only when matched.
-
in
public static Matcher in(Iterable<? extends DispatcherType> dispatcherTypes, Rule[] rules, Rule... otherwise) Matches any of a given iterable ofDispatcherType
.- Parameters:
rules
- Invoked only when matched.otherwise
- Invoked only when not matched.
-
in
Matches any of a given set ofDispatcherType
.- Parameters:
rules
- Invoked only when matched.
-
in
public static Matcher in(Set<? extends DispatcherType> dispatcherTypes, Rule[] rules, Rule... otherwise) Matches any of a given set ofDispatcherType
.- Parameters:
rules
- Invoked only when matched.otherwise
- Invoked only when not matched.
-
in
Matches any of a given set ofDispatcherType
.- Parameters:
rules
- Invoked only when matched.
-
in
Matches any of a given set ofDispatcherType
.- Parameters:
rules
- Invoked only when matched.otherwise
- Invoked only when not matched.
-
isForward
MatchesDispatcherType.FORWARD
.- Parameters:
rules
- Invoked only when matched.
-
isForward
MatchesDispatcherType.FORWARD
.- Parameters:
rules
- Invoked only when matched.otherwise
- Invoked only when not matched.
-
isForward
MatchesDispatcherType.FORWARD
.- Parameters:
rules
- Invoked only when matched.
-
isForward
MatchesDispatcherType.FORWARD
.- Parameters:
rules
- Invoked only when matched.otherwise
- Invoked only when not matched.
-
isInclude
MatchesDispatcherType.INCLUDE
.- Parameters:
rules
- Invoked only when matched.
-
isInclude
MatchesDispatcherType.INCLUDE
.- Parameters:
rules
- Invoked only when matched.otherwise
- Invoked only when not matched.
-
isInclude
MatchesDispatcherType.INCLUDE
.- Parameters:
rules
- Invoked only when matched.
-
isInclude
MatchesDispatcherType.INCLUDE
.- Parameters:
rules
- Invoked only when matched.otherwise
- Invoked only when not matched.
-
isRequest
MatchesDispatcherType.REQUEST
.- Parameters:
rules
- Invoked only when matched.
-
isRequest
MatchesDispatcherType.REQUEST
.- Parameters:
rules
- Invoked only when matched.otherwise
- Invoked only when not matched.
-
isRequest
MatchesDispatcherType.REQUEST
.- Parameters:
rules
- Invoked only when matched.
-
isRequest
MatchesDispatcherType.REQUEST
.- Parameters:
rules
- Invoked only when matched.otherwise
- Invoked only when not matched.
-
isAsync
MatchesDispatcherType.ASYNC
.- Parameters:
rules
- Invoked only when matched.
-
isAsync
MatchesDispatcherType.ASYNC
.- Parameters:
rules
- Invoked only when matched.otherwise
- Invoked only when not matched.
-
isAsync
MatchesDispatcherType.ASYNC
.- Parameters:
rules
- Invoked only when matched.
-
isAsync
MatchesDispatcherType.ASYNC
.- Parameters:
rules
- Invoked only when matched.otherwise
- Invoked only when not matched.
-
isError
MatchesDispatcherType.ERROR
.- Parameters:
rules
- Invoked only when matched.
-
isError
MatchesDispatcherType.ERROR
.- Parameters:
rules
- Invoked only when matched.otherwise
- Invoked only when not matched.
-
isError
MatchesDispatcherType.ERROR
.- Parameters:
rules
- Invoked only when matched.
-
isError
MatchesDispatcherType.ERROR
.- Parameters:
rules
- Invoked only when matched.otherwise
- Invoked only when not matched.
-