public class HttpDigestAuthLogicHandler extends AbstractAuthLogicHandler
| Modifier and Type | Field and Description |
|---|---|
private java.util.HashMap<java.lang.String,java.lang.String> |
directives
The challenge directives provided by the server.
|
private static org.slf4j.Logger |
logger |
private HttpProxyResponse |
response
The response received to the last request.
|
private static java.security.SecureRandom |
rnd |
proxyIoSession, request, step| Constructor and Description |
|---|
HttpDigestAuthLogicHandler(ProxyIoSession proxyIoSession) |
| Modifier and Type | Method and Description |
|---|---|
void |
doHandshake(IoFilter.NextFilter nextFilter)
Method called at each step of the handshaking process.
|
void |
handleResponse(HttpProxyResponse response)
Handles a HTTP response from the proxy server.
|
addKeepAliveHeaders, writeRequestprivate static final org.slf4j.Logger logger
private java.util.HashMap<java.lang.String,java.lang.String> directives
private HttpProxyResponse response
private static java.security.SecureRandom rnd
public HttpDigestAuthLogicHandler(ProxyIoSession proxyIoSession) throws ProxyAuthException
ProxyAuthExceptionpublic void doHandshake(IoFilter.NextFilter nextFilter) throws ProxyAuthException
AbstractAuthLogicHandlerdoHandshake in class AbstractAuthLogicHandlernextFilter - the next filterProxyAuthExceptionpublic void handleResponse(HttpProxyResponse response) throws ProxyAuthException
AbstractAuthLogicHandlerhandleResponse in class AbstractAuthLogicHandlerresponse - The HTTP response.ProxyAuthException