Uses of Class
io.netty.handler.codec.http.HttpHeaders
-
Packages that use HttpHeaders Package Description io.netty.handler.codec.http Encoder, decoder and their related message types for HTTP.io.netty.handler.codec.http.cors This package contains Cross Origin Resource Sharing (CORS) related classes.io.netty.handler.codec.http.multipart HTTP multipart support.io.netty.handler.codec.http.websocketx Encoder, decoder, handshakers and their related message types for Web Socket data frames.io.netty.handler.codec.http.websocketx.extensions Encoder, decoder, handshakers to handle WebSocket Extensions.io.netty.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames.io.netty.handler.proxy 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.http Modifier and Type Class Description classCombinedHttpHeadersWill add multiple values for the same header as single header with a comma separated list of values.classDefaultHttpHeadersDefault implementation ofHttpHeaders.private static classDefaultLastHttpContent.TrailingHttpHeadersclassEmptyHttpHeadersclassReadOnlyHttpHeadersA variant ofHttpHeaderswhich only supports read-only methods.Fields in io.netty.handler.codec.http declared as HttpHeaders Modifier and Type Field Description static HttpHeadersHttpHeaders. EMPTY_HEADERSDeprecated.private HttpHeadersDefaultHttpMessage. headersprivate HttpHeadersDefaultFullHttpRequest. trailingHeaderprivate HttpHeadersComposedLastHttpContent. trailingHeadersprivate HttpHeadersDefaultFullHttpResponse. trailingHeadersprivate HttpHeadersDefaultLastHttpContent. trailingHeadersprivate HttpHeadersHttpObjectAggregator.AggregatedFullHttpMessage. trailingHeadersMethods in io.netty.handler.codec.http that return HttpHeaders Modifier and Type Method Description HttpHeadersDefaultHttpHeaders. add(HttpHeaders headers)HttpHeadersDefaultHttpHeaders. add(java.lang.CharSequence name, java.lang.Iterable<?> values)HttpHeadersDefaultHttpHeaders. add(java.lang.CharSequence name, java.lang.Object value)HttpHeadersDefaultHttpHeaders. add(java.lang.String name, java.lang.Iterable<?> values)HttpHeadersDefaultHttpHeaders. add(java.lang.String name, java.lang.Object value)HttpHeadersEmptyHttpHeaders. add(java.lang.String name, java.lang.Iterable<?> values)HttpHeadersEmptyHttpHeaders. add(java.lang.String name, java.lang.Object value)HttpHeadersHttpHeaders. add(HttpHeaders headers)Adds all header entries of the specifiedheaders.HttpHeadersHttpHeaders. add(java.lang.CharSequence name, java.lang.Iterable<?> values)Adds a new header with the specified name and values.HttpHeadersHttpHeaders. add(java.lang.CharSequence name, java.lang.Object value)Adds a new header with the specified name and value.abstract HttpHeadersHttpHeaders. add(java.lang.String name, java.lang.Iterable<?> values)abstract HttpHeadersHttpHeaders. add(java.lang.String name, java.lang.Object value)HttpHeadersReadOnlyHttpHeaders. add(java.lang.String name, java.lang.Iterable<?> values)HttpHeadersReadOnlyHttpHeaders. add(java.lang.String name, java.lang.Object value)HttpHeadersDefaultHttpHeaders. addInt(java.lang.CharSequence name, int value)HttpHeadersEmptyHttpHeaders. addInt(java.lang.CharSequence name, int value)abstract HttpHeadersHttpHeaders. addInt(java.lang.CharSequence name, int value)Add thenametovalue.HttpHeadersReadOnlyHttpHeaders. addInt(java.lang.CharSequence name, int value)HttpHeadersDefaultHttpHeaders. addShort(java.lang.CharSequence name, short value)HttpHeadersEmptyHttpHeaders. addShort(java.lang.CharSequence name, short value)abstract HttpHeadersHttpHeaders. addShort(java.lang.CharSequence name, short value)Add thenametovalue.HttpHeadersReadOnlyHttpHeaders. addShort(java.lang.CharSequence name, short value)HttpHeadersDefaultHttpHeaders. clear()HttpHeadersEmptyHttpHeaders. clear()abstract HttpHeadersHttpHeaders. clear()Removes all headers from thisHttpMessage.HttpHeadersReadOnlyHttpHeaders. clear()HttpHeadersDefaultHttpHeaders. copy()HttpHeadersHttpHeaders. copy()Returns a deep copy of the passed inHttpHeaders.HttpHeadersDefaultHttpMessage. headers()HttpHeadersHttpMessage. headers()Returns the headers of this message.HttpHeadersHttpObjectAggregator.AggregatedFullHttpMessage. headers()HttpHeadersDefaultHttpHeaders. remove(java.lang.CharSequence name)HttpHeadersDefaultHttpHeaders. remove(java.lang.String name)HttpHeadersEmptyHttpHeaders. remove(java.lang.String name)HttpHeadersHttpHeaders. remove(java.lang.CharSequence name)Removes the header with the specified name.abstract HttpHeadersHttpHeaders. remove(java.lang.String name)HttpHeadersReadOnlyHttpHeaders. remove(java.lang.String name)HttpHeadersDefaultHttpHeaders. set(HttpHeaders headers)HttpHeadersDefaultHttpHeaders. set(java.lang.CharSequence name, java.lang.Iterable<?> values)HttpHeadersDefaultHttpHeaders. set(java.lang.CharSequence name, java.lang.Object value)HttpHeadersDefaultHttpHeaders. set(java.lang.String name, java.lang.Iterable<?> values)HttpHeadersDefaultHttpHeaders. set(java.lang.String name, java.lang.Object value)HttpHeadersEmptyHttpHeaders. set(java.lang.String name, java.lang.Iterable<?> values)HttpHeadersEmptyHttpHeaders. set(java.lang.String name, java.lang.Object value)HttpHeadersHttpHeaders. set(HttpHeaders headers)Cleans the current header entries and copies all header entries of the specifiedheaders.HttpHeadersHttpHeaders. set(java.lang.CharSequence name, java.lang.Iterable<?> values)Sets a header with the specified name and values.HttpHeadersHttpHeaders. set(java.lang.CharSequence name, java.lang.Object value)Sets a header with the specified name and value.abstract HttpHeadersHttpHeaders. set(java.lang.String name, java.lang.Iterable<?> values)abstract HttpHeadersHttpHeaders. set(java.lang.String name, java.lang.Object value)HttpHeadersReadOnlyHttpHeaders. set(java.lang.String name, java.lang.Iterable<?> values)HttpHeadersReadOnlyHttpHeaders. set(java.lang.String name, java.lang.Object value)HttpHeadersHttpHeaders. setAll(HttpHeaders headers)Retains all current headers but callsset(String, Object)for each entry inheadersHttpHeadersDefaultHttpHeaders. setInt(java.lang.CharSequence name, int value)HttpHeadersEmptyHttpHeaders. setInt(java.lang.CharSequence name, int value)abstract HttpHeadersHttpHeaders. setInt(java.lang.CharSequence name, int value)Set thenametovalue.HttpHeadersReadOnlyHttpHeaders. setInt(java.lang.CharSequence name, int value)HttpHeadersDefaultHttpHeaders. setShort(java.lang.CharSequence name, short value)HttpHeadersEmptyHttpHeaders. setShort(java.lang.CharSequence name, short value)abstract HttpHeadersHttpHeaders. setShort(java.lang.CharSequence name, short value)Set thenametovalue.HttpHeadersReadOnlyHttpHeaders. setShort(java.lang.CharSequence name, short value)HttpHeadersComposedLastHttpContent. trailingHeaders()HttpHeadersDefaultFullHttpRequest. trailingHeaders()HttpHeadersDefaultFullHttpResponse. trailingHeaders()HttpHeadersDefaultLastHttpContent. trailingHeaders()HttpHeadersHttpObjectAggregator.AggregatedFullHttpMessage. trailingHeaders()HttpHeadersLastHttpContent. trailingHeaders()Methods in io.netty.handler.codec.http with parameters of type HttpHeaders Modifier and Type Method Description HttpHeadersDefaultHttpHeaders. add(HttpHeaders headers)HttpHeadersHttpHeaders. add(HttpHeaders headers)Adds all header entries of the specifiedheaders.private static voidHttpMessageUtil. appendHeaders(java.lang.StringBuilder buf, HttpHeaders headers)protected voidHttpObjectEncoder. encodeHeaders(HttpHeaders headers, ByteBuf buf)Encode theHttpHeadersinto aByteBuf.booleanHttpServerUpgradeHandler.UpgradeCodec. prepareUpgradeResponse(ChannelHandlerContext ctx, FullHttpRequest upgradeRequest, HttpHeaders upgradeHeaders)Prepares theupgradeHeadersfor a protocol update based upon the contents ofupgradeRequest.HttpHeadersDefaultHttpHeaders. set(HttpHeaders headers)HttpHeadersHttpHeaders. set(HttpHeaders headers)Cleans the current header entries and copies all header entries of the specifiedheaders.HttpHeadersHttpHeaders. setAll(HttpHeaders headers)Retains all current headers but callsset(String, Object)for each entry inheadersstatic voidHttpUtil. 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) voidHttpObjectAggregator.AggregatedFullHttpMessage. setTrailingHeaders(HttpHeaders trailingHeaders) -
Uses of HttpHeaders in io.netty.handler.codec.http.cors
Methods in io.netty.handler.codec.http.cors that return HttpHeaders Modifier and Type Method Description HttpHeadersCorsConfig. 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 HttpHeaders Modifier and Type Method Description HttpHeadersHttpPostRequestEncoder.WrappedHttpRequest. headers()HttpHeadersHttpPostRequestEncoder.WrappedFullHttpRequest. trailingHeaders() -
Uses of HttpHeaders in io.netty.handler.codec.http.websocketx
Fields in io.netty.handler.codec.http.websocketx declared as HttpHeaders Modifier and Type Field Description protected HttpHeadersWebSocketClientHandshaker. customHeadersprivate HttpHeadersWebSocketClientProtocolConfig.Builder. customHeadersprivate HttpHeadersWebSocketClientProtocolConfig. customHeadersprivate HttpHeadersWebSocketServerProtocolHandler.HandshakeComplete. requestHeadersMethods in io.netty.handler.codec.http.websocketx that return HttpHeaders Modifier and Type Method Description HttpHeadersWebSocketClientProtocolConfig. customHeaders()HttpHeadersWebSocketServerProtocolHandler.HandshakeComplete. requestHeaders()Methods in io.netty.handler.codec.http.websocketx with parameters of type HttpHeaders Modifier and Type Method Description WebSocketClientProtocolConfig.BuilderWebSocketClientProtocolConfig.Builder. customHeaders(HttpHeaders customHeaders)Map of custom headers to add to the client requestChannelFutureWebSocketServerHandshaker. handshake(Channel channel, FullHttpRequest req, HttpHeaders responseHeaders, ChannelPromise promise)Performs the opening handshake When call this method you MUST NOT retain theFullHttpRequestwhich is passed in.ChannelFutureWebSocketServerHandshaker. handshake(Channel channel, HttpRequest req, HttpHeaders responseHeaders, ChannelPromise promise)Performs the opening handshake When call this method you MUST NOT retain theHttpRequestwhich is passed in.static WebSocketClientHandshakerWebSocketClientHandshakerFactory. newHandshaker(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders)Creates a new handshaker.static WebSocketClientHandshakerWebSocketClientHandshakerFactory. newHandshaker(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength)Creates a new handshaker.static WebSocketClientHandshakerWebSocketClientHandshakerFactory. newHandshaker(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch)Creates a new handshaker.static WebSocketClientHandshakerWebSocketClientHandshakerFactory. newHandshaker(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis)Creates a new handshaker.static WebSocketClientHandshakerWebSocketClientHandshakerFactory. newHandshaker(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl)Creates a new handshaker.protected abstract FullHttpResponseWebSocketServerHandshaker. newHandshakeResponse(FullHttpRequest req, HttpHeaders responseHeaders)Returns a new {@link FullHttpResponse) which will be used for as response to the handshake request.protected FullHttpResponseWebSocketServerHandshaker00. newHandshakeResponse(FullHttpRequest req, HttpHeaders headers)Handle the web socket handshake for the web socket specification HyBi version 0 and lower.protected FullHttpResponseWebSocketServerHandshaker07. newHandshakeResponse(FullHttpRequest req, HttpHeaders headers)Handle the web socket handshake for the web socket specification HyBi version 7.protected FullHttpResponseWebSocketServerHandshaker08. newHandshakeResponse(FullHttpRequest req, HttpHeaders headers)Handle the web socket handshake for the web socket specification HyBi version 8 to 10.protected FullHttpResponseWebSocketServerHandshaker13. 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 HttpHeaders Constructor Description Builder(java.net.URI webSocketUri, java.lang.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)HandshakeComplete(java.lang.String requestUri, HttpHeaders requestHeaders, java.lang.String selectedSubprotocol)WebSocketClientHandshaker(java.net.URI uri, WebSocketVersion version, java.lang.String subprotocol, HttpHeaders customHeaders, int maxFramePayloadLength)Base constructorWebSocketClientHandshaker(java.net.URI uri, WebSocketVersion version, java.lang.String subprotocol, HttpHeaders customHeaders, int maxFramePayloadLength, long forceCloseTimeoutMillis)Base constructorWebSocketClientHandshaker(java.net.URI uri, WebSocketVersion version, java.lang.String subprotocol, HttpHeaders customHeaders, int maxFramePayloadLength, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl)Base constructorWebSocketClientHandshaker00(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, HttpHeaders customHeaders, int maxFramePayloadLength)Creates a new instance with the specified destination WebSocket location and version to initiate.WebSocketClientHandshaker00(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, HttpHeaders customHeaders, int maxFramePayloadLength, long forceCloseTimeoutMillis)Creates a new instance with the specified destination WebSocket location and version to initiate.WebSocketClientHandshaker00(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, HttpHeaders customHeaders, int maxFramePayloadLength, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl)Creates a new instance with the specified destination WebSocket location and version to initiate.WebSocketClientHandshaker07(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength)Creates a new instance.WebSocketClientHandshaker07(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch)Creates a new instance.WebSocketClientHandshaker07(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis)Creates a new instance.WebSocketClientHandshaker07(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl)Creates a new instance.WebSocketClientHandshaker08(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength)Creates a new instance.WebSocketClientHandshaker08(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch)Creates a new instance.WebSocketClientHandshaker08(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis)Creates a new instance.WebSocketClientHandshaker08(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl)Creates a new instance.WebSocketClientHandshaker13(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength)Creates a new instance.WebSocketClientHandshaker13(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch)Creates a new instance.WebSocketClientHandshaker13(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis)Creates a new instance.WebSocketClientHandshaker13(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking, boolean allowMaskMismatch, long forceCloseTimeoutMillis, boolean absoluteUpgradeUrl)Creates a new instance.WebSocketClientProtocolConfig(java.net.URI webSocketUri, java.lang.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)WebSocketClientProtocolHandler(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength)Base constructorWebSocketClientProtocolHandler(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean handleCloseFrames)Base constructorWebSocketClientProtocolHandler(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean handleCloseFrames, boolean performMasking, boolean allowMaskMismatch)Base constructorWebSocketClientProtocolHandler(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean handleCloseFrames, boolean performMasking, boolean allowMaskMismatch, long handshakeTimeoutMillis)Base constructorWebSocketClientProtocolHandler(java.net.URI webSocketURL, WebSocketVersion version, java.lang.String subprotocol, boolean allowExtensions, HttpHeaders customHeaders, int maxFramePayloadLength, boolean handleCloseFrames, long handshakeTimeoutMillis)Base constructorWebSocketClientProtocolHandler(java.net.URI webSocketURL, WebSocketVersion version, java.lang.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 HttpHeaders Modifier and Type Method Description (package private) static booleanWebSocketExtensionUtil. isWebsocketUpgrade(HttpHeaders headers) -
Uses of HttpHeaders in io.netty.handler.codec.http2
Fields in io.netty.handler.codec.http2 declared as HttpHeaders Modifier and Type Field Description private HttpHeadersHttpConversionUtil.Http2ToHttpHeaderTranslator. outputMethods in io.netty.handler.codec.http2 with parameters of type HttpHeaders Modifier and Type Method Description static voidHttpConversionUtil. 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 intHttpToHttp2ConnectionHandler. getStreamId(HttpHeaders httpHeaders)Get the next stream id either from theHttpHeadersobject or HTTP/2 codecprivate static intInboundHttpToHttp2Adapter. getStreamId(Http2Connection connection, HttpHeaders httpHeaders)booleanHttp2ServerUpgradeCodec. prepareUpgradeResponse(ChannelHandlerContext ctx, FullHttpRequest upgradeRequest, HttpHeaders headers)private static voidHttpConversionUtil. setHttp2Scheme(HttpHeaders in, java.net.URI uri, Http2Headers out)static Http2HeadersHttpConversionUtil. toHttp2Headers(HttpHeaders inHeaders, boolean validateHeaders)static voidHttpConversionUtil. toHttp2Headers(HttpHeaders inHeaders, Http2Headers out)private static voidHttpToHttp2ConnectionHandler. 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 HttpHeaders Constructor Description 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 HttpHeaders Modifier and Type Field Description private HttpHeadersHttpProxyHandler.HttpProxyConnectException. headersprivate HttpHeadersHttpProxyHandler. inboundHeadersprivate HttpHeadersHttpProxyHandler. outboundHeadersMethods in io.netty.handler.proxy that return HttpHeaders Modifier and Type Method Description HttpHeadersHttpProxyHandler.HttpProxyConnectException. headers()Returns headers, if any.Constructors in io.netty.handler.proxy with parameters of type HttpHeaders Constructor Description HttpProxyConnectException(java.lang.String message, HttpHeaders headers)HttpProxyHandler(java.net.SocketAddress proxyAddress, HttpHeaders headers)HttpProxyHandler(java.net.SocketAddress proxyAddress, HttpHeaders headers, boolean ignoreDefaultPortsInConnectHostHeader)HttpProxyHandler(java.net.SocketAddress proxyAddress, java.lang.String username, java.lang.String password, HttpHeaders headers)HttpProxyHandler(java.net.SocketAddress proxyAddress, java.lang.String username, java.lang.String password, HttpHeaders headers, boolean ignoreDefaultPortsInConnectHostHeader)
-