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

- Packages that use ProtocolIOSession
  Package | Description
  --- | ---
  org.apache.hc.core5.http.impl.bootstrap | HTTP/1.1 requester and server bootstrap.
  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.http.nio.ssl | TLS protocol support.
  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.impl.nio.bootstrap | HTTP/2 capable requester and server bootstrap.
  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.bootstrap

    Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type ProtocolIOSession
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | HttpAsyncRequester.`doTlsUpgrade(ProtocolIOSession ioSession, NamedEndpoint endpoint, FutureCallback<ProtocolIOSession> callback)`

    Method parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type ProtocolIOSession
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | HttpAsyncRequester.`doTlsUpgrade(ProtocolIOSession ioSession, NamedEndpoint endpoint, FutureCallback<ProtocolIOSession> callback)`

  - ### 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` | ClientHttp1IOEventHandlerFactory.`createHandler(ProtocolIOSession ioSession, Object attachment)`
    `IOEventHandler` | ServerHttp1IOEventHandlerFactory.`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)`
    `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)`

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

    Method parameters in org.apache.hc.core5.http.nio.ssl with type arguments of type ProtocolIOSession
    Modifier and Type | Method and Description
    --- | ---
    `void` | TlsUpgradeCapable.`tlsUpgrade(NamedEndpoint endpoint, FutureCallback<ProtocolIOSession> callback)`

  - ### 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
    --- | ---
    `ClientH2StreamMultiplexer` | ClientH2StreamMultiplexerFactory.`create(ProtocolIOSession ioSession)`
    `ServerH2StreamMultiplexer` | ServerH2StreamMultiplexerFactory.`create(ProtocolIOSession ioSession)`
    `HttpConnectionEventHandler` | ServerHttpProtocolNegotiationStarter.`createHandler(ProtocolIOSession ioSession, Object attachment)`
    `HttpConnectionEventHandler` | ClientHttpProtocolNegotiationStarter.`createHandler(ProtocolIOSession ioSession, Object attachment)`
    `void` | ServerHttp1UpgradeHandler.`upgrade(ProtocolIOSession ioSession, FutureCallback<ProtocolIOSession> callback)`
    `void` | ClientHttp1UpgradeHandler.`upgrade(ProtocolIOSession ioSession, FutureCallback<ProtocolIOSession> callback)`
    `void` | ClientH2UpgradeHandler.`upgrade(ProtocolIOSession ioSession, FutureCallback<ProtocolIOSession> callback)`
    `void` | ServerH2UpgradeHandler.`upgrade(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
    --- | ---
    `void` | ServerHttp1UpgradeHandler.`upgrade(ProtocolIOSession ioSession, FutureCallback<ProtocolIOSession> callback)`
    `void` | ClientHttp1UpgradeHandler.`upgrade(ProtocolIOSession ioSession, FutureCallback<ProtocolIOSession> callback)`
    `void` | ClientH2UpgradeHandler.`upgrade(ProtocolIOSession ioSession, FutureCallback<ProtocolIOSession> callback)`
    `void` | ServerH2UpgradeHandler.`upgrade(ProtocolIOSession ioSession, FutureCallback<ProtocolIOSession> callback)`

    Constructors in org.apache.hc.core5.http2.impl.nio with parameters of type ProtocolIOSession
    Constructor and Description
    `ClientH2PrefaceHandler(ProtocolIOSession ioSession, ClientH2StreamMultiplexerFactory http2StreamHandlerFactory, boolean strictALPNHandshake)`
    `ClientH2PrefaceHandler(ProtocolIOSession ioSession, ClientH2StreamMultiplexerFactory http2StreamHandlerFactory, boolean strictALPNHandshake, FutureCallback<ProtocolIOSession> resultCallback)`
    `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)`
    `HttpProtocolNegotiator(ProtocolIOSession ioSession, FutureCallback<ProtocolIOSession> resultCallback)`
    `ServerH2PrefaceHandler(ProtocolIOSession ioSession, ServerH2StreamMultiplexerFactory http2StreamHandlerFactory)`
    `ServerH2PrefaceHandler(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)`

    Constructor parameters in org.apache.hc.core5.http2.impl.nio with type arguments of type ProtocolIOSession
    Constructor and Description
    `ClientH2PrefaceHandler(ProtocolIOSession ioSession, ClientH2StreamMultiplexerFactory http2StreamHandlerFactory, boolean strictALPNHandshake, FutureCallback<ProtocolIOSession> resultCallback)`
    `HttpProtocolNegotiator(ProtocolIOSession ioSession, FutureCallback<ProtocolIOSession> resultCallback)`
    `ServerH2PrefaceHandler(ProtocolIOSession ioSession, ServerH2StreamMultiplexerFactory http2StreamHandlerFactory, FutureCallback<ProtocolIOSession> resultCallback)`

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

    Methods in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type ProtocolIOSession
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | H2AsyncRequester.`doTlsUpgrade(ProtocolIOSession ioSession, NamedEndpoint endpoint, FutureCallback<ProtocolIOSession> callback)`

    Method parameters in org.apache.hc.core5.http2.impl.nio.bootstrap with type arguments of type ProtocolIOSession
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | H2AsyncRequester.`doTlsUpgrade(ProtocolIOSession ioSession, NamedEndpoint endpoint, 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` | IOEventHandlerFactory.`createHandler(ProtocolIOSession ioSession, Object attachment)`
    `IOEventHandler` | SocksProxyProtocolHandlerFactory.`createHandler(ProtocolIOSession ioSession, Object attachment)` Deprecated.
    `void` | ProtocolUpgradeHandler.`upgrade(ProtocolIOSession ioSession, 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
    --- | ---
    `default void` | ProtocolIOSession.`switchProtocol(String protocolId, FutureCallback<ProtocolIOSession> callback)` Switches this I/O session to the application protocol with the given ID.
    `void` | ProtocolUpgradeHandler.`upgrade(ProtocolIOSession ioSession, 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–2021 The Apache Software Foundation. All rights reserved.