com.webpieces.http2parser.api.dto.Http2Ping 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 Http2Ping extends Http2Frame {
@Override
public Http2FrameType getFrameType() {
return Http2FrameType.PING;
}
/* flags */
private boolean isPingResponse = false; /* 0x1 */
public boolean isPingResponse() {
return isPingResponse;
}
public void setIsPingResponse(boolean isPingResponse) {
this.isPingResponse = isPingResponse;
}
/* payload */
private long opaqueData = 0x0;
public long getOpaqueData() {
return opaqueData;
}
public void setOpaqueData(long opaqueData) {
this.opaqueData = opaqueData;
}
@Override
public String toString() {
return "Http2Ping{" +
"isPingResponse=" + isPingResponse +
", opaqueData=" + opaqueData +
"} " + super.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy