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

This view

  • Original page
  • New address

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

Interface Http2HeadersEncoder

All Known Implementing Classes:
DefaultHttp2HeadersEncoder

public interface Http2HeadersEncoder
Encodes Http2Headers into HPACK-encoded headers blocks.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Http2HeadersEncoder.Configuration
    Configuration related elements for the Http2HeadersEncoder interface
    static interface 
    Http2HeadersEncoder.SensitivityDetector
    Determine if a header name/value pair is treated as sensitive.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Http2HeadersEncoder.SensitivityDetector
    ALWAYS_SENSITIVE
    Always return true for Http2HeadersEncoder.SensitivityDetector.isSensitive(CharSequence, CharSequence).
    static final Http2HeadersEncoder.SensitivityDetector
    NEVER_SENSITIVE
    Always return false for Http2HeadersEncoder.SensitivityDetector.isSensitive(CharSequence, CharSequence).
  • Method Summary

    Modifier and Type
    Method
    Description
    Http2HeadersEncoder.Configuration
    configuration()
    Get the Http2HeadersEncoder.Configuration for this Http2HeadersEncoder
    void
    encodeHeaders(int streamId, Http2Headers headers, ByteBuf buffer)
    Encodes the given headers and writes the output headers block to the given output buffer.
  • Field Details

    • NEVER_SENSITIVE

      static final Http2HeadersEncoder.SensitivityDetector NEVER_SENSITIVE
      Always return false for Http2HeadersEncoder.SensitivityDetector.isSensitive(CharSequence, CharSequence).
    • ALWAYS_SENSITIVE

      static final Http2HeadersEncoder.SensitivityDetector ALWAYS_SENSITIVE
      Always return true for Http2HeadersEncoder.SensitivityDetector.isSensitive(CharSequence, CharSequence).
  • Method Details

    • encodeHeaders

      void encodeHeaders(int streamId, Http2Headers headers, ByteBuf buffer) throws Http2Exception
      Encodes the given headers and writes the output headers block to the given output buffer.
      Parameters:
      streamId - the identifier of the stream for which the headers are encoded.
      headers - the headers to be encoded.
      buffer - the buffer to receive the encoded headers.
      Throws:
      Http2Exception
    • configuration

      Http2HeadersEncoder.Configuration configuration()
      Get the Http2HeadersEncoder.Configuration for this Http2HeadersEncoder
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.