org.apache.hc.core5.reactor

## Interface ProtocolIOSession

- All Superinterfaces:
    AutoCloseable, ByteChannel, Channel, Closeable, Identifiable, IOSession, ModalCloseable, ReadableByteChannel, SocketModalCloseable, TransportSecurityLayer, WritableByteChannel

      public interface ProtocolIOSession
      extends IOSession, TransportSecurityLayer

  TLS capable, protocol upgradable `IOSession`.
  Since:
    5.0

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.apache.hc.core5.reactor.IOSession

      `IOSession.Status`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `NamedEndpoint` | `getInitialEndpoint()`

    - ### Methods inherited from interface org.apache.hc.core5.reactor.IOSession

      `channel, clearEvent, close, enqueue, getEventMask, getHandler, getLastEventTime, getLastReadTime, getLastWriteTime, getLocalAddress, getLock, getRemoteAddress, getSocketTimeout, getStatus, hasCommands, poll, setEvent, setEventMask, setSocketTimeout, updateReadTime, updateWriteTime, upgrade`

    - ### Methods inherited from interface java.nio.channels.ReadableByteChannel

      `read`

    - ### Methods inherited from interface java.nio.channels.WritableByteChannel

      `write`

    - ### Methods inherited from interface java.nio.channels.Channel

      `isOpen`

    - ### Methods inherited from interface org.apache.hc.core5.io.ModalCloseable

      `close`

    - ### Methods inherited from interface org.apache.hc.core5.util.Identifiable

      `getId`

    - ### Methods inherited from interface org.apache.hc.core5.reactor.ssl.TransportSecurityLayer

      `getTlsDetails, startTls`

- - ### Method Detail

    - #### getInitialEndpoint

          NamedEndpoint getInitialEndpoint()

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