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