public class HttpsOriginalHostCaptureFilter extends HttpsHostCaptureFilter
HttpsAwareFiltersAdapter
filters. This filter sets the isHttps attribute on the ChannelHandlerContext during the HTTP CONNECT and therefore MUST be invoked before
any other filters calling any of the methods in HttpsAwareFiltersAdapter
.
This filter extends HttpsHostCaptureFilter
and so also sets the host attribute on the channel for use by filters
that modify the original host during the CONNECT. If the hostname is modified by filters, it will be overwritten when the HttpsHostCaptureFilter
is processed later in the filter chain.Constructor and Description |
---|
HttpsOriginalHostCaptureFilter(io.netty.handler.codec.http.HttpRequest originalRequest,
io.netty.channel.ChannelHandlerContext ctx) |
clientToProxyRequest
proxyToClientResponse, proxyToServerConnectionFailed, proxyToServerConnectionQueued, proxyToServerConnectionSSLHandshakeStarted, proxyToServerConnectionStarted, proxyToServerConnectionSucceeded, proxyToServerRequest, proxyToServerRequestSending, proxyToServerRequestSent, proxyToServerResolutionFailed, proxyToServerResolutionStarted, proxyToServerResolutionSucceeded, serverToProxyResponse, serverToProxyResponseReceived, serverToProxyResponseReceiving, serverToProxyResponseTimedOut
Copyright © 2017. All rights reserved.