Search in sources :

Example 1 with Http2ErrorCode

use of com.webpieces.http2.api.dto.lowlevel.lib.Http2ErrorCode in project webpieces by deanhiller.

the class GoAwayFrame method toString.

@Override
public String toString() {
    String debug = null;
    if (debugData != null)
        debug = "" + debugData.getReadableSize();
    String code = errorCode + "";
    Http2ErrorCode knownErrorCode = getKnownErrorCode();
    if (knownErrorCode != null)
        code = knownErrorCode + "";
    return "GoAwayFrame{" + super.toString() + ", lastStreamId=" + lastStreamId + ", errorCode=" + code + ", debugData.len=" + debug + "}";
}
Also used : Http2ErrorCode(com.webpieces.http2.api.dto.lowlevel.lib.Http2ErrorCode)

Aggregations

Http2ErrorCode (com.webpieces.http2.api.dto.lowlevel.lib.Http2ErrorCode)1