Class HttpNoAuthLogicHandler
- java.lang.Object
-
- org.apache.mina.proxy.handlers.http.AbstractAuthLogicHandler
-
- org.apache.mina.proxy.handlers.http.basic.HttpNoAuthLogicHandler
-
public class HttpNoAuthLogicHandler extends AbstractAuthLogicHandler
HttpNoAuthLogicHandler.java - HTTP 'no auth' 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 HttpNoAuthLogicHandler(ProxyIoSession proxyIoSession)Build an HttpNoAuthLogicHandler
-
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
-
HttpNoAuthLogicHandler
public HttpNoAuthLogicHandler(ProxyIoSession proxyIoSession) throws ProxyAuthException
Build an HttpNoAuthLogicHandler- Parameters:
proxyIoSession- The original session- Throws:
ProxyAuthException- If we get an error during the proxy authentication
-
-
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
Handles 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
-
-