Class HttpDigestAuthLogicHandler
java.lang.Object
org.apache.mina.proxy.handlers.http.AbstractAuthLogicHandler
org.apache.mina.proxy.handlers.http.digest.HttpDigestAuthLogicHandler
HttpDigestAuthLogicHandler.java - HTTP Digest authentication mechanism logic handler.
- Since:
- MINA 2.0.0-M3
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe challenge directives provided by the server.private static final org.slf4j.Loggerprivate HttpProxyResponseThe response received to the last request.private static SecureRandomFields inherited from class AbstractAuthLogicHandler
proxyIoSession, request, step -
Constructor Summary
ConstructorsConstructorDescriptionHttpDigestAuthLogicHandler(ProxyIoSession proxyIoSession) Creates a new HttpDigestAuthLogicHandler instance -
Method Summary
Modifier and TypeMethodDescriptionvoiddoHandshake(IoFilter.NextFilter nextFilter) Method called at each step of the handshaking process.voidhandleResponse(HttpProxyResponse response) Handles a HTTP response from the proxy server.Methods inherited from class AbstractAuthLogicHandler
addKeepAliveHeaders, writeRequest
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
directives
-
response
The response received to the last request. -
rnd
-
-
Constructor Details
-
HttpDigestAuthLogicHandler
Creates a new HttpDigestAuthLogicHandler instance- Parameters:
proxyIoSession- The Proxy IoSession- Throws:
ProxyAuthException- The Proxy AuthException
-
-
Method Details
-
doHandshake
Method called at each step of the handshaking process.- Specified by:
doHandshakein classAbstractAuthLogicHandler- Parameters:
nextFilter- the next filter- Throws:
ProxyAuthException- If we get an error during the proxy authentication
-
handleResponse
Description copied from class:AbstractAuthLogicHandlerHandles a HTTP response from the proxy server.- Specified by:
handleResponsein classAbstractAuthLogicHandler- Parameters:
response- The HTTP response.- Throws:
ProxyAuthException- If we get an error during the proxy authentication
-