Class/Object

com.twitter.finagle.buoyant.h2.netty4

ServerUpgradeHandler

Related Docs: object ServerUpgradeHandler | package netty4

Permalink

class ServerUpgradeHandler extends ChannelDuplexHandler

Accept either H2C requests (beginning with a Connection preface) or HTTP requests with h2c protocol upgrading.

Linear Supertypes
ChannelDuplexHandler, ChannelOutboundHandler, ChannelInboundHandlerAdapter, ChannelInboundHandler, ChannelHandlerAdapter, ChannelHandler, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ServerUpgradeHandler
  2. ChannelDuplexHandler
  3. ChannelOutboundHandler
  4. ChannelInboundHandlerAdapter
  5. ChannelInboundHandler
  6. ChannelHandlerAdapter
  7. ChannelHandler
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ServerUpgradeHandler()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def bind(arg0: ChannelHandlerContext, arg1: SocketAddress, arg2: ChannelPromise): Unit

    Permalink
    Definition Classes
    ChannelDuplexHandler → ChannelOutboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  6. def channelActive(arg0: ChannelHandlerContext): Unit

    Permalink
    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  7. def channelInactive(arg0: ChannelHandlerContext): Unit

    Permalink
    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  8. def channelRead(ctx: ChannelHandlerContext, obj: Any): Unit

    Permalink

    Detect the HTTP2 connection preface to support Prior Knowledge HTTP2 (i.e.

    Detect the HTTP2 connection preface to support Prior Knowledge HTTP2 (i.e. gRPC). If that doesn't exist try to upgrade from HTTP/1.

    Definition Classes
    ServerUpgradeHandler → ChannelInboundHandlerAdapter → ChannelInboundHandler
  9. def channelReadComplete(arg0: ChannelHandlerContext): Unit

    Permalink
    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  10. def channelRegistered(arg0: ChannelHandlerContext): Unit

    Permalink
    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  11. def channelUnregistered(arg0: ChannelHandlerContext): Unit

    Permalink
    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  12. def channelWritabilityChanged(arg0: ChannelHandlerContext): Unit

    Permalink
    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def close(arg0: ChannelHandlerContext, arg1: ChannelPromise): Unit

    Permalink
    Definition Classes
    ChannelDuplexHandler → ChannelOutboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  15. def connect(arg0: ChannelHandlerContext, arg1: SocketAddress, arg2: SocketAddress, arg3: ChannelPromise): Unit

    Permalink
    Definition Classes
    ChannelDuplexHandler → ChannelOutboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  16. def deregister(arg0: ChannelHandlerContext, arg1: ChannelPromise): Unit

    Permalink
    Definition Classes
    ChannelDuplexHandler → ChannelOutboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  17. def disconnect(arg0: ChannelHandlerContext, arg1: ChannelPromise): Unit

    Permalink
    Definition Classes
    ChannelDuplexHandler → ChannelOutboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  20. def exceptionCaught(arg0: ChannelHandlerContext, arg1: Throwable): Unit

    Permalink
    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler → ChannelHandlerAdapter → ChannelHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def flush(arg0: ChannelHandlerContext): Unit

    Permalink
    Definition Classes
    ChannelDuplexHandler → ChannelOutboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def handlerAdded(arg0: ChannelHandlerContext): Unit

    Permalink
    Definition Classes
    ChannelHandlerAdapter → ChannelHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  25. def handlerRemoved(arg0: ChannelHandlerContext): Unit

    Permalink
    Definition Classes
    ChannelHandlerAdapter → ChannelHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. def isSharable(): Boolean

    Permalink
    Definition Classes
    ChannelHandlerAdapter
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. def read(arg0: ChannelHandlerContext): Unit

    Permalink
    Definition Classes
    ChannelDuplexHandler → ChannelOutboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. def userEventTriggered(arg0: ChannelHandlerContext, arg1: Any): Unit

    Permalink
    Definition Classes
    ChannelInboundHandlerAdapter → ChannelInboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  36. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def write(arg0: ChannelHandlerContext, arg1: Any, arg2: ChannelPromise): Unit

    Permalink
    Definition Classes
    ChannelDuplexHandler → ChannelOutboundHandler
    Annotations
    @throws( classOf[java.lang.Exception] )

Inherited from ChannelDuplexHandler

Inherited from ChannelOutboundHandler

Inherited from ChannelInboundHandlerAdapter

Inherited from ChannelInboundHandler

Inherited from ChannelHandlerAdapter

Inherited from ChannelHandler

Inherited from AnyRef

Inherited from Any

Ungrouped