
com.webpieces.http2parser.api.dto.Http2WindowUpdate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http2-parser Show documentation
Show all versions of http2-parser Show documentation
A re-usable asynchronous http2 parser
package com.webpieces.http2parser.api.dto;
import org.webpieces.data.api.DataWrapper;
import java.nio.ByteBuffer;
public class Http2WindowUpdate extends Http2Frame {
public Http2FrameType getFrameType() {
return Http2FrameType.WINDOW_UPDATE;
}
/* flags */
public void unmarshalFlags(byte flags) {
}
/* payload */
//1bit reserved
private int windowSizeIncrement; //31 bits
public int getWindowSizeIncrement() {
return windowSizeIncrement;
}
public void setWindowSizeIncrement(int windowSizeIncrement) {
this.windowSizeIncrement = windowSizeIncrement & 0x7FFFFFFF;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy