@Configurable public class IfProtocolVersion extends java.lang.Object implements RequestPredicate
<resin:Allow url-pattern="/admin/*">
xmlns:resin="urn:java:com.caucho.resin">
<resin:IfProtocolVersion value="ssl2|ssl3"/>
</resin:Allow>
RequestPredicates may be used for security and rewrite actions.
| Constructor and Description |
|---|
IfProtocolVersion() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMatch(HttpServletRequest request)
True if the predicate matches.
|
void |
setValue(java.util.regex.Pattern value)
Sets the secure value to test against.
|
@Configurable public void setValue(java.util.regex.Pattern value)
public boolean isMatch(HttpServletRequest request)
isMatch in interface RequestPredicaterequest - the servlet request to test