Class ServerHTTP2StreamEndPoint

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, org.eclipse.jetty.http2.HTTP2Channel.Server, org.eclipse.jetty.io.EndPoint

    public class ServerHTTP2StreamEndPoint
    extends org.eclipse.jetty.http2.HTTP2StreamEndPoint
    implements org.eclipse.jetty.http2.HTTP2Channel.Server
    • Nested Class Summary

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

        org.eclipse.jetty.io.EndPoint.Wrapper
    • Constructor Summary

      Constructors 
      Constructor Description
      ServerHTTP2StreamEndPoint​(org.eclipse.jetty.http2.IStream stream)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isIdle()  
      java.lang.Runnable onData​(org.eclipse.jetty.http2.frames.DataFrame frame, org.eclipse.jetty.util.Callback callback)  
      java.lang.Runnable onFailure​(java.lang.Throwable failure, org.eclipse.jetty.util.Callback callback)  
      boolean onTimeout​(java.lang.Throwable failure, java.util.function.Consumer<java.lang.Runnable> consumer)  
      java.lang.Runnable onTrailer​(org.eclipse.jetty.http2.frames.HeadersFrame frame)  
      • Methods inherited from class org.eclipse.jetty.http2.HTTP2StreamEndPoint

        close, fill, fillInterested, flush, getConnection, getCreatedTimeStamp, getIdleTimeout, getLocalAddress, getRemoteAddress, getTransport, isFillInterested, isInputShutdown, isOpen, isOutputShutdown, offerData, offerFailure, onClose, onOpen, process, setConnection, setIdleTimeout, shutdownOutput, toString, tryFillInterested, upgrade, write
      • Methods inherited from class java.lang.Object

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

        close
    • Constructor Detail

      • ServerHTTP2StreamEndPoint

        public ServerHTTP2StreamEndPoint​(org.eclipse.jetty.http2.IStream stream)
    • Method Detail

      • onData

        public java.lang.Runnable onData​(org.eclipse.jetty.http2.frames.DataFrame frame,
                                         org.eclipse.jetty.util.Callback callback)
        Specified by:
        onData in interface org.eclipse.jetty.http2.HTTP2Channel.Server
      • onTrailer

        public java.lang.Runnable onTrailer​(org.eclipse.jetty.http2.frames.HeadersFrame frame)
        Specified by:
        onTrailer in interface org.eclipse.jetty.http2.HTTP2Channel.Server
      • onTimeout

        public boolean onTimeout​(java.lang.Throwable failure,
                                 java.util.function.Consumer<java.lang.Runnable> consumer)
        Specified by:
        onTimeout in interface org.eclipse.jetty.http2.HTTP2Channel.Server
      • onFailure

        public java.lang.Runnable onFailure​(java.lang.Throwable failure,
                                            org.eclipse.jetty.util.Callback callback)
        Specified by:
        onFailure in interface org.eclipse.jetty.http2.HTTP2Channel.Server
      • isIdle

        public boolean isIdle()
        Specified by:
        isIdle in interface org.eclipse.jetty.http2.HTTP2Channel.Server