Top Deprecated
Apache HttpComponents Core HTTP/2 5.2.4

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
org.apache.hc.core5.http2.impl.nio.FrameOutputBuffer.expand(final int maxFramePayloadSize)

Misnomer. Use resize(int).

org.apache.hc.core5.http2.ssl.ConscryptClientTlsStrategy.upgrade(final TransportSecurityLayer
the session layer
tlsSession
,
final HttpHost
the name of the opposite endpoint when given or null otherwise.
host
,
final SocketAddress
the address of the local endpoint.
localAddress
,
final SocketAddress
the address of the remote endpoint.
remoteAddress
,
final Object
arbitrary object passes to the TLS session initialization code.
attachment
,
final Timeout
the timeout to use while performing the TLS handshake; may be null.
handshakeTimeout
)

use upgrade(TransportSecurityLayer, NamedEndpoint, Object, Timeout, FutureCallback)

org.apache.hc.core5.http2.ssl.ConscryptServerTlsStrategy.securePortStrategy

Deprecated as a consequence of SecurePortStrategy being deprecated. See corresponding docs for further information.

org.apache.hc.core5.http2.ssl.ConscryptServerTlsStrategy.upgrade(final TransportSecurityLayer
the session layer
tlsSession
,
final HttpHost
the name of the opposite endpoint when given or null otherwise.
host
,
final SocketAddress
the address of the local endpoint.
localAddress
,
final SocketAddress
the address of the remote endpoint.
remoteAddress
,
final Object
arbitrary object passes to the TLS session initialization code.
attachment
,
final Timeout
the timeout to use while performing the TLS handshake; may be null.
handshakeTimeout
)

use upgrade(TransportSecurityLayer, NamedEndpoint, Object, Timeout, FutureCallback)

org.apache.hc.core5.http2.ssl.H2ClientTlsStrategy.upgrade(final TransportSecurityLayer
the session layer
tlsSession
,
final HttpHost
the name of the opposite endpoint when given or null otherwise.
host
,
final SocketAddress
the address of the local endpoint.
localAddress
,
final SocketAddress
the address of the remote endpoint.
remoteAddress
,
final Object
arbitrary object passes to the TLS session initialization code.
attachment
,
final Timeout
the timeout to use while performing the TLS handshake; may be null.
handshakeTimeout
)

use upgrade(TransportSecurityLayer, NamedEndpoint, Object, Timeout, FutureCallback)

org.apache.hc.core5.http2.ssl.H2ServerTlsStrategy.securePortStrategy

Deprecated as a consequence of SecurePortStrategy being deprecated. See corresponding docs for further information.

org.apache.hc.core5.http2.ssl.H2ServerTlsStrategy.upgrade(final TransportSecurityLayer
the session layer
tlsSession
,
final HttpHost
the name of the opposite endpoint when given or null otherwise.
host
,
final SocketAddress
the address of the local endpoint.
localAddress
,
final SocketAddress
the address of the remote endpoint.
remoteAddress
,
final Object
arbitrary object passes to the TLS session initialization code.
attachment
,
final Timeout
the timeout to use while performing the TLS handshake; may be null.
handshakeTimeout
)

use upgrade(TransportSecurityLayer, NamedEndpoint, Object, Timeout, FutureCallback)