All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.firefly.codec.http2.frame.WindowUpdateFrame Maven / Gradle / Ivy

There is a newer version: 4.0.3.2
Show newest version
package com.firefly.codec.http2.frame;

public class WindowUpdateFrame extends Frame {
	private final int streamId;
	private final int windowDelta;

	public WindowUpdateFrame(int streamId, int windowDelta) {
		super(FrameType.WINDOW_UPDATE);
		this.streamId = streamId;
		this.windowDelta = windowDelta;
	}

	public int getStreamId() {
		return streamId;
	}

	public int getWindowDelta() {
		return windowDelta;
	}

	@Override
	public String toString() {
		return String.format("%s#%d,delta=%d", super.toString(), streamId, windowDelta);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy