Top Description Fields Constructors Methods
org.apache.hc.core5.http2.impl.nio

public Class ClientH2StreamMultiplexer

extends AbstractH2StreamMultiplexer
Class Inheritance
Annotations
@Internal
Imports
java.io.IOException, org.apache.hc.core5.annotation.Internal, org.apache.hc.core5.http.config.CharCodingConfig, org.apache.hc.core5.http.impl.BasicHttpConnectionMetrics, org.apache.hc.core5.http.nio.AsyncClientExchangeHandler, .AsyncPushConsumer, .HandlerFactory, org.apache.hc.core5.http.nio.command.ExecutableCommand, .RequestExecutionCommand, org.apache.hc.core5.http.protocol.HttpCoreContext, .HttpProcessor, org.apache.hc.core5.http2.H2ConnectionException, .H2Error, org.apache.hc.core5.http2.config.H2Config, org.apache.hc.core5.http2.frame.DefaultFrameFactory, .FrameFactory, .StreamIdGenerator, org.apache.hc.core5.reactor.ProtocolIOSession

I/O event handler for events fired by ProtocolIOSession that implements client side HTTP/2 messaging protocol with full support for multiplexed message transmission.
Since
5.0

Field Summary

Modifier and TypeField and Description
private final HandlerFactory<AsyncPushConsumer>

Constructor Summary

AccessConstructor and Description
public
ClientH2StreamMultiplexer(final ProtocolIOSession ioSession, final FrameFactory frameFactory, final HttpProcessor httpProcessor, final HandlerFactory<AsyncPushConsumer> pushHandlerFactory, final H2Config h2Config, final CharCodingConfig charCodingConfig, final H2StreamListener streamListener)

public
ClientH2StreamMultiplexer(final ProtocolIOSession ioSession, final HttpProcessor httpProcessor, final HandlerFactory<AsyncPushConsumer> pushHandlerFactory, final H2Config h2Config, final CharCodingConfig charCodingConfig)

public
ClientH2StreamMultiplexer(final ProtocolIOSession ioSession, final HttpProcessor httpProcessor, final H2Config h2Config, final CharCodingConfig charCodingConfig)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv void
pack-priv void
pack-priv H2StreamHandler
pack-priv H2StreamHandler
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from org.apache.hc.core5.http2.impl.nio.AbstractH2StreamMultiplexer:
appendStatecloseclosedecodeHeadersgetEndpointDetailsgetIdgetLocalAddressgetProtocolVersiongetRemoteAddressgetSocketTimeoutgetSSLSessionisOpenonConnectonDisconnectonExceptiononInputonOutputonTimeoutsetSocketTimeout

Field Detail

pushHandlerFactoryback to summary
private final HandlerFactory<AsyncPushConsumer> pushHandlerFactory

Constructor Detail

ClientH2StreamMultiplexerback to summary
public ClientH2StreamMultiplexer(final ProtocolIOSession ioSession, final FrameFactory frameFactory, final HttpProcessor httpProcessor, final HandlerFactory<AsyncPushConsumer> pushHandlerFactory, final H2Config h2Config, final CharCodingConfig charCodingConfig, final H2StreamListener streamListener)
ClientH2StreamMultiplexerback to summary
public ClientH2StreamMultiplexer(final ProtocolIOSession ioSession, final HttpProcessor httpProcessor, final HandlerFactory<AsyncPushConsumer> pushHandlerFactory, final H2Config h2Config, final CharCodingConfig charCodingConfig)
ClientH2StreamMultiplexerback to summary
public ClientH2StreamMultiplexer(final ProtocolIOSession ioSession, final HttpProcessor httpProcessor, final H2Config h2Config, final CharCodingConfig charCodingConfig)

Method Detail

acceptHeaderFrameback to summary
pack-priv void acceptHeaderFrame() throws H2ConnectionException

Implements abstract org.apache.hc.core5.http2.impl.nio.AbstractH2StreamMultiplexer.acceptHeaderFrame.

Annotations
@Override
acceptPushFrameback to summary
pack-priv void acceptPushFrame() throws H2ConnectionException

Implements abstract org.apache.hc.core5.http2.impl.nio.AbstractH2StreamMultiplexer.acceptPushFrame.

Annotations
@Override
acceptPushRequestback to summary
pack-priv void acceptPushRequest() throws H2ConnectionException

Implements abstract org.apache.hc.core5.http2.impl.nio.AbstractH2StreamMultiplexer.acceptPushRequest.

Annotations
@Override
createLocallyInitiatedStreamback to summary
pack-priv H2StreamHandler createLocallyInitiatedStream(final ExecutableCommand command, final H2StreamChannel channel, final HttpProcessor httpProcessor, final BasicHttpConnectionMetrics connMetrics) throws IOException

Implements abstract org.apache.hc.core5.http2.impl.nio.AbstractH2StreamMultiplexer.createLocallyInitiatedStream.

Annotations
@Override
createRemotelyInitiatedStreamback to summary
pack-priv H2StreamHandler createRemotelyInitiatedStream(final H2StreamChannel channel, final HttpProcessor httpProcessor, final BasicHttpConnectionMetrics connMetrics, final HandlerFactory<AsyncPushConsumer> pushHandlerFactory) throws IOException

Implements abstract org.apache.hc.core5.http2.impl.nio.AbstractH2StreamMultiplexer.createRemotelyInitiatedStream.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override