Package org.eclipse.jetty.server
Class ForwardedRequestCustomizer.Forwarded
java.lang.Object
org.eclipse.jetty.http.QuotedCSVParser
org.eclipse.jetty.server.ForwardedRequestCustomizer.Forwarded
- Enclosing class:
ForwardedRequestCustomizer
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) ForwardedRequestCustomizer.MutableHostPort(package private) HttpConfiguration(package private) ForwardedRequestCustomizer.MutableHostPort(package private) String(package private) ForwardedRequestCustomizer.Source(package private) Request(package private) Boolean(package private) booleanFields inherited from class org.eclipse.jetty.http.QuotedCSVParser
_keepQuotes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFor()voidhandleCipherSuite(HttpField field) Called if header isProxy-auth-certvoidhandleForwardedFor(HttpField field) Called if header isX-Forwarded-ForvoidhandleForwardedHost(HttpField field) Called if header isX-Forwarded-HostvoidhandleForwardedPort(HttpField field) Called if header isX-Forwarded-PortvoidhandleForwardedServer(HttpField field) Called if header isX-Forwarded-ServervoidhandleHttps(HttpField field) Called if header isX-Proxied-HttpsvoidhandleProto(HttpField field) Called if header isX-Forwarded-ProtovoidhandleRFC7239(HttpField field) Called if header isForwardedvoidhandleSslSessionId(HttpField field) Called if header isProxy-Ssl-IdbooleanhasFor()booleanisSecure()protected voidparsedParam(StringBuffer buffer, int valueLength, int paramName, int paramValue) Called when a parameter has been parsedprivate voidupdateAuthority(String value, ForwardedRequestCustomizer.Source source) private voidupdatePort(int port, ForwardedRequestCustomizer.Source source) private voidupdateProto(String proto, ForwardedRequestCustomizer.Source source) Methods inherited from class org.eclipse.jetty.http.QuotedCSVParser
addValue, parsedValue, parsedValueAndParams, unquote
-
Field Details
-
_config
HttpConfiguration _config -
_request
Request _request -
_authority
ForwardedRequestCustomizer.MutableHostPort _authority -
_for
-
_proto
String _proto -
_protoSource
ForwardedRequestCustomizer.Source _protoSource -
_secure
Boolean _secure -
_secureScheme
boolean _secureScheme
-
-
Constructor Details
-
Forwarded
-
-
Method Details
-
isSecure
public boolean isSecure() -
hasFor
public boolean hasFor() -
getAuthority
-
getFor
-
handleCipherSuite
Called if header isProxy-auth-cert -
handleSslSessionId
Called if header isProxy-Ssl-Id -
handleForwardedHost
Called if header isX-Forwarded-Host -
handleForwardedFor
Called if header isX-Forwarded-For -
handleForwardedServer
Called if header isX-Forwarded-Server -
handleForwardedPort
Called if header isX-Forwarded-Port -
handleProto
Called if header isX-Forwarded-Proto -
handleHttps
Called if header isX-Proxied-Https -
handleRFC7239
Called if header isForwarded -
parsedParam
Description copied from class:QuotedCSVParserCalled when a parameter has been parsed- Overrides:
parsedParamin classQuotedCSVParser- Parameters:
buffer- Containing the trimmed value and all parameters, which may be mutatedvalueLength- The length of the valueparamName- The index of the start of the parameter just parsedparamValue- The index of the start of the parameter value just parsed, or -1
-
updateAuthority
-
updatePort
-
updateProto
-