Uses of Class
io.netty.handler.codec.http.HttpHeaders
Packages that use HttpHeaders
Package
Description
Encoder, decoder and their related message types for HTTP.
This package contains Cross Origin Resource Sharing (CORS) related classes.
HTTP multipart support.
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
Encoder, decoder, handshakers to handle
WebSocket Extensions.
Handlers for sending and receiving HTTP/2 frames.
Adds support for client connections via proxy protocols such as
SOCKS and
HTTP CONNECT tunneling
-
Uses of HttpHeaders in io.netty.handler.codec.http
Subclasses of HttpHeaders in io.netty.handler.codec.httpModifier and TypeClassDescriptionclass
Will add multiple values for the same header as single header with a comma separated list of values.class
Default implementation ofHttpHeaders
.class
final class
A variant ofHttpHeaders
which only supports read-only methods.Fields in io.netty.handler.codec.http declared as HttpHeadersModifier and TypeFieldDescriptionstatic final HttpHeaders
HttpHeaders.EMPTY_HEADERS
Deprecated.private final HttpHeaders
DefaultHttpMessage.headers
private final HttpHeaders
DefaultFullHttpRequest.trailingHeader
private final HttpHeaders
ComposedLastHttpContent.trailingHeaders
private final HttpHeaders
DefaultFullHttpResponse.trailingHeaders
private final HttpHeaders
DefaultLastHttpContent.trailingHeaders
private HttpHeaders
HttpObjectAggregator.AggregatedFullHttpMessage.trailingHeaders
Methods in io.netty.handler.codec.http that return HttpHeadersModifier and TypeMethodDescriptionDefaultHttpHeaders.add
(HttpHeaders headers) DefaultHttpHeaders.add
(CharSequence name, Iterable<?> values) DefaultHttpHeaders.add
(CharSequence name, Object value) HttpHeaders.add
(HttpHeaders headers) Adds all header entries of the specifiedheaders
.HttpHeaders.add
(CharSequence name, Iterable<?> values) Adds a new header with the specified name and values.HttpHeaders.add
(CharSequence name, Object value) Adds a new header with the specified name and value.abstract HttpHeaders
abstract HttpHeaders
DefaultHttpHeaders.addInt
(CharSequence name, int value) EmptyHttpHeaders.addInt
(CharSequence name, int value) abstract HttpHeaders
HttpHeaders.addInt
(CharSequence name, int value) Add thename
tovalue
.ReadOnlyHttpHeaders.addInt
(CharSequence name, int value) DefaultHttpHeaders.addShort
(CharSequence name, short value) EmptyHttpHeaders.addShort
(CharSequence name, short value) abstract HttpHeaders
HttpHeaders.addShort
(CharSequence name, short value) Add thename
tovalue
.ReadOnlyHttpHeaders.addShort
(CharSequence name, short value) DefaultHttpHeaders.clear()
EmptyHttpHeaders.clear()
abstract HttpHeaders
HttpHeaders.clear()
Removes all headers from thisHttpMessage
.ReadOnlyHttpHeaders.clear()
DefaultHttpHeaders.copy()
HttpHeaders.copy()
Returns a deep copy of the passed inHttpHeaders
.DefaultHttpMessage.headers()
HttpMessage.headers()
Returns the headers of this message.HttpObjectAggregator.AggregatedFullHttpMessage.headers()
DefaultHttpHeadersFactory.newEmptyHeaders()
HttpHeadersFactory.newEmptyHeaders()
Create a newHttpHeaders
instance, but sized to be as small an object as possible.DefaultHttpHeadersFactory.newHeaders()
HttpHeadersFactory.newHeaders()
Create a newHttpHeaders
instance.DefaultHttpHeaders.remove
(CharSequence name) HttpHeaders.remove
(CharSequence name) Removes the header with the specified name.abstract HttpHeaders
DefaultHttpHeaders.set
(HttpHeaders headers) DefaultHttpHeaders.set
(CharSequence name, Iterable<?> values) DefaultHttpHeaders.set
(CharSequence name, Object value) HttpHeaders.set
(HttpHeaders headers) Cleans the current header entries and copies all header entries of the specifiedheaders
.HttpHeaders.set
(CharSequence name, Iterable<?> values) Sets a header with the specified name and values.HttpHeaders.set
(CharSequence name, Object value) Sets a header with the specified name and value.abstract HttpHeaders
abstract HttpHeaders
HttpHeaders.setAll
(HttpHeaders headers) Retains all current headers but callsset(String, Object)
for each entry inheaders
DefaultHttpHeaders.setInt
(CharSequence name, int value) EmptyHttpHeaders.setInt
(CharSequence name, int value) abstract HttpHeaders
HttpHeaders.setInt
(CharSequence name, int value) Set thename
tovalue
.ReadOnlyHttpHeaders.setInt
(CharSequence name, int value) DefaultHttpHeaders.setShort
(CharSequence name, short value) EmptyHttpHeaders.setShort
(CharSequence name, short value) abstract HttpHeaders
HttpHeaders.setShort
(CharSequence name, short value) Set thename
tovalue
.ReadOnlyHttpHeaders.setShort
(CharSequence name, short value) ComposedLastHttpContent.trailingHeaders()
DefaultFullHttpRequest.trailingHeaders()
DefaultFullHttpResponse.trailingHeaders()
DefaultLastHttpContent.trailingHeaders()
HttpObjectAggregator.AggregatedFullHttpMessage.trailingHeaders()
LastHttpContent.trailingHeaders()
Methods in io.netty.handler.codec.http with parameters of type HttpHeadersModifier and TypeMethodDescriptionDefaultHttpHeaders.add
(HttpHeaders headers) HttpHeaders.add
(HttpHeaders headers) Adds all header entries of the specifiedheaders
.private static void
HttpMessageUtil.appendHeaders
(StringBuilder buf, HttpHeaders headers) private void
HttpObjectEncoder.encodeByteBufAndTrailers
(int state, ChannelHandlerContext ctx, List<Object> out, ByteBuf content, HttpHeaders trailingHeaders) private void
HttpObjectEncoder.encodeByteBufHttpContent
(int state, ChannelHandlerContext ctx, ByteBuf buf, ByteBuf content, HttpHeaders trailingHeaders, List<Object> out) private void
HttpObjectEncoder.encodeChunkedHttpContent
(ChannelHandlerContext ctx, ByteBuf content, HttpHeaders trailingHeaders, List<Object> out) protected void
HttpObjectEncoder.encodeHeaders
(HttpHeaders headers, ByteBuf buf) Encode theHttpHeaders
into aByteBuf
.private void
HttpObjectEncoder.encodeTrailingHeaders
(ChannelHandlerContext ctx, HttpHeaders trailingHeaders, List<Object> out) boolean
HttpServerUpgradeHandler.UpgradeCodec.prepareUpgradeResponse
(ChannelHandlerContext ctx, FullHttpRequest upgradeRequest, HttpHeaders upgradeHeaders) Prepares theupgradeHeaders
for a protocol update based upon the contents ofupgradeRequest
.DefaultHttpHeaders.set
(HttpHeaders headers) HttpHeaders.set
(HttpHeaders headers) Cleans the current header entries and copies all header entries of the specifiedheaders
.HttpHeaders.setAll
(HttpHeaders headers) Retains all current headers but callsset(String, Object)
for each entry inheaders
static void
HttpUtil.setKeepAlive
(HttpHeaders h, HttpVersion httpVersion, boolean keepAlive) Sets the value of the"Connection"
header depending on the protocol version of the specified message.(package private) void
HttpObjectAggregator.AggregatedFullHttpMessage.setTrailingHeaders
(HttpHeaders trailingHeaders) Constructors in io.netty.handler.codec.http with parameters of type HttpHeadersModifierConstructorDescription(package private)
AggregatedFullHttpMessage
(HttpMessage message, ByteBuf content, HttpHeaders trailingHeaders) (package private)
AggregatedFullHttpRequest
(HttpRequest request, ByteBuf content, HttpHeaders trailingHeaders) (package private)
AggregatedFullHttpResponse
(HttpResponse message, ByteBuf content, HttpHeaders trailingHeaders) (package private)
ComposedLastHttpContent
(HttpHeaders trailingHeaders) (package private)
ComposedLastHttpContent
(HttpHeaders trailingHeaders, DecoderResult result) DefaultFullHttpRequest
(HttpVersion httpVersion, HttpMethod method, String uri, ByteBuf content, HttpHeaders headers, HttpHeaders trailingHeader) Create a full HTTP response with the given HTTP version, method, URI, contents, and header and trailer objects.DefaultFullHttpResponse
(HttpVersion version, HttpResponseStatus status, ByteBuf content, HttpHeaders headers, HttpHeaders trailingHeaders) Create an HTTP response with the given HTTP version, status, contents, headers and trailers.protected
DefaultHttpMessage
(HttpVersion version, HttpHeaders headers) Creates a new instance.DefaultHttpRequest
(HttpVersion httpVersion, HttpMethod method, String uri, HttpHeaders headers) Creates a new instance.DefaultHttpResponse
(HttpVersion version, HttpResponseStatus status, HttpHeaders headers) Creates a new instance.DefaultLastHttpContent
(ByteBuf content, HttpHeaders trailingHeaders) Create a new last HTTP content message with the given contents, and trailing headers. -
Uses of HttpHeaders in io.netty.handler.codec.http.cors
Methods in io.netty.handler.codec.http.cors that return HttpHeadersModifier and TypeMethodDescriptionCorsConfig.preflightResponseHeaders()
Returns HTTP response headers that should be added to a CORS preflight response. -
Uses of HttpHeaders in io.netty.handler.codec.http.multipart
Methods in io.netty.handler.codec.http.multipart that return HttpHeadersModifier and TypeMethodDescriptionHttpPostRequestEncoder.WrappedHttpRequest.headers()
HttpPostRequestEncoder.WrappedFullHttpRequest.trailingHeaders()
-
Uses of HttpHeaders in io.netty.handler.codec.http.websocketx
Fields in io.netty.handler.codec.http.websocketx declared as HttpHeadersModifier and TypeFieldDescriptionprotected final HttpHeaders
WebSocketClientHandshaker.customHeaders
private HttpHeaders
WebSocketClientProtocolConfig.Builder.customHeaders
private final HttpHeaders
WebSocketClientProtocolConfig.customHeaders
private final HttpHeaders
WebSocketServerProtocolHandler.HandshakeComplete.requestHeaders
Methods in io.netty.handler.codec.http.websocketx that return HttpHeadersModifier and TypeMethodDescriptionWebSocketClientProtocolConfig.customHeaders()
WebSocketServerProtocolHandler.HandshakeComplete.requestHeaders()
Methods in io.netty.handler.codec.http.websocketx with parameters of type HttpHeadersModifier and TypeMethodDescriptionWebSocketClientProtocolConfig.Builder.customHeaders
(HttpHeaders customHeaders) Map of custom headers to add to the client requestfinal ChannelFuture
WebSocketServerHandshaker.handshake
(Channel channel, FullHttpRequest req, HttpHeaders responseHeaders, ChannelPromise promise) Performs the opening handshake When call this method you MUST NOT retain theFullHttpRequest
which is passed in.final ChannelFuture
WebSocketServerHandshaker.handshake
(Channel channel, HttpRequest req, HttpHeaders responseHeaders, ChannelPromise promise) Performs the opening handshake When call this method you MUST NOT retain theHttpRequest
which is passed in.static WebSocketClientHandshaker
WebSocketClientHandshakerFactory.newHandshaker
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders) Creates a new handshaker.static WebSocketClientHandshaker
WebSocketClientHandshakerFactory.newHandshaker
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength) Creates a new handshaker.static WebSocketClientHandshaker
WebSocketClientHandshakerFactory.newHandshaker
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch) Creates a new handshaker.static WebSocketClientHandshaker
WebSocketClientHandshakerFactory.newHandshaker
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis) Creates a new handshaker.static WebSocketClientHandshaker
WebSocketClientHandshakerFactory.newHandshaker
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl) Creates a new handshaker.static WebSocketClientHandshaker
WebSocketClientHandshakerFactory.newHandshaker
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl, boolean generateOriginHeader) Creates a new handshaker.protected abstract FullHttpResponse
WebSocketServerHandshaker.newHandshakeResponse
(FullHttpRequest req, HttpHeaders responseHeaders) Returns a newinvalid @link
{@link FullHttpResponse) which will be used for as response to the handshake request.
protected FullHttpResponse
WebSocketServerHandshaker00.newHandshakeResponse
(FullHttpRequest req, HttpHeaders headers) Handle the web socket handshake for the web socket specification HyBi version 0 and lower.protected FullHttpResponse
WebSocketServerHandshaker07.newHandshakeResponse
(FullHttpRequest req, HttpHeaders headers) Handle the web socket handshake for the web socket specification HyBi version 7.protected FullHttpResponse
WebSocketServerHandshaker08.newHandshakeResponse
(FullHttpRequest req, HttpHeaders headers) Handle the web socket handshake for the web socket specification HyBi version 8 to 10.protected FullHttpResponse
WebSocketServerHandshaker13.newHandshakeResponse
(FullHttpRequest req, HttpHeaders headers) Handle the web socket handshake for the web socket specification HyBi versions 13-17.Constructors in io.netty.handler.codec.http.websocketx with parameters of type HttpHeadersModifierConstructorDescriptionprivate
Builder
(URI webSocketUri, String subprotocol, WebSocketVersion version, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, boolean handleCloseFrames, WebSocketCloseStatus sendCloseFrame, boolean dropPongFrames, long handshakeTimeoutMillis, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl, boolean generateOriginHeader, boolean withUTF8Validator) HandshakeComplete
(String requestUri, HttpHeaders requestHeaders, String selectedSubprotocol) protected
WebSocketClientHandshaker
(URI uri, WebSocketVersion version, String subprotocol, HttpHeaders customHeaders, int maxFramePayloadLength) Base constructorprotected
WebSocketClientHandshaker
(URI uri, WebSocketVersion version, String subprotocol, HttpHeaders customHeaders, int maxFramePayloadLength, long forceCloseTimeoutMillis) Base constructorprotected
WebSocketClientHandshaker
(URI uri, WebSocketVersion version, String subprotocol, HttpHeaders customHeaders, int maxFramePayloadLength, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl) Base constructorprotected
WebSocketClientHandshaker
(URI uri, WebSocketVersion version, String subprotocol, HttpHeaders customHeaders, int maxFramePayloadLength, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl, boolean generateOriginHeader) Base constructorWebSocketClientHandshaker00
(URI webSocketURL, WebSocketVersion version, String subprotocol, HttpHeaders customHeaders, int maxFramePayloadLength) Creates a new instance with the specified destination WebSocket location and version to initiate.WebSocketClientHandshaker00
(URI webSocketURL, WebSocketVersion version, String subprotocol, HttpHeaders customHeaders, int maxFramePayloadLength, long forceCloseTimeoutMillis) Creates a new instance with the specified destination WebSocket location and version to initiate.(package private)
WebSocketClientHandshaker00
(URI webSocketURL, WebSocketVersion version, String subprotocol, HttpHeaders customHeaders, int maxFramePayloadLength, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl) Creates a new instance with the specified destination WebSocket location and version to initiate.(package private)
WebSocketClientHandshaker00
(URI webSocketURL, WebSocketVersion version, String subprotocol, HttpHeaders customHeaders, int maxFramePayloadLength, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl, boolean generateOriginHeader) Creates a new instance with the specified destination WebSocket location and version to initiate.WebSocketClientHandshaker07
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength) Creates a new instance.WebSocketClientHandshaker07
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch) Creates a new instance.WebSocketClientHandshaker07
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis) Creates a new instance.(package private)
WebSocketClientHandshaker07
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl) Creates a new instance.(package private)
WebSocketClientHandshaker07
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl, boolean generateOriginHeader) Creates a new instance.WebSocketClientHandshaker08
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength) Creates a new instance.WebSocketClientHandshaker08
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch) Creates a new instance.WebSocketClientHandshaker08
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis) Creates a new instance.(package private)
WebSocketClientHandshaker08
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl) Creates a new instance.(package private)
WebSocketClientHandshaker08
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl, boolean generateOriginHeader) Creates a new instance.WebSocketClientHandshaker13
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength) Creates a new instance.WebSocketClientHandshaker13
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch) Creates a new instance.WebSocketClientHandshaker13
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis) Creates a new instance.(package private)
WebSocketClientHandshaker13
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl) Creates a new instance.(package private)
WebSocketClientHandshaker13
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl, boolean generateOriginHeader) Creates a new instance.private
WebSocketClientProtocolConfig
(URI webSocketUri, String subprotocol, WebSocketVersion version, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, boolean handleCloseFrames, WebSocketCloseStatus sendCloseFrame, boolean dropPongFrames, long handshakeTimeoutMillis, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl, boolean generateOriginHeader, boolean withUTF8Validator) WebSocketClientProtocolHandler
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength) Base constructorWebSocketClientProtocolHandler
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean handleCloseFrames) Base constructorWebSocketClientProtocolHandler
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean handleCloseFrames, boolean performMasking, boolean allowMaskMismatch) Base constructorWebSocketClientProtocolHandler
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean handleCloseFrames, boolean performMasking, boolean allowMaskMismatch, long handshakeTimeoutMillis) Base constructorWebSocketClientProtocolHandler
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean handleCloseFrames, long handshakeTimeoutMillis) Base constructorWebSocketClientProtocolHandler
(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, long handshakeTimeoutMillis) Base constructor -
Uses of HttpHeaders in io.netty.handler.codec.http.websocketx.extensions
Methods in io.netty.handler.codec.http.websocketx.extensions with parameters of type HttpHeadersModifier and TypeMethodDescription(package private) static boolean
WebSocketExtensionUtil.isWebsocketUpgrade
(HttpHeaders headers) -
Uses of HttpHeaders in io.netty.handler.codec.http2
Fields in io.netty.handler.codec.http2 declared as HttpHeadersModifier and TypeFieldDescriptionprivate final HttpHeaders
HttpConversionUtil.Http2ToHttpHeaderTranslator.output
Methods in io.netty.handler.codec.http2 with parameters of type HttpHeadersModifier and TypeMethodDescriptionstatic void
HttpConversionUtil.addHttp2ToHttpHeaders
(int streamId, Http2Headers inputHeaders, HttpHeaders outputHeaders, HttpVersion httpVersion, boolean isTrailer, boolean isRequest) Translate and add HTTP/2 headers to HTTP/1.x headers.private int
HttpToHttp2ConnectionHandler.getStreamId
(HttpHeaders httpHeaders) Get the next stream id either from theHttpHeaders
object or HTTP/2 codecprivate static int
InboundHttpToHttp2Adapter.getStreamId
(Http2Connection connection, HttpHeaders httpHeaders) boolean
Http2ServerUpgradeCodec.prepareUpgradeResponse
(ChannelHandlerContext ctx, FullHttpRequest upgradeRequest, HttpHeaders headers) private static void
HttpConversionUtil.setHttp2Scheme
(HttpHeaders in, Http2Headers out) private static void
HttpConversionUtil.setHttp2Scheme
(HttpHeaders in, URI uri, Http2Headers out) static Http2Headers
HttpConversionUtil.toHttp2Headers
(HttpHeaders inHeaders, boolean validateHeaders) static void
HttpConversionUtil.toHttp2Headers
(HttpHeaders inHeaders, Http2Headers out) private static void
HttpToHttp2ConnectionHandler.writeHeaders
(ChannelHandlerContext ctx, Http2ConnectionEncoder encoder, int streamId, HttpHeaders headers, Http2Headers http2Headers, boolean endStream, Http2CodecUtil.SimpleChannelPromiseAggregator promiseAggregator) Constructors in io.netty.handler.codec.http2 with parameters of type HttpHeadersModifierConstructorDescription(package private)
Http2ToHttpHeaderTranslator
(int streamId, HttpHeaders output, boolean request) Create a new instance -
Uses of HttpHeaders in io.netty.handler.proxy
Fields in io.netty.handler.proxy declared as HttpHeadersModifier and TypeFieldDescriptionprivate final HttpHeaders
HttpProxyHandler.HttpProxyConnectException.headers
private HttpHeaders
HttpProxyHandler.inboundHeaders
private final HttpHeaders
HttpProxyHandler.outboundHeaders
Methods in io.netty.handler.proxy that return HttpHeadersModifier and TypeMethodDescriptionHttpProxyHandler.HttpProxyConnectException.headers()
Returns headers, if any.Constructors in io.netty.handler.proxy with parameters of type HttpHeadersModifierConstructorDescriptionHttpProxyConnectException
(String message, HttpHeaders headers) HttpProxyHandler
(SocketAddress proxyAddress, HttpHeaders headers) HttpProxyHandler
(SocketAddress proxyAddress, HttpHeaders headers, boolean ignoreDefaultPortsInConnectHostHeader) HttpProxyHandler
(SocketAddress proxyAddress, String username, String password, HttpHeaders headers) HttpProxyHandler
(SocketAddress proxyAddress, String username, String password, HttpHeaders headers, boolean ignoreDefaultPortsInConnectHostHeader)
EmptyHttpHeaders.INSTANCE
.