|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mina.proxy.AbstractProxyLogicHandler
org.apache.mina.proxy.handlers.http.AbstractHttpLogicHandler
org.apache.mina.proxy.handlers.http.HttpSmartProxyHandler
public class HttpSmartProxyHandler
HttpSmartProxyHandler.java - HTTP proxy handler that automatically handles forwarding a request to the appropriate authentication mechanism logic handler.
Constructor Summary | |
---|---|
HttpSmartProxyHandler(ProxyIoSession proxyIoSession)
|
Method Summary | |
---|---|
void |
doHandshake(IoFilter.NextFilter nextFilter)
Performs the handshake processing. |
void |
handleResponse(HttpProxyResponse response)
Handle a HTTP response from the proxy server. |
Methods inherited from class org.apache.mina.proxy.handlers.http.AbstractHttpLogicHandler |
---|
decodeResponse, messageReceived, writeRequest |
Methods inherited from class org.apache.mina.proxy.AbstractProxyLogicHandler |
---|
closeSession, closeSession, enqueueWriteRequest, flushPendingWriteRequests, getProxyFilter, getProxyIoSession, getSession, isHandshakeComplete, setHandshakeComplete, writeData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpSmartProxyHandler(ProxyIoSession proxyIoSession)
Method Detail |
---|
public void doHandshake(IoFilter.NextFilter nextFilter) throws ProxyAuthException
nextFilter
- the next filter
ProxyAuthException
- if authentication failspublic void handleResponse(HttpProxyResponse response) throws ProxyAuthException
handleResponse
in class AbstractHttpLogicHandler
response
- The proxy response.
ProxyAuthException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |