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;
public class Http2WindowUpdate extends Http2Frame {
@Override
public Http2FrameType getFrameType() {
return Http2FrameType.WINDOW_UPDATE;
}
/* flags */
/* payload */
//1bit reserved
private int windowSizeIncrement; //31 bits
public int getWindowSizeIncrement() {
return windowSizeIncrement;
}
public void setWindowSizeIncrement(int windowSizeIncrement) {
this.windowSizeIncrement = windowSizeIncrement & 0x7FFFFFFF;
}
@Override
public String toString() {
return "Http2WindowUpdate{" +
"windowSizeIncrement=" + windowSizeIncrement +
"} " + super.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy