org.apache.mina.proxy.session
Class ProxyIoSession

java.lang.Object
  extended by org.apache.mina.proxy.session.ProxyIoSession

public class ProxyIoSession
extends Object

ProxyIoSession.java - Class that contains all informations for the current proxy authentication session.

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)

Field Summary
static String PROXY_SESSION
           
 
Constructor Summary
ProxyIoSession(InetSocketAddress proxyAddress, ProxyRequest request)
           
 
Method Summary
 Charset getCharset()
           
 String getCharsetName()
           
 ProxyConnector getConnector()
           
 IoSessionEventQueue getEventQueue()
           
 ProxyLogicHandler getHandler()
           
 List<HttpAuthenticationMethods> getPreferedOrder()
           
 InetSocketAddress getProxyAddress()
           
 ProxyFilter getProxyFilter()
           
 ProxyRequest getRequest()
           
 IoSession getSession()
           
 boolean isAuthenticationFailed()
           
 boolean isReconnectionNeeded()
           
 void setAuthenticationFailed(boolean authenticationFailed)
           
 void setCharsetName(String charsetName)
           
 void setConnector(ProxyConnector connector)
          Note : Please do not call this method from your code it could result in an unexpected behaviour.
 void setHandler(ProxyLogicHandler handler)
           
 void setPreferedOrder(List<HttpAuthenticationMethods> preferedOrder)
           
 void setProxyAddress(InetSocketAddress proxyAddress)
           
 void setProxyFilter(ProxyFilter proxyFilter)
          Note : Please do not call this method from your code it could result in an unexpected behaviour.
 void setReconnectionNeeded(boolean reconnectionNeeded)
          Note : Please do not call this method from your code it could result in an unexpected behaviour.
 void setRequest(ProxyRequest request)
           
 void setSession(IoSession session)
          Note : Please do not call this method from your code it could result in an unexpected behaviour.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROXY_SESSION

public static final String PROXY_SESSION
Constructor Detail

ProxyIoSession

public ProxyIoSession(InetSocketAddress proxyAddress,
                      ProxyRequest request)
Method Detail

getEventQueue

public IoSessionEventQueue getEventQueue()

getPreferedOrder

public List<HttpAuthenticationMethods> getPreferedOrder()

setPreferedOrder

public void setPreferedOrder(List<HttpAuthenticationMethods> preferedOrder)

getHandler

public ProxyLogicHandler getHandler()

setHandler

public void setHandler(ProxyLogicHandler handler)

getProxyFilter

public ProxyFilter getProxyFilter()

setProxyFilter

public void setProxyFilter(ProxyFilter proxyFilter)
Note : Please do not call this method from your code it could result in an unexpected behaviour.


getRequest

public ProxyRequest getRequest()

setRequest

public void setRequest(ProxyRequest request)

getSession

public IoSession getSession()

setSession

public void setSession(IoSession session)
Note : Please do not call this method from your code it could result in an unexpected behaviour.


getConnector

public ProxyConnector getConnector()

setConnector

public void setConnector(ProxyConnector connector)
Note : Please do not call this method from your code it could result in an unexpected behaviour.


getProxyAddress

public InetSocketAddress getProxyAddress()

setProxyAddress

public void setProxyAddress(InetSocketAddress proxyAddress)

isReconnectionNeeded

public boolean isReconnectionNeeded()

setReconnectionNeeded

public void setReconnectionNeeded(boolean reconnectionNeeded)
Note : Please do not call this method from your code it could result in an unexpected behaviour.


getCharset

public Charset getCharset()

getCharsetName

public String getCharsetName()

setCharsetName

public void setCharsetName(String charsetName)

isAuthenticationFailed

public boolean isAuthenticationFailed()

setAuthenticationFailed

public void setAuthenticationFailed(boolean authenticationFailed)


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