Home / Type/ Http2GoAwayFrame Type — netty Architecture

Http2GoAwayFrame Type — netty Architecture

Architecture documentation for the Http2GoAwayFrame type/interface in Http2GoAwayFrame.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1268d7ab_d853_49bd_7c34_5d9d270efe34["Http2GoAwayFrame"]
  9cf73575_a6c6_0d3b_5c9b_1bcee1f997ba["Http2GoAwayFrame.java"]
  1268d7ab_d853_49bd_7c34_5d9d270efe34 -->|defined in| 9cf73575_a6c6_0d3b_5c9b_1bcee1f997ba
  style 1268d7ab_d853_49bd_7c34_5d9d270efe34 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/Http2GoAwayFrame.java lines 31–87

public interface Http2GoAwayFrame extends Http2Frame, ByteBufHolder {
    /**
     * The reason for beginning closure of the connection. Represented as an HTTP/2 error code.
     */
    long errorCode();

    /**
     * The number of IDs to reserve for the receiver to use while GOAWAY is in transit. This allows
     * for new streams currently en route to still be created, up to a point, which allows for very
     * graceful shutdown of both sides.
     */
    int extraStreamIds();

    /**
     * Sets the number of IDs to reserve for the receiver to use while GOAWAY is in transit.
     *
     * @see #extraStreamIds
     * @return {@code this}
     */
    Http2GoAwayFrame setExtraStreamIds(int extraStreamIds);

    /**
     * Returns the last stream identifier if set, or {@code -1} else.
     */
    int lastStreamId();

    /**
     * Optional debugging information describing cause the GOAWAY. Will not be {@code null}, but may
     * be empty.
     */
    @Override
    ByteBuf content();

    @Override
    Http2GoAwayFrame copy();

    @Override
    Http2GoAwayFrame duplicate();

    @Override
    Http2GoAwayFrame retainedDuplicate();

    @Override
    Http2GoAwayFrame replace(ByteBuf content);

    @Override
    Http2GoAwayFrame retain();

    @Override
    Http2GoAwayFrame retain(int increment);

    @Override
    Http2GoAwayFrame touch();

    @Override
    Http2GoAwayFrame touch(Object hint);
}

Frequently Asked Questions

What is the Http2GoAwayFrame type?
Http2GoAwayFrame is a type/interface in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2GoAwayFrame.java.
Where is Http2GoAwayFrame defined?
Http2GoAwayFrame is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2GoAwayFrame.java at line 31.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free