GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Overview
  • Use
  • Tree
  • Deprecated
  • Index
  • Search
  • Help
  • io.netty.handler.codec.http2
  • Http2StreamChannelBootstrap

This view

  • Original page
  • New address

GeezerVison is showing netty.io — Http2StreamChannelBootstrap (Netty API Reference (4.1.141.Final))

Class Http2StreamChannelBootstrap

java.lang.Object
io.netty.handler.codec.http2.Http2StreamChannelBootstrap

public final class Http2StreamChannelBootstrap extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    Http2StreamChannelBootstrap(Channel channel)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> Http2StreamChannelBootstrap
    attr(AttributeKey<T> key, T value)
    Allow to specify an initial attribute of the newly created Http2StreamChannel.
    Http2StreamChannelBootstrap
    handler(ChannelHandler handler)
    the ChannelHandler to use for serving the requests.
    Future<Http2StreamChannel>
    open()
    Open a new Http2StreamChannel to use.
    Future<Http2StreamChannel>
    open(Promise<Http2StreamChannel> promise)
    Open a new Http2StreamChannel to use and notifies the given Promise.
    void
    open0(ChannelHandlerContext ctx, Promise<Http2StreamChannel> promise)
    Deprecated.
    should not be used directly.
    <T> Http2StreamChannelBootstrap
    option(ChannelOption<T> option, T value)
    Allow to specify a ChannelOption which is used for the Http2StreamChannel instances once they got created.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Http2StreamChannelBootstrap

      public Http2StreamChannelBootstrap(Channel channel)
  • Method Details

    • option

      public <T> Http2StreamChannelBootstrap option(ChannelOption<T> option, T value)
      Allow to specify a ChannelOption which is used for the Http2StreamChannel instances once they got created. Use a value of null to remove a previous set ChannelOption.
    • attr

      public <T> Http2StreamChannelBootstrap attr(AttributeKey<T> key, T value)
      Allow to specify an initial attribute of the newly created Http2StreamChannel. If the value is null, the attribute of the specified key is removed.
    • handler

      public Http2StreamChannelBootstrap handler(ChannelHandler handler)
      the ChannelHandler to use for serving the requests.
    • open

      public Future<Http2StreamChannel> open()
      Open a new Http2StreamChannel to use.
      Returns:
      the Future that will be notified once the channel was opened successfully or it failed.
    • open

      public Future<Http2StreamChannel> open(Promise<Http2StreamChannel> promise)
      Open a new Http2StreamChannel to use and notifies the given Promise.
      Returns:
      the Future that will be notified once the channel was opened successfully or it failed.
    • open0

      @Deprecated public void open0(ChannelHandlerContext ctx, Promise<Http2StreamChannel> promise)
      Deprecated.
      should not be used directly. Use open() or open(Promise)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.