public class HttpSmartProxyHandler extends AbstractHttpLogicHandler
构造器和说明 |
---|
HttpSmartProxyHandler(ProxyIoSession proxyIoSession) |
限定符和类型 | 方法和说明 |
---|---|
void |
doHandshake(IoFilter.NextFilter nextFilter)
Performs the handshake processing.
|
void |
handleResponse(HttpProxyResponse response)
Handle a HTTP response from the proxy server.
|
decodeResponse, messageReceived, writeRequest
closeSession, closeSession, enqueueWriteRequest, flushPendingWriteRequests, getProxyFilter, getProxyIoSession, getSession, isHandshakeComplete, setHandshakeComplete, writeData
public HttpSmartProxyHandler(ProxyIoSession proxyIoSession)
public void doHandshake(IoFilter.NextFilter nextFilter) throws ProxyAuthException
nextFilter
- the next filterProxyAuthException
- if authentication failspublic void handleResponse(HttpProxyResponse response) throws ProxyAuthException
handleResponse
在类中 AbstractHttpLogicHandler
response
- The proxy response.ProxyAuthException
- If we get an error during the proxy authentication