Class ProxyProtocolClientConnectionFactory.ProxyProtocolConnection

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, org.eclipse.jetty.io.Connection, org.eclipse.jetty.util.Callback, org.eclipse.jetty.util.thread.Invocable
    Enclosing class:
    ProxyProtocolClientConnectionFactory

    protected abstract static class ProxyProtocolClientConnectionFactory.ProxyProtocolConnection
    extends org.eclipse.jetty.io.AbstractConnection
    implements org.eclipse.jetty.util.Callback
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback

        org.eclipse.jetty.util.Callback.Completable, org.eclipse.jetty.util.Callback.Completing, org.eclipse.jetty.util.Callback.Nested
      • 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
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable

        org.eclipse.jetty.util.thread.Invocable.InvocationType, org.eclipse.jetty.util.thread.Invocable.ReadyTask, org.eclipse.jetty.util.thread.Invocable.Task
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static org.slf4j.Logger LOG  
      • Fields inherited from interface org.eclipse.jetty.util.Callback

        NOOP
      • Fields inherited from interface org.eclipse.jetty.util.thread.Invocable

        __nonBlocking
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void failed​(java.lang.Throwable x)  
      org.eclipse.jetty.util.thread.Invocable.InvocationType getInvocationType()  
      void onFillable()  
      void onOpen()  
      void succeeded()  
      protected abstract void writePROXYBytes​(org.eclipse.jetty.io.EndPoint endPoint, org.eclipse.jetty.util.Callback callback)  
      • Methods inherited from class org.eclipse.jetty.io.AbstractConnection

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.eclipse.jetty.util.Callback

        completeWith
    • Field Detail

      • LOG

        protected static final org.slf4j.Logger LOG
    • Method Detail

      • onOpen

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

        protected abstract void writePROXYBytes​(org.eclipse.jetty.io.EndPoint endPoint,
                                                org.eclipse.jetty.util.Callback callback)
      • succeeded

        public void succeeded()
        Specified by:
        succeeded in interface org.eclipse.jetty.util.Callback
      • failed

        public void failed​(java.lang.Throwable x)
        Specified by:
        failed in interface org.eclipse.jetty.util.Callback
      • getInvocationType

        public org.eclipse.jetty.util.thread.Invocable.InvocationType getInvocationType()
        Specified by:
        getInvocationType in interface org.eclipse.jetty.util.thread.Invocable
      • onFillable

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