org.eclipse.jetty.server.handler
Class ProxyHandler.ClientToProxyConnection

java.lang.Object
  extended by org.eclipse.jetty.server.handler.ProxyHandler.ClientToProxyConnection
All Implemented Interfaces:
Connection
Enclosing class:
ProxyHandler

public class ProxyHandler.ClientToProxyConnection
extends java.lang.Object
implements Connection


Constructor Summary
ProxyHandler.ClientToProxyConnection(java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object> context, java.nio.channels.SocketChannel channel, EndPoint endPoint, long timestamp)
           
 
Method Summary
 void close()
           
 void closeClient()
           
 void closeServer()
           
 long getTimeStamp()
           
 Connection handle()
           
 boolean isIdle()
           
 boolean isSuspended()
           
 void setConnection(ProxyHandler.ProxyToServerConnection connection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyHandler.ClientToProxyConnection

public ProxyHandler.ClientToProxyConnection(java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object> context,
                                            java.nio.channels.SocketChannel channel,
                                            EndPoint endPoint,
                                            long timestamp)
Method Detail

handle

public Connection handle()
                  throws java.io.IOException
Specified by:
handle in interface Connection
Throws:
java.io.IOException

getTimeStamp

public long getTimeStamp()
Specified by:
getTimeStamp in interface Connection

isIdle

public boolean isIdle()
Specified by:
isIdle in interface Connection

isSuspended

public boolean isSuspended()
Specified by:
isSuspended in interface Connection

setConnection

public void setConnection(ProxyHandler.ProxyToServerConnection connection)

closeClient

public void closeClient()
                 throws java.io.IOException
Throws:
java.io.IOException

closeServer

public void closeServer()
                 throws java.io.IOException
Throws:
java.io.IOException

close

public void close()


Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.