org.apache.hc.core5.reactor

## Interface ProtocolUpgradeHandler

- All Known Implementing Classes:
    ClientH2UpgradeHandler, ServerH2UpgradeHandler, TlsUpgradeHandler

      @Internal
      public interface ProtocolUpgradeHandler

  Application protocol upgrade handler.
  Since:
    5.1

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `upgrade(ProtocolIOSession ioSession, EndpointParameters parameters, FutureCallback<ProtocolIOSession> callback)` Upgrades application protocol of the given I/O session.

- - ### Method Detail

    - #### upgrade

          void upgrade(ProtocolIOSession ioSession,
                     EndpointParameters parameters,
                     FutureCallback<ProtocolIOSession> callback)

      Upgrades application protocol of the given I/O session.

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