## Uses of Interface
org.apache.hc.core5.reactor.ProtocolIOSession

- Packages that use ProtocolIOSession
  Package | Description
  --- | ---
  org.apache.hc.core5.http.impl.nio | Default implementation of HTTP/1.1 transport based on the asynchronous (non-blocking) I/O model.
  org.apache.hc.core5.http2.impl.nio | Default implementation of HTTP/2 transport based on the asynchronous (non-blocking) I/O model.
  org.apache.hc.core5.http2.ssl | HTTP/2 specific TLS protocol support.
  org.apache.hc.core5.reactor | Event driven network communication APIs and components loosely based on Doug Lea's reactor pattern.
  org.apache.hc.core5.testing.nio |

- - ### Uses of ProtocolIOSession in org.apache.hc.core5.http.impl.nio

    Methods in org.apache.hc.core5.http.impl.nio with parameters of type ProtocolIOSession
    Modifier and Type | Method and Description
    --- | ---
    `ClientHttp1StreamDuplexer` | ClientHttp1StreamDuplexerFactory.`create(ProtocolIOSession ioSession)`
    `ServerHttp1StreamDuplexer` | ServerHttp1StreamDuplexerFactory.`create(String scheme, ProtocolIOSession ioSession)`
    `IOEventHandler` | ServerHttp1IOEventHandlerFactory.`createHandler(ProtocolIOSession ioSession, Object attachment)`
    `IOEventHandler` | ClientHttp1IOEventHandlerFactory.`createHandler(ProtocolIOSession ioSession, Object attachment)`

    Constructors in org.apache.hc.core5.http.impl.nio with parameters of type ProtocolIOSession
    Constructor and Description
    `ClientHttp1StreamDuplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpResponse> incomingMessageParser, NHttpMessageWriter<HttpRequest> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener)`
    `ClientHttp1StreamDuplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpResponse> incomingMessageParser, NHttpMessageWriter<HttpRequest> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Lookup<ProtocolUpgradeHandler> protocolUpgradeHandlerLookup, Http1StreamListener streamListener)`
    `ServerHttp1StreamDuplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpRequest> incomingMessageParser, NHttpMessageWriter<HttpResponse> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener)`
    `ServerHttp1StreamDuplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpRequest> incomingMessageParser, NHttpMessageWriter<HttpResponse> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Lookup<ProtocolUpgradeHandler> protocolUpgradeHandlerLookup, Http1StreamListener streamListener)`

  - ### Uses of ProtocolIOSession in org.apache.hc.core5.http2.impl.nio

    Methods in org.apache.hc.core5.http2.impl.nio with parameters of type ProtocolIOSession
    Modifier and Type | Method and Description
    --- | ---
    `ServerH2StreamMultiplexer` | ServerH2StreamMultiplexerFactory.`create(ProtocolIOSession ioSession)`
    `ClientH2StreamMultiplexer` | ClientH2StreamMultiplexerFactory.`create(ProtocolIOSession ioSession)`
    `ServerHttpProtocolNegotiator` | ServerHttpProtocolNegotiatorFactory.`createHandler(ProtocolIOSession ioSession, Object attachment)`
    `ClientHttpProtocolNegotiator` | ClientHttpProtocolNegotiatorFactory.`createHandler(ProtocolIOSession ioSession, Object attachment)`
    `protected HttpConnectionEventHandler` | ServerH2UpgradeHandler.`createProtocolNegotiator(ProtocolIOSession ioSession, FutureCallback<ProtocolIOSession> callback)`
    `protected HttpConnectionEventHandler` | ClientH2UpgradeHandler.`createProtocolNegotiator(ProtocolIOSession ioSession, FutureCallback<ProtocolIOSession> callback)`

    Method parameters in org.apache.hc.core5.http2.impl.nio with type arguments of type ProtocolIOSession
    Modifier and Type | Method and Description
    --- | ---
    `protected HttpConnectionEventHandler` | ServerH2UpgradeHandler.`createProtocolNegotiator(ProtocolIOSession ioSession, FutureCallback<ProtocolIOSession> callback)`
    `protected HttpConnectionEventHandler` | ClientH2UpgradeHandler.`createProtocolNegotiator(ProtocolIOSession ioSession, FutureCallback<ProtocolIOSession> callback)`

    Constructors in org.apache.hc.core5.http2.impl.nio with parameters of type ProtocolIOSession
    Constructor and Description
    `ClientH2StreamMultiplexer(ProtocolIOSession ioSession, FrameFactory frameFactory, HttpProcessor httpProcessor, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, H2Config h2Config, CharCodingConfig charCodingConfig, H2StreamListener streamListener)`
    `ClientH2StreamMultiplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, H2Config h2Config, CharCodingConfig charCodingConfig)`
    `ClientH2StreamMultiplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, H2Config h2Config, CharCodingConfig charCodingConfig)`
    `ClientHttpProtocolNegotiator(ProtocolIOSession ioSession, ClientHttp1StreamDuplexerFactory http1StreamHandlerFactory, ClientH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy)`
    `ClientHttpProtocolNegotiator(ProtocolIOSession ioSession, ClientHttp1StreamDuplexerFactory http1StreamHandlerFactory, ClientH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy, FutureCallback<ProtocolIOSession> resultCallback)`
    `H2OnlyClientProtocolNegotiator(ProtocolIOSession ioSession, ClientH2StreamMultiplexerFactory http2StreamHandlerFactory, boolean strictALPNHandshake)`
    `H2OnlyClientProtocolNegotiator(ProtocolIOSession ioSession, ClientH2StreamMultiplexerFactory http2StreamHandlerFactory, boolean strictALPNHandshake, FutureCallback<ProtocolIOSession> resultCallback)`
    `H2OnlyServerHttpProtocolNegotiator(ProtocolIOSession ioSession, ServerH2StreamMultiplexerFactory http2StreamHandlerFactory)`
    `H2OnlyServerHttpProtocolNegotiator(ProtocolIOSession ioSession, ServerH2StreamMultiplexerFactory http2StreamHandlerFactory, FutureCallback<ProtocolIOSession> resultCallback)`
    `ServerH2StreamMultiplexer(ProtocolIOSession ioSession, FrameFactory frameFactory, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, CharCodingConfig charCodingConfig, H2Config h2Config, H2StreamListener streamListener)`
    `ServerH2StreamMultiplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, CharCodingConfig charCodingConfig, H2Config h2Config)`
    `ServerHttpProtocolNegotiator(ProtocolIOSession ioSession, ServerHttp1StreamDuplexerFactory http1StreamHandlerFactory, ServerH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy)`
    `ServerHttpProtocolNegotiator(ProtocolIOSession ioSession, ServerHttp1StreamDuplexerFactory http1StreamHandlerFactory, ServerH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy, FutureCallback<ProtocolIOSession> resultCallback)`

    Constructor parameters in org.apache.hc.core5.http2.impl.nio with type arguments of type ProtocolIOSession
    Constructor and Description
    `ClientHttpProtocolNegotiator(ProtocolIOSession ioSession, ClientHttp1StreamDuplexerFactory http1StreamHandlerFactory, ClientH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy, FutureCallback<ProtocolIOSession> resultCallback)`
    `H2OnlyClientProtocolNegotiator(ProtocolIOSession ioSession, ClientH2StreamMultiplexerFactory http2StreamHandlerFactory, boolean strictALPNHandshake, FutureCallback<ProtocolIOSession> resultCallback)`
    `H2OnlyServerHttpProtocolNegotiator(ProtocolIOSession ioSession, ServerH2StreamMultiplexerFactory http2StreamHandlerFactory, FutureCallback<ProtocolIOSession> resultCallback)`
    `ServerHttpProtocolNegotiator(ProtocolIOSession ioSession, ServerHttp1StreamDuplexerFactory http1StreamHandlerFactory, ServerH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy, FutureCallback<ProtocolIOSession> resultCallback)`

  - ### Uses of ProtocolIOSession in org.apache.hc.core5.http2.ssl

    Methods in org.apache.hc.core5.http2.ssl with parameters of type ProtocolIOSession
    Modifier and Type | Method and Description
    --- | ---
    `void` | TlsUpgradeHandler.`upgrade(ProtocolIOSession ioSession, EndpointParameters parameters, FutureCallback<ProtocolIOSession> callback)`

    Method parameters in org.apache.hc.core5.http2.ssl with type arguments of type ProtocolIOSession
    Modifier and Type | Method and Description
    --- | ---
    `void` | TlsUpgradeHandler.`upgrade(ProtocolIOSession ioSession, EndpointParameters parameters, FutureCallback<ProtocolIOSession> callback)`

  - ### Uses of ProtocolIOSession in org.apache.hc.core5.reactor

    Methods in org.apache.hc.core5.reactor with parameters of type ProtocolIOSession
    Modifier and Type | Method and Description
    --- | ---
    `IOEventHandler` | SocksProxyProtocolHandlerFactory.`createHandler(ProtocolIOSession ioSession, Object attachment)`
    `IOEventHandler` | IOEventHandlerFactory.`createHandler(ProtocolIOSession ioSession, Object attachment)`
    `void` | ProtocolUpgradeHandler.`upgrade(ProtocolIOSession ioSession, EndpointParameters parameters, FutureCallback<ProtocolIOSession> callback)` Upgrades application protocol of the given I/O session.

    Method parameters in org.apache.hc.core5.reactor with type arguments of type ProtocolIOSession
    Modifier and Type | Method and Description
    --- | ---
    `void` | TransportSecurityLayerEx.`subscribe(FutureCallback<ProtocolIOSession> callback)` Adds subscription to the TLS handshake completion event.
    `void` | ProtocolUpgradeHandler.`upgrade(ProtocolIOSession ioSession, EndpointParameters parameters, FutureCallback<ProtocolIOSession> callback)` Upgrades application protocol of the given I/O session.

  - ### Uses of ProtocolIOSession in org.apache.hc.core5.testing.nio

    Constructors in org.apache.hc.core5.testing.nio with parameters of type ProtocolIOSession
    Constructor and Description
    `LoggingIOSession(ProtocolIOSession session, org.slf4j.Logger log)`

Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.