Class HttpNoAuthLogicHandler
java.lang.Object
org.apache.mina.proxy.handlers.http.AbstractAuthLogicHandler
org.apache.mina.proxy.handlers.http.basic.HttpNoAuthLogicHandler
HttpNoAuthLogicHandler.java - HTTP 'no auth' mechanism logic handler.
- Since:
- MINA 2.0.0-M3
-
Field Summary
FieldsFields inherited from class AbstractAuthLogicHandler
proxyIoSession, request, step -
Constructor Summary
ConstructorsConstructorDescriptionHttpNoAuthLogicHandler(ProxyIoSession proxyIoSession) Build an HttpNoAuthLogicHandler -
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
-
-
Constructor Details
-
HttpNoAuthLogicHandler
Build an HttpNoAuthLogicHandler- Parameters:
proxyIoSession- The original session- Throws:
ProxyAuthException- If we get an error during the proxy authentication
-
-
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
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
-