Class ProxyConnectionFactory.ProxyEndPoint

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, EndPoint, org.eclipse.jetty.util.Attributes, org.eclipse.jetty.util.component.Dumpable
    Enclosing class:
    ProxyConnectionFactory

    public static class ProxyConnectionFactory.ProxyEndPoint
    extends org.eclipse.jetty.util.AttributesMap
    implements EndPoint
    • Constructor Detail

      • ProxyEndPoint

        public ProxyEndPoint​(EndPoint endp,
                             java.net.InetSocketAddress remote,
                             java.net.InetSocketAddress local)
    • Method Detail

      • getLocalAddress

        public java.net.InetSocketAddress getLocalAddress()
        Specified by:
        getLocalAddress in interface EndPoint
      • getRemoteAddress

        public java.net.InetSocketAddress getRemoteAddress()
        Specified by:
        getRemoteAddress in interface EndPoint
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class org.eclipse.jetty.util.AttributesMap
      • isOpen

        public boolean isOpen()
        Specified by:
        isOpen in interface EndPoint
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface EndPoint
      • fill

        public int fill​(java.nio.ByteBuffer buffer)
                 throws java.io.IOException
        Specified by:
        fill in interface EndPoint
        Throws:
        java.io.IOException
      • flush

        public boolean flush​(java.nio.ByteBuffer... buffer)
                      throws java.io.IOException
        Specified by:
        flush in interface EndPoint
        Throws:
        java.io.IOException
      • getTransport

        public java.lang.Object getTransport()
        Specified by:
        getTransport in interface EndPoint
      • setIdleTimeout

        public void setIdleTimeout​(long idleTimeout)
        Specified by:
        setIdleTimeout in interface EndPoint
      • fillInterested

        public void fillInterested​(org.eclipse.jetty.util.Callback callback)
                            throws java.nio.channels.ReadPendingException
        Specified by:
        fillInterested in interface EndPoint
        Throws:
        java.nio.channels.ReadPendingException
      • tryFillInterested

        public boolean tryFillInterested​(org.eclipse.jetty.util.Callback callback)
        Specified by:
        tryFillInterested in interface EndPoint
      • write

        public void write​(org.eclipse.jetty.util.Callback callback,
                          java.nio.ByteBuffer... buffers)
                   throws java.nio.channels.WritePendingException
        Specified by:
        write in interface EndPoint
        Throws:
        java.nio.channels.WritePendingException
      • onOpen

        public void onOpen()
        Specified by:
        onOpen in interface EndPoint
      • onClose

        public void onClose()
        Specified by:
        onClose in interface EndPoint