Interface H2StreamChannel
- All Superinterfaces:
Cancellable,CapacityChannel,DataStreamChannel,StreamChannel<ByteBuffer>
- All Known Implementing Classes:
AbstractH2StreamMultiplexer.H2StreamChannelImpl
-
Method Summary
Modifier and TypeMethodDescriptionintgetId()longbooleandefault booleanbooleanlocalReset(int errorCode) default booleanlocalReset(H2Error error) voidvoidpush(List<Header> headers, AsyncPushProducer pushProducer) voiddefault voidMethods inherited from interface org.apache.hc.core5.concurrent.Cancellable
cancelMethods inherited from interface org.apache.hc.core5.http.nio.CapacityChannel
updateMethods inherited from interface org.apache.hc.core5.http.nio.DataStreamChannel
endStream, requestOutput, writeMethods inherited from interface org.apache.hc.core5.http.nio.StreamChannel
endStream
-
Method Details
-
getId
int getId() -
getOutputWindow
AtomicInteger getOutputWindow() -
getInputWindow
AtomicInteger getInputWindow() -
submit
- Throws:
HttpExceptionIOException
-
push
- Throws:
HttpExceptionIOException
-
isLocalClosed
boolean isLocalClosed() -
markLocalClosed
void markLocalClosed() -
localReset
- Throws:
IOException
-
localReset
- Throws:
IOException
-
terminate
default void terminate() -
getLocalResetTime
long getLocalResetTime() -
isLocalReset
default boolean isLocalReset()
-