HttpBasicAuthLogicHandler, HttpDigestAuthLogicHandler, HttpNoAuthLogicHandler, HttpNTLMAuthLogicHandlerpublic abstract class AbstractAuthLogicHandler extends Object
| Modifier and Type | Field | Description |
|---|---|---|
protected ProxyIoSession |
proxyIoSession |
Object that contains all the proxy authentication session informations.
|
protected ProxyRequest |
request |
The request to be handled by the proxy.
|
protected int |
step |
The current handshake step.
|
| Modifier | Constructor | Description |
|---|---|---|
protected |
AbstractAuthLogicHandler(ProxyIoSession proxyIoSession) |
Instantiates a handler for the given proxy session.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
addKeepAliveHeaders(Map<String,List<String>> headers) |
Try to force proxy connection to be kept alive.
|
abstract void |
doHandshake(IoFilter.NextFilter nextFilter) |
Method called at each step of the handshaking process.
|
abstract void |
handleResponse(HttpProxyResponse response) |
Handles a HTTP response from the proxy server.
|
protected void |
writeRequest(IoFilter.NextFilter nextFilter,
HttpProxyRequest request) |
Sends an HTTP request.
|
protected ProxyRequest request
protected ProxyIoSession proxyIoSession
protected int step
protected AbstractAuthLogicHandler(ProxyIoSession proxyIoSession) throws ProxyAuthException
proxyIoSession - the proxy session objectProxyAuthException - If we get an error during the proxy authenticationpublic abstract void doHandshake(IoFilter.NextFilter nextFilter) throws ProxyAuthException
nextFilter - the next filterProxyAuthException - If we get an error during the proxy authenticationpublic abstract void handleResponse(HttpProxyResponse response) throws ProxyAuthException
response - The HTTP response.ProxyAuthException - If we get an error during the proxy authenticationprotected void writeRequest(IoFilter.NextFilter nextFilter, HttpProxyRequest request) throws ProxyAuthException
nextFilter - the next filterrequest - the request to writeProxyAuthException - If we get an error during the proxy authenticationCopyright © 2004–2018 Apache MINA Project. All rights reserved.