Class ProxyConnection

    • Nested Class Summary

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

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

      Fields 
      Modifier and Type Field Description
      protected static org.eclipse.jetty.util.log.Logger LOG  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ProxyConnection​(org.eclipse.jetty.io.EndPoint endp, java.util.concurrent.Executor executor, org.eclipse.jetty.io.ByteBufferPool bufferPool, java.util.concurrent.ConcurrentMap<java.lang.String,​java.lang.Object> context)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.jetty.io.ByteBufferPool getByteBufferPool()  
      org.eclipse.jetty.io.Connection getConnection()  
      java.util.concurrent.ConcurrentMap<java.lang.String,​java.lang.Object> getContext()  
      void onFillable()  
      protected abstract int read​(org.eclipse.jetty.io.EndPoint endPoint, java.nio.ByteBuffer buffer)  
      void setConnection​(org.eclipse.jetty.io.Connection connection)  
      java.lang.String toConnectionString()  
      protected abstract void write​(org.eclipse.jetty.io.EndPoint endPoint, java.nio.ByteBuffer buffer, org.eclipse.jetty.util.Callback callback)  
      • Methods inherited from class org.eclipse.jetty.io.AbstractConnection

        addListener, close, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onOpen, onReadTimeout, removeListener, setInputBufferSize, toString, tryFillInterested, tryFillInterested
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • LOG

        protected static final org.eclipse.jetty.util.log.Logger LOG
    • Constructor Detail

      • ProxyConnection

        protected ProxyConnection​(org.eclipse.jetty.io.EndPoint endp,
                                  java.util.concurrent.Executor executor,
                                  org.eclipse.jetty.io.ByteBufferPool bufferPool,
                                  java.util.concurrent.ConcurrentMap<java.lang.String,​java.lang.Object> context)
    • Method Detail

      • getByteBufferPool

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

        public java.util.concurrent.ConcurrentMap<java.lang.String,​java.lang.Object> getContext()
      • getConnection

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

        public void setConnection​(org.eclipse.jetty.io.Connection connection)
      • onFillable

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

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

        protected abstract void write​(org.eclipse.jetty.io.EndPoint endPoint,
                                      java.nio.ByteBuffer buffer,
                                      org.eclipse.jetty.util.Callback callback)
      • toConnectionString

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