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
  • AbstractInboundHttp2ToHttpAdapterBuilder

This view

  • Original page
  • New address

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

Class AbstractInboundHttp2ToHttpAdapterBuilder<T extends InboundHttp2ToHttpAdapter, B extends AbstractInboundHttp2ToHttpAdapterBuilder<T,B>>

java.lang.Object
io.netty.handler.codec.http2.AbstractInboundHttp2ToHttpAdapterBuilder<T,B>
Direct Known Subclasses:
InboundHttp2ToHttpAdapterBuilder

public abstract class AbstractInboundHttp2ToHttpAdapterBuilder<T extends InboundHttp2ToHttpAdapter, B extends AbstractInboundHttp2ToHttpAdapterBuilder<T,B>> extends Object
A skeletal builder implementation of InboundHttp2ToHttpAdapter and its subtypes.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    AbstractInboundHttp2ToHttpAdapterBuilder(Http2Connection connection)
    Creates a new InboundHttp2ToHttpAdapter builder for the specified Http2Connection.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected T
    build()
    Builds/creates a new InboundHttp2ToHttpAdapter instance using this builder's current settings.
    protected abstract T
    build(Http2Connection connection, int maxContentLength, boolean validateHttpHeaders, boolean propagateSettings)
    Creates a new InboundHttp2ToHttpAdapter with the specified properties.
    protected Http2Connection
    connection()
    Returns the Http2Connection.
    protected boolean
    isPropagateSettings()
    Returns true if a read settings frame should be propagated along the channel pipeline.
    protected boolean
    isValidateHttpHeaders()
    Return true if HTTP header validation should be performed.
    protected int
    maxContentLength()
    Returns the maximum length of the message content.
    protected B
    maxContentLength(int maxContentLength)
    Specifies the maximum length of the message content.
    protected B
    propagateSettings(boolean propagate)
    Specifies whether a read settings frame should be propagated along the channel pipeline.
    protected final B
    self()
     
    protected B
    validateHttpHeaders(boolean validate)
    Specifies whether validation of HTTP headers should be performed.

    Methods inherited from class Object

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

    • AbstractInboundHttp2ToHttpAdapterBuilder

      protected AbstractInboundHttp2ToHttpAdapterBuilder(Http2Connection connection)
      Creates a new InboundHttp2ToHttpAdapter builder for the specified Http2Connection.
      Parameters:
      connection - the object which will provide connection notification events for the current connection
  • Method Details

    • self

      protected final B self()
    • connection

      protected Http2Connection connection()
      Returns the Http2Connection.
    • maxContentLength

      protected int maxContentLength()
      Returns the maximum length of the message content.
    • maxContentLength

      protected B maxContentLength(int maxContentLength)
      Specifies the maximum length of the message content.
      Parameters:
      maxContentLength - the maximum length of the message content. If the length of the message content exceeds this value, a TooLongFrameException will be raised
      Returns:
      AbstractInboundHttp2ToHttpAdapterBuilder the builder for the InboundHttp2ToHttpAdapter
    • isValidateHttpHeaders

      protected boolean isValidateHttpHeaders()
      Return true if HTTP header validation should be performed.
    • validateHttpHeaders

      protected B validateHttpHeaders(boolean validate)
      Specifies whether validation of HTTP headers should be performed.
      Parameters:
      validate -
      • true to validate HTTP headers in the http-codec
      • false not to validate HTTP headers in the http-codec
      Returns:
      AbstractInboundHttp2ToHttpAdapterBuilder the builder for the InboundHttp2ToHttpAdapter
    • isPropagateSettings

      protected boolean isPropagateSettings()
      Returns true if a read settings frame should be propagated along the channel pipeline.
    • propagateSettings

      protected B propagateSettings(boolean propagate)
      Specifies whether a read settings frame should be propagated along the channel pipeline.
      Parameters:
      propagate - if true read settings will be passed along the pipeline. This can be useful to clients that need hold off sending data until they have received the settings.
      Returns:
      AbstractInboundHttp2ToHttpAdapterBuilder the builder for the InboundHttp2ToHttpAdapter
    • build

      protected T build()
      Builds/creates a new InboundHttp2ToHttpAdapter instance using this builder's current settings.
    • build

      protected abstract T build(Http2Connection connection, int maxContentLength, boolean validateHttpHeaders, boolean propagateSettings) throws Exception
      Creates a new InboundHttp2ToHttpAdapter with the specified properties.
      Throws:
      Exception
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.