public class HttpSmartProxyHandler extends AbstractHttpLogicHandler
| Modifier and Type | Field and Description |
|---|---|
private AbstractAuthLogicHandler |
authHandler
The automatically selected http authentication logic handler.
|
private static org.slf4j.Logger |
logger |
private boolean |
requestSent
Has the HTTP proxy request been sent ?
|
| Constructor and Description |
|---|
HttpSmartProxyHandler(ProxyIoSession proxyIoSession) |
| Modifier and Type | Method and Description |
|---|---|
private void |
autoSelectAuthHandler(HttpProxyResponse response)
Automatic selection of the authentication algorithm.
|
void |
doHandshake(IoFilter.NextFilter nextFilter)
Performs the handshake processing.
|
void |
handleResponse(HttpProxyResponse response)
Handle a HTTP response from the proxy server.
|
decodeResponse, messageReceived, writeRequestcloseSession, closeSession, enqueueWriteRequest, flushPendingWriteRequests, getProxyFilter, getProxyIoSession, getSession, isHandshakeComplete, setHandshakeComplete, writeDataprivate static final org.slf4j.Logger logger
private boolean requestSent
private AbstractAuthLogicHandler authHandler
public HttpSmartProxyHandler(ProxyIoSession proxyIoSession)
public void doHandshake(IoFilter.NextFilter nextFilter) throws ProxyAuthException
nextFilter - the next filterProxyAuthException - if authentication failsprivate void autoSelectAuthHandler(HttpProxyResponse response) throws ProxyAuthException
preferedOrder is set then
algorithms are selected from the list order otherwise the algorithm tries to select the most
secured algorithm available first.response - the proxy responseProxyAuthExceptionpublic void handleResponse(HttpProxyResponse response) throws ProxyAuthException
handleResponse in class AbstractHttpLogicHandlerresponse - The proxy response.ProxyAuthException