public interface HttpClientStream
int id()
1
denotes the first stream, HTTP/1 is a simple sequence, HTTP/2
is the actual stream identifier.Object metric()
HttpVersion version()
HttpClientConnection connection()
ContextInternal getContext()
void writeHead(HttpRequestHead request, boolean chunked, io.netty.buffer.ByteBuf buf, boolean end, StreamPriority priority, boolean connect, Handler<AsyncResult<Void>> handler)
void writeBuffer(io.netty.buffer.ByteBuf buf, boolean end, Handler<AsyncResult<Void>> listener)
void writeFrame(int type, int flags, io.netty.buffer.ByteBuf payload)
void pushHandler(Handler<HttpClientPush> handler)
void headHandler(Handler<HttpResponseHead> handler)
void priorityHandler(Handler<StreamPriority> handler)
void doSetWriteQueueMaxSize(int size)
boolean isNotWritable()
void doPause()
void doFetch(long amount)
void reset(Throwable cause)
StreamPriority priority()
void updatePriority(StreamPriority streamPriority)
Copyright © 2021. All rights reserved.