Class ForwardedSchemeHeaderRule
java.lang.Object
org.eclipse.jetty.rewrite.handler.Rule
org.eclipse.jetty.rewrite.handler.HeaderRule
org.eclipse.jetty.rewrite.handler.ForwardedSchemeHeaderRule
Sets the request URI scheme, by default https
.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.rewrite.handler.Rule
Rule.Handler, Rule.HttpURIHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Rule.Handler
apply
(Rule.Handler input, String value) Invoked after the header matched theRequest
headers to apply the rule's logic.void
Methods inherited from class org.eclipse.jetty.rewrite.handler.HeaderRule
getHeaderName, getHeaderValue, matchAndApply, setHeaderName, setHeaderValue, toString
Methods inherited from class org.eclipse.jetty.rewrite.handler.Rule
isTerminating, setTerminating
-
Constructor Details
-
ForwardedSchemeHeaderRule
public ForwardedSchemeHeaderRule()
-
-
Method Details
-
getScheme
-
setScheme
-
apply
Description copied from class:HeaderRule
Invoked after the header matched the
Request
headers to apply the rule's logic.- Specified by:
apply
in classHeaderRule
- Parameters:
input
- the inputRequest
andHandler
value
- the header value- Returns:
- the possibly wrapped
Request
andHandler
-