
com.webpieces.http2parser.api.dto.Http2RstStream 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 Http2RstStream extends Http2Frame {
public Http2FrameType getFrameType() {
return Http2FrameType.RST_STREAM;
}
/* flags */
/* payload */
private Http2ErrorCode errorCode; //32 bits
public Http2ErrorCode getErrorCode() {
return errorCode;
}
public void setErrorCode(Http2ErrorCode errorCode) {
this.errorCode = errorCode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy