Package org.microproxy.http
Class HttpHeaderNames
java.lang.Object
org.microproxy.http.HttpHeaderNames
Common header names. Header lookups in
HttpHeaders are case-insensitive.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringTheAccept-Encodingheader field name.static final StringTheConnectionheader field name.static final StringTheContent-Encodingheader field name.static final StringTheContent-Lengthheader field name.static final StringTheContent-Typeheader field name.static final StringTheDateheader field name.static final StringTheExpectheader field name.static final StringTheHostheader field name.static final StringTheKeep-Aliveheader field name.static final StringTheLocationheader field name.static final StringTheProxy-Authenticateheader field name.static final StringTheProxy-Authorizationheader field name.static final StringTheProxy-Connectionheader field name.static final StringTheSec-WebSocket-Extensionsheader field name.static final StringTheSec-WebSocket-Keyheader field name.static final StringTheTEheader field name.Distributed tracing headers: W3C Trace Context and Baggage, B3 (single and multiple header forms), and the trace headers of other common tracing systems (uber-trace-id,X-Amzn-Trace-Id,X-Cloud-Trace-Context, gRPC'sgrpc-trace-bin,sentry-trace).static final StringTheTrailerheader field name.static final StringTheTransfer-Encodingheader field name.static final StringTheUpgradeheader field name.static final StringTheUser-Agentheader field name.static final StringTheViaheader field name. -
Method Summary
-
Field Details
-
ACCEPT_ENCODING
TheAccept-Encodingheader field name.- See Also:
-
CONNECTION
TheConnectionheader field name.- See Also:
-
CONTENT_ENCODING
TheContent-Encodingheader field name.- See Also:
-
CONTENT_LENGTH
TheContent-Lengthheader field name.- See Also:
-
CONTENT_TYPE
TheContent-Typeheader field name.- See Also:
-
DATE
TheDateheader field name.- See Also:
-
EXPECT
TheExpectheader field name.- See Also:
-
HOST
TheHostheader field name.- See Also:
-
KEEP_ALIVE
TheKeep-Aliveheader field name.- See Also:
-
LOCATION
TheLocationheader field name.- See Also:
-
PROXY_AUTHENTICATE
TheProxy-Authenticateheader field name.- See Also:
-
PROXY_AUTHORIZATION
TheProxy-Authorizationheader field name.- See Also:
-
PROXY_CONNECTION
TheProxy-Connectionheader field name.- See Also:
-
SEC_WEBSOCKET_EXTENSIONS
TheSec-WebSocket-Extensionsheader field name.- See Also:
-
SEC_WEBSOCKET_KEY
TheSec-WebSocket-Keyheader field name.- See Also:
-
TE
TheTEheader field name.- See Also:
-
TRAILER
TheTrailerheader field name.- See Also:
-
TRANSFER_ENCODING
TheTransfer-Encodingheader field name.- See Also:
-
UPGRADE
TheUpgradeheader field name.- See Also:
-
USER_AGENT
TheUser-Agentheader field name.- See Also:
-
VIA
TheViaheader field name.- See Also:
-
TRACING_HEADERS
Distributed tracing headers: W3C Trace Context and Baggage, B3 (single and multiple header forms), and the trace headers of other common tracing systems (uber-trace-id,X-Amzn-Trace-Id,X-Cloud-Trace-Context, gRPC'sgrpc-trace-bin,sentry-trace).HttpProxyServerBootstrap.withoutTracingHeadersUpstream()removes them from requests sent upstream.X-Request-Idis not among them: it is often wanted by the server, and can be added withHttpProxyServerBootstrap.plusStrippedRequestHeaders(String...).
-