public interface Transport
| Modifier and Type | Field and Description |
|---|---|
static io.netty.util.AttributeKey<Transport> |
TRANSPORT_ATTRIBUTE_KEY |
| Modifier and Type | Method and Description |
|---|---|
void |
awaitResponse(java.lang.Integer streamId) |
void |
awaitSettings() |
void |
close() |
Transport |
execute(Request request) |
<T> java.util.concurrent.CompletableFuture<T> |
execute(Request request,
java.util.function.Function<io.netty.handler.codec.http.FullHttpResponse,T> supplier) |
void |
fail(java.lang.Throwable throwable) |
Transport |
get() |
java.util.Map<io.netty.handler.codec.http.cookie.Cookie,java.lang.Boolean> |
getCookieBox() |
java.lang.Throwable |
getFailure() |
void |
headersReceived(java.lang.Integer streamId,
io.netty.handler.codec.http.HttpHeaders httpHeaders) |
boolean |
isFailed() |
java.lang.Integer |
nextStream() |
void |
pushPromiseReceived(java.lang.Integer streamId,
java.lang.Integer promisedStreamId,
io.netty.handler.codec.http2.Http2Headers headers) |
void |
responseReceived(java.lang.Integer streamId,
io.netty.handler.codec.http.FullHttpResponse fullHttpResponse) |
void |
setCookieBox(java.util.Map<io.netty.handler.codec.http.cookie.Cookie,java.lang.Boolean> cookieBox) |
void |
settingsReceived(io.netty.channel.Channel channel,
io.netty.handler.codec.http2.Http2Settings http2Settings) |
void |
success() |
static final io.netty.util.AttributeKey<Transport> TRANSPORT_ATTRIBUTE_KEY
<T> java.util.concurrent.CompletableFuture<T> execute(Request request, java.util.function.Function<io.netty.handler.codec.http.FullHttpResponse,T> supplier) throws java.io.IOException
java.io.IOExceptionjava.lang.Integer nextStream()
void settingsReceived(io.netty.channel.Channel channel,
io.netty.handler.codec.http2.Http2Settings http2Settings)
void awaitSettings()
void setCookieBox(java.util.Map<io.netty.handler.codec.http.cookie.Cookie,java.lang.Boolean> cookieBox)
java.util.Map<io.netty.handler.codec.http.cookie.Cookie,java.lang.Boolean> getCookieBox()
void responseReceived(java.lang.Integer streamId,
io.netty.handler.codec.http.FullHttpResponse fullHttpResponse)
void headersReceived(java.lang.Integer streamId,
io.netty.handler.codec.http.HttpHeaders httpHeaders)
void pushPromiseReceived(java.lang.Integer streamId,
java.lang.Integer promisedStreamId,
io.netty.handler.codec.http2.Http2Headers headers)
void awaitResponse(java.lang.Integer streamId)
throws java.io.IOException,
java.util.concurrent.TimeoutException
java.io.IOExceptionjava.util.concurrent.TimeoutExceptionTransport get()
void success()
void fail(java.lang.Throwable throwable)
boolean isFailed()
java.lang.Throwable getFailure()
void close()
throws java.io.IOException
java.io.IOException