Class ConnectHandler.UpstreamConnection

java.lang.Object
org.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.io.AbstractConnection.NonBlocking
org.eclipse.jetty.server.handler.ConnectHandler.UpstreamConnection
All Implemented Interfaces:
Closeable, AutoCloseable, org.eclipse.jetty.io.Connection
Enclosing class:
ConnectHandler

public class ConnectHandler.UpstreamConnection extends org.eclipse.jetty.io.AbstractConnection.NonBlocking
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.jetty.io.AbstractConnection

    org.eclipse.jetty.io.AbstractConnection.NonBlocking

    Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Connection

    org.eclipse.jetty.io.Connection.Listener, org.eclipse.jetty.io.Connection.Tunnel, org.eclipse.jetty.io.Connection.UpgradeFrom, org.eclipse.jetty.io.Connection.UpgradeTo
  • Constructor Summary

    Constructors
    Constructor
    Description
    UpstreamConnection(org.eclipse.jetty.io.EndPoint endPoint, Executor executor, org.eclipse.jetty.io.ByteBufferPool bufferPool, ConnectHandler.ConnectContext connectContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    close(Throwable failure)
     
    org.eclipse.jetty.io.ByteBufferPool
     
    org.eclipse.jetty.io.Connection
     
     
    void
     
    void
     
    protected int
    read(org.eclipse.jetty.io.EndPoint endPoint, ByteBuffer buffer)
     
    void
    setConnection(org.eclipse.jetty.server.handler.ConnectHandler.TunnelConnection connection)
     
     
    protected void
    write(org.eclipse.jetty.io.EndPoint endPoint, ByteBuffer buffer, org.eclipse.jetty.util.Callback callback)
     

    Methods inherited from class org.eclipse.jetty.io.AbstractConnection.NonBlocking

    fillInterested

    Methods inherited from class org.eclipse.jetty.io.AbstractConnection

    addEventListener, close, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onReadTimeout, removeEventListener, setInputBufferSize, toString, tryFillInterested

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UpstreamConnection

      public UpstreamConnection(org.eclipse.jetty.io.EndPoint endPoint, Executor executor, org.eclipse.jetty.io.ByteBufferPool bufferPool, ConnectHandler.ConnectContext connectContext)
  • Method Details

    • onOpen

      public void onOpen()
      Specified by:
      onOpen in interface org.eclipse.jetty.io.Connection
      Overrides:
      onOpen in class org.eclipse.jetty.io.AbstractConnection
    • read

      protected int read(org.eclipse.jetty.io.EndPoint endPoint, ByteBuffer buffer) throws IOException
      Throws:
      IOException
    • write

      protected void write(org.eclipse.jetty.io.EndPoint endPoint, ByteBuffer buffer, org.eclipse.jetty.util.Callback callback)
    • getByteBufferPool

      public org.eclipse.jetty.io.ByteBufferPool getByteBufferPool()
    • getContext

      public ConcurrentMap<String,Object> getContext()
    • getConnection

      public org.eclipse.jetty.io.Connection getConnection()
    • setConnection

      public void setConnection(org.eclipse.jetty.server.handler.ConnectHandler.TunnelConnection connection)
    • onFillable

      public void onFillable()
      Specified by:
      onFillable in class org.eclipse.jetty.io.AbstractConnection
    • close

      protected void close(Throwable failure)
    • toConnectionString

      public String toConnectionString()
      Overrides:
      toConnectionString in class org.eclipse.jetty.io.AbstractConnection