Home / Class/ DefaultSpdyWindowUpdateFrame Class — netty Architecture

DefaultSpdyWindowUpdateFrame Class — netty Architecture

Architecture documentation for the DefaultSpdyWindowUpdateFrame class in DefaultSpdyWindowUpdateFrame.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a649e069_80b0_4348_fc43_2d8af670f00e["DefaultSpdyWindowUpdateFrame"]
  443126fc_faa1_740f_569d_06c9f53b5eac["DefaultSpdyWindowUpdateFrame.java"]
  a649e069_80b0_4348_fc43_2d8af670f00e -->|defined in| 443126fc_faa1_740f_569d_06c9f53b5eac
  003241b7_bc94_b589_2503_14bfcffecf93["DefaultSpdyWindowUpdateFrame()"]
  a649e069_80b0_4348_fc43_2d8af670f00e -->|method| 003241b7_bc94_b589_2503_14bfcffecf93
  4cc72840_cf44_d5a0_ff6e_4040516ac65f["streamId()"]
  a649e069_80b0_4348_fc43_2d8af670f00e -->|method| 4cc72840_cf44_d5a0_ff6e_4040516ac65f
  6485bc80_9008_b3a1_eaa0_04854e87ad5c["SpdyWindowUpdateFrame()"]
  a649e069_80b0_4348_fc43_2d8af670f00e -->|method| 6485bc80_9008_b3a1_eaa0_04854e87ad5c
  ad5a0138_087b_c100_5127_3d85015920ef["deltaWindowSize()"]
  a649e069_80b0_4348_fc43_2d8af670f00e -->|method| ad5a0138_087b_c100_5127_3d85015920ef
  a00402c0_e038_c20e_7ca4_9d33f63a19aa["String()"]
  a649e069_80b0_4348_fc43_2d8af670f00e -->|method| a00402c0_e038_c20e_7ca4_9d33f63a19aa

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/spdy/DefaultSpdyWindowUpdateFrame.java lines 26–78

public class DefaultSpdyWindowUpdateFrame implements SpdyWindowUpdateFrame {

    private int streamId;
    private int deltaWindowSize;

    /**
     * Creates a new instance.
     *
     * @param streamId        the Stream-ID of this frame
     * @param deltaWindowSize the Delta-Window-Size of this frame
     */
    public DefaultSpdyWindowUpdateFrame(int streamId, int deltaWindowSize) {
        setStreamId(streamId);
        setDeltaWindowSize(deltaWindowSize);
    }

    @Override
    public int streamId() {
        return streamId;
    }

    @Override
    public SpdyWindowUpdateFrame setStreamId(int streamId) {
        checkPositiveOrZero(streamId, "streamId");
        this.streamId = streamId;
        return this;
    }

    @Override
    public int deltaWindowSize() {
        return deltaWindowSize;
    }

    @Override
    public SpdyWindowUpdateFrame setDeltaWindowSize(int deltaWindowSize) {
        checkPositive(deltaWindowSize, "deltaWindowSize");
        this.deltaWindowSize = deltaWindowSize;
        return this;
    }

    @Override
    public String toString() {
        return new StringBuilder()
            .append(StringUtil.simpleClassName(this))
            .append(StringUtil.NEWLINE)
            .append("--> Stream-ID = ")
            .append(streamId())
            .append(StringUtil.NEWLINE)
            .append("--> Delta-Window-Size = ")
            .append(deltaWindowSize())
            .toString();
    }
}

Frequently Asked Questions

What is the DefaultSpdyWindowUpdateFrame class?
DefaultSpdyWindowUpdateFrame is a class in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/spdy/DefaultSpdyWindowUpdateFrame.java.
Where is DefaultSpdyWindowUpdateFrame defined?
DefaultSpdyWindowUpdateFrame is defined in codec-http/src/main/java/io/netty/handler/codec/spdy/DefaultSpdyWindowUpdateFrame.java at line 26.

Analyze Your Own Codebase

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

Try Supermodel Free