Class Rules.request.dispatcherType
java.lang.Object
com.aoapps.servlet.firewall.rules.Rules.request.dispatcherType
- Enclosing class:
Rules.request
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MatcherMatchesDispatcherType.ASYNC.static final MatcherMatchesDispatcherType.ERROR.static final MatcherMatchesDispatcherType.FORWARD.static final MatcherMatchesDispatcherType.INCLUDE.static final MatcherMatchesDispatcherType.REQUEST. -
Method Summary
Modifier and TypeMethodDescriptionstatic Matcherin(DispatcherType... dispatcherTypes) Matches any of a given set ofDispatcherType.static Matcherin(DispatcherType[] dispatcherTypes, Rule... rules) Matches any of a given set ofDispatcherType.static Matcherin(DispatcherType[] dispatcherTypes, Rule[] rules, Rule... otherwise) Matches any of a given set ofDispatcherType.static Matcherin(DispatcherType[] dispatcherTypes, Iterable<? extends Rule> rules) Matches any of a given set ofDispatcherType.static Matcherin(DispatcherType[] dispatcherTypes, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches any of a given set ofDispatcherType.static Matcherin(Iterable<? extends DispatcherType> dispatcherTypes) Matches any of a given iterable ofDispatcherType.static Matcherin(Iterable<? extends DispatcherType> dispatcherTypes, Rule... rules) Matches any of a given iterable ofDispatcherType.static Matcherin(Iterable<? extends DispatcherType> dispatcherTypes, Rule[] rules, Rule... otherwise) Matches any of a given iterable ofDispatcherType.static Matcherin(Iterable<? extends DispatcherType> dispatcherTypes, Iterable<? extends Rule> rules) Matches any of a given iterable ofDispatcherType.static Matcherin(Iterable<? extends DispatcherType> dispatcherTypes, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches any of a given iterable ofDispatcherType.static Matcherin(Set<? extends DispatcherType> dispatcherTypes) Matches any of a given set ofDispatcherType.static Matcherin(Set<? extends DispatcherType> dispatcherTypes, Rule... rules) Matches any of a given set ofDispatcherType.static Matcherin(Set<? extends DispatcherType> dispatcherTypes, Rule[] rules, Rule... otherwise) Matches any of a given set ofDispatcherType.static Matcherin(Set<? extends DispatcherType> dispatcherTypes, Iterable<? extends Rule> rules) Matches any of a given set ofDispatcherType.static Matcherin(Set<? extends DispatcherType> dispatcherTypes, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches any of a given set ofDispatcherType.static Matcheris(DispatcherType dispatcherType) Matches one givenDispatcherType.static Matcheris(DispatcherType dispatcherType, Rule... rules) Matches one givenDispatcherType.static Matcheris(DispatcherType dispatcherType, Rule[] rules, Rule... otherwise) Matches one givenDispatcherType.static Matcheris(DispatcherType dispatcherType, Iterable<? extends Rule> rules) Matches one givenDispatcherType.static Matcheris(DispatcherType dispatcherType, Iterable<? extends Rule> rules, Iterable<? extends Rule> otherwise) Matches one givenDispatcherType.static MatcherMatchesDispatcherType.ASYNC.static MatcherMatchesDispatcherType.ASYNC.static MatcherMatchesDispatcherType.ASYNC.static MatcherMatchesDispatcherType.ASYNC.static MatcherMatchesDispatcherType.ERROR.static MatcherMatchesDispatcherType.ERROR.static MatcherMatchesDispatcherType.ERROR.static MatcherMatchesDispatcherType.ERROR.static MatcherMatchesDispatcherType.FORWARD.static MatcherMatchesDispatcherType.FORWARD.static MatcherMatchesDispatcherType.FORWARD.static MatcherMatchesDispatcherType.FORWARD.static MatcherMatchesDispatcherType.INCLUDE.static MatcherMatchesDispatcherType.INCLUDE.static MatcherMatchesDispatcherType.INCLUDE.static MatcherMatchesDispatcherType.INCLUDE.static MatcherMatchesDispatcherType.REQUEST.static MatcherMatchesDispatcherType.REQUEST.static MatcherMatchesDispatcherType.REQUEST.static MatcherMatchesDispatcherType.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.
-
