|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mina.proxy.handlers.http.AbstractAuthLogicHandler
public abstract class AbstractAuthLogicHandler
AbstractAuthLogicHandler.java - Abstract class that handles an authentication mechanism logic.
Field Summary | |
---|---|
protected ProxyIoSession |
proxyIoSession
Object that contains all the proxy authentication session informations. |
protected ProxyRequest |
request
The request the proxy has to handle. |
protected int |
step
The current step in the handshake. |
Constructor Summary | |
---|---|
protected |
AbstractAuthLogicHandler(ProxyIoSession proxyIoSession)
|
Method Summary | |
---|---|
abstract void |
doHandshake(IoFilter.NextFilter nextFilter)
Called on each step of the handshaking process. |
abstract void |
handleResponse(HttpProxyResponse response)
Handles a HTTP response from the proxy server. |
protected void |
writeRequest(IoFilter.NextFilter nextFilter,
HttpProxyRequest request)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ProxyRequest request
protected ProxyIoSession proxyIoSession
protected int step
Constructor Detail |
---|
protected AbstractAuthLogicHandler(ProxyIoSession proxyIoSession) throws ProxyAuthException
ProxyAuthException
Method Detail |
---|
public abstract void doHandshake(IoFilter.NextFilter nextFilter) throws ProxyAuthException
ProxyAuthException
public abstract void handleResponse(HttpProxyResponse response) throws ProxyAuthException
response
- The response.
ProxyAuthException
protected void writeRequest(IoFilter.NextFilter nextFilter, HttpProxyRequest request) throws ProxyAuthException
ProxyAuthException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |