@Override public Buffer toBuffer(final MemoryManager memoryManager) { final Buffer buffer = memoryManager.allocate(FRAME_HEADER_SIZE + 4); serializeFrameHeader(buffer); buffer.putInt(errorCode.getCode()); buffer.trim(); return buffer; }
@Override public Buffer toBuffer(final MemoryManager memoryManager) { final Buffer buffer = memoryManager.allocate(FRAME_HEADER_SIZE + 4); serializeFrameHeader(buffer); buffer.putInt(errorCode.getCode()); buffer.trim(); return buffer; }
@Override public Buffer toBuffer(final MemoryManager memoryManager) { final Buffer buffer = memoryManager.allocate(FRAME_HEADER_SIZE + 4); serializeFrameHeader(buffer); buffer.putInt(errorCode.getCode()); buffer.trim(); return buffer; }
@Override public Buffer toBuffer(final MemoryManager memoryManager) { final Buffer buffer = memoryManager.allocate(FRAME_HEADER_SIZE + 4); serializeFrameHeader(buffer); buffer.putInt(errorCode.getCode()); buffer.trim(); return buffer; }
static void log(final Context ctx, final Http2Session c, final RstStreamFrame frame) { validateParams(ctx, c, frame); if (isActive()) { LOGGER.log(LEVEL, RST_FMT, new Object[]{ escape(c.getConnection().toString()), ctx.getPrefix() + RST, frame.getStreamId(), frame.getErrorCode().getCode()}); } }
static void log(final Context ctx, final Http2Session c, final RstStreamFrame frame) { validateParams(ctx, c, frame); if (isActive()) { LOGGER.log(LEVEL, RST_FMT, new Object[]{ escape(c.getConnection().toString()), ctx.getPrefix() + RST, frame.getStreamId(), frame.getErrorCode().getCode()}); } }
static void log(final Context ctx, final Http2Session c, final RstStreamFrame frame) { validateParams(ctx, c, frame); if (isActive()) { LOGGER.log(LEVEL, RST_FMT, new Object[]{ escape(c.getConnection().toString()), ctx.getPrefix() + RST, frame.getStreamId(), frame.getErrorCode().getCode()}); } }
static void log(final Context ctx, final Http2Session c, final RstStreamFrame frame) { validateParams(ctx, c, frame); if (isActive()) { LOGGER.log(LEVEL, RST_FMT, new Object[]{ escape(c.getConnection().toString()), ctx.getPrefix() + RST, frame.getStreamId(), frame.getErrorCode().getCode()}); } }
static void log(final Context ctx, final Http2Session c, final RstStreamFrame frame) { validateParams(ctx, c, frame); if (isActive()) { LOGGER.log(LEVEL, RST_FMT, new Object[]{ escape(c.getConnection().toString()), ctx.getPrefix() + RST, frame.getStreamId(), frame.getErrorCode().getCode()}); } }
static void log(final Context ctx, final Http2Session c, final RstStreamFrame frame) { validateParams(ctx, c, frame); if (isActive()) { LOGGER.log(LEVEL, RST_FMT, new Object[]{ escape(c.getConnection().toString()), ctx.getPrefix() + RST, frame.getStreamId(), frame.getErrorCode().getCode()}); } }
@Override public Buffer toBuffer(final MemoryManager memoryManager) { final Buffer buffer = memoryManager.allocate(FRAME_HEADER_SIZE + 4); serializeFrameHeader(buffer); buffer.putInt(errorCode.getCode()); buffer.trim(); return buffer; }
static void log(final Context ctx, final Http2Session c, final RstStreamFrame frame) { validateParams(ctx, c, frame); if (isActive()) { LOGGER.log(LEVEL, RST_FMT, new Object[]{ escape(c.getConnection().toString()), ctx.getPrefix() + RST, frame.getStreamId(), frame.getErrorCode().getCode()}); } }
@Override public Buffer toBuffer(final MemoryManager memoryManager) { final Buffer buffer = memoryManager.allocate(FRAME_HEADER_SIZE + 4); serializeFrameHeader(buffer); buffer.putInt(errorCode.getCode()); buffer.trim(); return buffer; }
@Override public Buffer toBuffer(final MemoryManager memoryManager) { final Buffer buffer = memoryManager.allocate(FRAME_HEADER_SIZE + 4); serializeFrameHeader(buffer); buffer.putInt(errorCode.getCode()); buffer.trim(); return buffer; }
static void log(final Context ctx, final Http2Session c, final RstStreamFrame frame) { validateParams(ctx, c, frame); if (isActive()) { LOGGER.log(LEVEL, RST_FMT, new Object[]{ escape(c.getConnection().toString()), ctx.getPrefix() + RST, frame.getStreamId(), frame.getErrorCode().getCode()}); } }
static void log(final Context ctx, final Http2Session c, final RstStreamFrame frame) { validateParams(ctx, c, frame); if (isActive()) { LOGGER.log(LEVEL, RST_FMT, new Object[]{ escape(c.getConnection().toString()), ctx.getPrefix() + RST, frame.getStreamId(), frame.getErrorCode().getCode()}); } }
@Override public Buffer toBuffer(final MemoryManager memoryManager) { final Buffer buffer = memoryManager.allocate(FRAME_HEADER_SIZE + 4); serializeFrameHeader(buffer); buffer.putInt(errorCode.getCode()); buffer.trim(); return buffer; }
@Override public Buffer toBuffer(final MemoryManager memoryManager) { final Buffer buffer = memoryManager.allocate(FRAME_HEADER_SIZE + 4); serializeFrameHeader(buffer); buffer.putInt(errorCode.getCode()); buffer.trim(); return buffer; }
static void log(final Context ctx, final Http2Session c, final GoAwayFrame frame) { validateParams(ctx, c, frame); if (isActive()) { final Buffer b = frame.getAdditionalDebugData(); final String details = ((b != null) ? b.toStringContent() : NOT_AVAILABLE); LOGGER.log(LEVEL, GOAWAY_FMT, new Object[]{ escape(c.getConnection().toString()), ctx.getPrefix() + GOAWAY, frame.getStreamId(), frame.getLastStreamId(), frame.getErrorCode().getCode(), escape(details)}); } }
static void log(final Context ctx, final Http2Session c, final GoAwayFrame frame) { validateParams(ctx, c, frame); if (isActive()) { final Buffer b = frame.getAdditionalDebugData(); final String details = ((b != null) ? b.toStringContent() : NOT_AVAILABLE); LOGGER.log(LEVEL, GOAWAY_FMT, new Object[]{ escape(c.getConnection().toString()), ctx.getPrefix() + GOAWAY, frame.getStreamId(), frame.getLastStreamId(), frame.getErrorCode().getCode(), escape(details)}); } }