org.apache.mina.proxy.handlers.http
Class HttpSmartProxyHandler

java.lang.Object
  extended by org.apache.mina.proxy.AbstractProxyLogicHandler
      extended by org.apache.mina.proxy.handlers.http.AbstractHttpLogicHandler
          extended by org.apache.mina.proxy.handlers.http.HttpSmartProxyHandler
All Implemented Interfaces:
ProxyLogicHandler

public class HttpSmartProxyHandler
extends AbstractHttpLogicHandler

HttpSmartProxyHandler.java - HTTP proxy handler that automatically handles forwarding request to the appropriate authentication mechanism logic handler.

Since:
MINA 2.0.0-M3
Version:
$Rev: 685703 $, $Date: 2008-08-14 00:14:47 +0200 (Do, 14 Aug 2008) $
Author:
The Apache MINA Project (dev@mina.apache.org)

Constructor Summary
HttpSmartProxyHandler(ProxyIoSession proxyIoSession)
           
 
Method Summary
 void doHandshake(IoFilter.NextFilter nextFilter)
          Perform any handshaking 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, setProxySession, writeData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpSmartProxyHandler

public HttpSmartProxyHandler(ProxyIoSession proxyIoSession)
Method Detail

doHandshake

public void doHandshake(IoFilter.NextFilter nextFilter)
                 throws ProxyAuthException
Perform any handshaking processing.

Throws:
ProxyAuthException

handleResponse

public void handleResponse(HttpProxyResponse response)
                    throws ProxyAuthException
Handle a HTTP response from the proxy server.

Specified by:
handleResponse in class AbstractHttpLogicHandler
Parameters:
response - The response.
Throws:
ProxyAuthException


Copyright © 2004-2009 Apache MINA Project. All Rights Reserved.