Package | Description |
---|---|
com.caucho.rewrite | |
com.caucho.security | |
com.caucho.server.rewrite |
Modifier and Type | Class and Description |
---|---|
class |
And
Matches if all of the child predicates match.
|
class |
IfAuthType
Matches if the auth-type is equal to the specified value.
|
class |
IfCookie
Passes if the named HTTP cookie exists and has a value
that matches a regular expression.
|
class |
IfCron
Match if the request occurs during enabled times.
|
class |
IfFileExists
Match if the file specified by getRealPath() exists in the filesystem.
|
class |
IfHeader
Passes if the named header exists and has a value
that matches a regular expression.
|
class |
IfLocale
Match if the request's locale matches an expression.
|
class |
IfLocalPort
Matches if request.getLocalPort() matches the 'value' attribute.
|
class |
IfMBeanEnabled
Matches if the MBean is enabled and does not match if it's not enabled.
|
class |
IfMethod
Match if the HTTP method matches the value.
|
class |
IfNetwork
Match if the remote IP address matches one of the pattern networks.
|
class |
IfQueryParam
Passes if the named parameter exists and has a value
that matches a regular expression.
|
class |
IfRemoteAddr |
class |
IfRemoteUser
A rewrite condition that passes if the client has been authenticated
and the remote user has the specified name, as determined by
HttpServletRequest.getRemoteUser() . |
class |
IfSecure
Match if the request is secure, i.e.
|
class |
IfServerName
A rewrite condition that passes if the server name matches.
|
class |
IfServerPort
A rewrite condition that passes if the request.getServerPort() matches.
|
class |
IfUserInRole
Match if the user is in any of the given roles,
i.e.
|
class |
Not
True if the child predicate is false.
|
class |
NotAnd
Matches if all of the child predicates fail.
|
class |
NotOr
Matches if none of the child predicates match.
|
class |
Or
Matches if any of the child predicates match.
|
Modifier and Type | Method and Description |
---|---|
void |
Or.add(RequestPredicate predicate)
Add a child predicate.
|
void |
And.add(RequestPredicate predicate)
Add a child predicate.
|
void |
NotAnd.add(RequestPredicate predicate)
Add a child predicate.
|
void |
NotOr.add(RequestPredicate predicate)
Add a child predicate.
|
void |
AbstractRegexpDispatchRule.add(RequestPredicate predicate) |
void |
Not.add(RequestPredicate predicate)
Add a child predicate.
|
void |
AbstractRewriteFilter.add(RequestPredicate predicate) |
Constructor and Description |
---|
Not(RequestPredicate predicate) |
Modifier and Type | Method and Description |
---|---|
protected java.util.ArrayList<RequestPredicate> |
Allow.getPredicateList() |
Modifier and Type | Method and Description |
---|---|
void |
Deny.add(RequestPredicate predicate)
Adds a match
|
void |
Allow.add(RequestPredicate predicate)
Adds a match
|
Constructor and Description |
---|
MatchFilterChain(RequestPredicate[] predicates,
FilterChain passChain,
FilterChain failChain) |