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

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

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


Constructor Summary
ConnectHandler.ProxyToServerConnection(ConcurrentMap<String,Object> context, org.eclipse.jetty.io.Buffer data)
           
 
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 ready()
           
 void setConnection(ConnectHandler.ClientToProxyConnection connection)
           
 void setEndPoint(org.eclipse.jetty.io.nio.SelectChannelEndPoint endpoint)
           
 void setTimeStamp(long timestamp)
           
 void shutdownOutput()
           
 String toString()
           
 void waitReady(long timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectHandler.ProxyToServerConnection

public ConnectHandler.ProxyToServerConnection(ConcurrentMap<String,Object> context,
                                              org.eclipse.jetty.io.Buffer data)
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

setConnection

public void setConnection(ConnectHandler.ClientToProxyConnection connection)

getTimeStamp

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

setTimeStamp

public void setTimeStamp(long timestamp)

setEndPoint

public void setEndPoint(org.eclipse.jetty.io.nio.SelectChannelEndPoint endpoint)

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

ready

public void ready()

waitReady

public void waitReady(long timeout)
               throws IOException
Throws:
IOException

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.