Class HttpDigestAuthLogicHandler
- java.lang.Object
-
- org.apache.mina.proxy.handlers.http.AbstractAuthLogicHandler
-
- org.apache.mina.proxy.handlers.http.digest.HttpDigestAuthLogicHandler
-
public class HttpDigestAuthLogicHandler extends AbstractAuthLogicHandler
HttpDigestAuthLogicHandler.java - HTTP Digest authentication mechanism logic handler.- Since:
- MINA 2.0.0-M3
- Author:
- Apache MINA Project
-
-
Field Summary
-
Fields inherited from class org.apache.mina.proxy.handlers.http.AbstractAuthLogicHandler
proxyIoSession, request, step
-
-
Constructor Summary
Constructors Constructor Description HttpDigestAuthLogicHandler(ProxyIoSession proxyIoSession)Creates a new HttpDigestAuthLogicHandler instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoHandshake(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 org.apache.mina.proxy.handlers.http.AbstractAuthLogicHandler
addKeepAliveHeaders, writeRequest
-
-
-
-
Constructor Detail
-
HttpDigestAuthLogicHandler
public HttpDigestAuthLogicHandler(ProxyIoSession proxyIoSession) throws ProxyAuthException
Creates a new HttpDigestAuthLogicHandler instance- Parameters:
proxyIoSession- The Proxy IoSession- Throws:
ProxyAuthException- The Proxy AuthException
-
-
Method Detail
-
doHandshake
public void doHandshake(IoFilter.NextFilter nextFilter) throws ProxyAuthException
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
public void handleResponse(HttpProxyResponse response) throws ProxyAuthException
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
-
-