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

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

public class ConnectHandler.ClientToProxyConnection
extends Object
implements org.eclipse.jetty.io.Connection


Constructor Summary
ConnectHandler.ClientToProxyConnection(ConcurrentMap<String,Object> context, SocketChannel channel, org.eclipse.jetty.io.EndPoint endPoint, long timestamp)
           
 
Method Summary
 void close()
           
 void closeClient()
           
 void closed()
           
 void closeServer()
           
 long getTimeStamp()
           
 org.eclipse.jetty.io.Connection handle()
           
 void idleExpired()
           
 boolean isIdle()
           
 boolean isSuspended()
           
 void setConnection(ConnectHandler.ProxyToServerConnection connection)
           
 void shutdownOutput()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectHandler.ClientToProxyConnection

public ConnectHandler.ClientToProxyConnection(ConcurrentMap<String,Object> context,
                                              SocketChannel channel,
                                              org.eclipse.jetty.io.EndPoint endPoint,
                                              long timestamp)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

handle

public org.eclipse.jetty.io.Connection handle()
                                       throws IOException
Specified by:
handle in interface org.eclipse.jetty.io.Connection
Throws:
IOException

getTimeStamp

public long getTimeStamp()
Specified by:
getTimeStamp in interface org.eclipse.jetty.io.Connection

isIdle

public boolean isIdle()
Specified by:
isIdle in interface org.eclipse.jetty.io.Connection

isSuspended

public boolean isSuspended()
Specified by:
isSuspended in interface org.eclipse.jetty.io.Connection

closed

public void closed()
Specified by:
closed in interface org.eclipse.jetty.io.Connection

setConnection

public void setConnection(ConnectHandler.ProxyToServerConnection connection)

closeClient

public void closeClient()
                 throws IOException
Throws:
IOException

closeServer

public void closeServer()
                 throws IOException
Throws:
IOException

close

public void close()

shutdownOutput

public void shutdownOutput()
                    throws IOException
Throws:
IOException

idleExpired

public void idleExpired()
Specified by:
idleExpired in interface org.eclipse.jetty.io.Connection


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