public class ForwardedSchemeHeaderRule extends HeaderRule
_handling, _terminating
Constructor and Description |
---|
ForwardedSchemeHeaderRule() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
apply(java.lang.String target,
java.lang.String value,
HttpServletRequest request,
HttpServletResponse response)
Apply the rule to the request
|
java.lang.String |
getScheme() |
void |
setScheme(java.lang.String scheme) |
getHeader, getHeaderValue, matchAndApply, setHeader, setHeaderValue, toString
isHandling, isTerminating, setHandling, setTerminating
public java.lang.String getScheme()
public void setScheme(java.lang.String scheme)
scheme
- the scheme to set on the request. Defaults to "https"protected java.lang.String apply(java.lang.String target, java.lang.String value, HttpServletRequest request, HttpServletResponse response)
HeaderRule
apply
in class HeaderRule
target
- field to attempt matchvalue
- header value foundrequest
- request objectresponse
- response objectCopyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.