@SuppressWarnings("unchecked") protected <K> void writeDownStream(final K anyMessage, final CompletionHandler<WriteResult> completionHandler, final MessageCloner<Buffer> messageCloner) { // Encode Http2Frame -> Buffer final Object msg; if (anyMessage instanceof List) { msg = frameCodec().serializeAndRecycle( http2Session, (List<Http2Frame>) anyMessage); } else if (anyMessage instanceof Http2Frame) { msg = frameCodec().serializeAndRecycle( http2Session, (Http2Frame) anyMessage); } else { msg = anyMessage; } http2Session.getHttp2SessionChain().write(http2Session.getConnection(), null, msg, completionHandler, messageCloner); }
@SuppressWarnings("unchecked") protected <K> void writeDownStream(final K anyMessage, final CompletionHandler<WriteResult> completionHandler, final MessageCloner<Buffer> messageCloner) { // Encode Http2Frame -> Buffer final Object msg; if (anyMessage instanceof List) { msg = frameCodec().serializeAndRecycle( http2Session, (List<Http2Frame>) anyMessage); } else if (anyMessage instanceof Http2Frame) { msg = frameCodec().serializeAndRecycle( http2Session, (Http2Frame) anyMessage); } else { msg = anyMessage; } http2Session.getHttp2SessionChain().write(http2Session.getConnection(), null, msg, completionHandler, messageCloner); }
protected void writeDownStream(final Http2Frame frame) { http2Session.getHttp2SessionChain().write( http2Session.getConnection(), null, frameCodec().serializeAndRecycle(http2Session, frame), null, (MessageCloner) null); }
protected void writeDownStream(final List<Http2Frame> frames) { http2Session.getHttp2SessionChain().write( http2Session.getConnection(), null, frameCodec().serializeAndRecycle(http2Session, frames), null, (MessageCloner) null); }
protected void writeDownStream(final List<Http2Frame> frames) { http2Session.getHttp2SessionChain().write( http2Session.getConnection(), null, frameCodec().serializeAndRecycle(http2Session, frames), null, (MessageCloner) null); }
protected void writeDownStream(final Http2Frame frame) { http2Session.getHttp2SessionChain().write( http2Session.getConnection(), null, frameCodec().serializeAndRecycle(http2Session, frame), null, (MessageCloner) null); }
protected void writeDownStream(final Http2Frame frame) { http2Session.getHttp2SessionChain().write( http2Session.getConnection(), null, frameCodec().serializeAndRecycle(http2Session, frame), null, (MessageCloner) null); }
protected void writeDownStream(final List<Http2Frame> frames) { http2Session.getHttp2SessionChain().write( http2Session.getConnection(), null, frameCodec().serializeAndRecycle(http2Session, frames), null, (MessageCloner) null); }
protected void writeDownStream(final Http2Frame frame) { http2Session.getHttp2SessionChain().write( http2Session.getConnection(), null, frameCodec().serializeAndRecycle(http2Session, frame), null, (MessageCloner) null); }
protected void writeDownStream(final Http2Frame frame) { http2Session.getHttp2SessionChain().write( http2Session.getConnection(), null, frameCodec().serializeAndRecycle(http2Session, frame), null, (MessageCloner) null); }
protected void writeDownStream(final List<Http2Frame> frames) { http2Session.getHttp2SessionChain().write( http2Session.getConnection(), null, frameCodec().serializeAndRecycle(http2Session, frames), null, (MessageCloner) null); }
protected void writeDownStream(final List<Http2Frame> frames) { http2Session.getHttp2SessionChain().write( http2Session.getConnection(), null, frameCodec().serializeAndRecycle(http2Session, frames), null, (MessageCloner) null); }
protected void writeDownStream(final List<Http2Frame> frames) { http2Session.getHttp2SessionChain().write( http2Session.getConnection(), null, frameCodec().serializeAndRecycle(http2Session, frames), null, (MessageCloner) null); }
protected void writeDownStream(final Http2Frame frame) { http2Session.getHttp2SessionChain().write( http2Session.getConnection(), null, frameCodec().serializeAndRecycle(http2Session, frame), null, (MessageCloner) null); }
protected void writeDownStream(final Http2Frame frame) { http2Session.getHttp2SessionChain().write( http2Session.getConnection(), null, frameCodec().serializeAndRecycle(http2Session, frame), null, (MessageCloner) null); }
protected void writeDownStream(final List<Http2Frame> frames) { http2Session.getHttp2SessionChain().write( http2Session.getConnection(), null, frameCodec().serializeAndRecycle(http2Session, frames), null, (MessageCloner) null); }
protected void writeDownStream(final List<Http2Frame> frames) { http2Session.getHttp2SessionChain().write( http2Session.getConnection(), null, frameCodec().serializeAndRecycle(http2Session, frames), null, (MessageCloner) null); }
protected void writeDownStream(final Http2Frame frame) { http2Session.getHttp2SessionChain().write( http2Session.getConnection(), null, frameCodec().serializeAndRecycle(http2Session, frame), null, (MessageCloner) null); }
protected void writeDownStream(final Http2Frame frame) { http2Session.getHttp2SessionChain().write( http2Session.getConnection(), null, frameCodec().serializeAndRecycle(http2Session, frame), null, (MessageCloner) null); }
protected void writeDownStream(final List<Http2Frame> frames) { http2Session.getHttp2SessionChain().write( http2Session.getConnection(), null, frameCodec().serializeAndRecycle(http2Session, frames), null, (MessageCloner) null); }