Package org.eclipse.jetty.io.ssl
Class SslClientConnectionFactory
java.lang.Object
org.eclipse.jetty.io.ssl.SslClientConnectionFactory
- All Implemented Interfaces:
ClientConnectionFactory
@Deprecated(since="2021-05-27")
public class SslClientConnectionFactory
extends Object
implements ClientConnectionFactory
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
A ClientConnectionFactory that creates client-side SslConnection instances.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Nested classes/interfaces inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
ClientConnectionFactory.Decorator -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.Fields inherited from interface org.eclipse.jetty.io.ClientConnectionFactory
CONNECTOR_CONTEXT_KEY -
Constructor Summary
ConstructorsConstructorDescriptionSslClientConnectionFactory(SslContextFactory sslContextFactory, ByteBufferPool byteBufferPool, Executor executor, ClientConnectionFactory connectionFactory) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptioncustomize(Connection connection, Map<String, Object> context) Deprecated.booleanDeprecated.useisRequireCloseMessage()insteadbooleanDeprecated.booleanDeprecated.booleanDeprecated.newConnection(EndPoint endPoint, Map<String, Object> context) Deprecated.voidsetAllowMissingCloseMessage(boolean allowMissingCloseMessage) Deprecated.usesetRequireCloseMessage(boolean)insteadvoidsetDirectBuffersForDecryption(boolean useDirectBuffers) Deprecated.voidsetDirectBuffersForEncryption(boolean useDirectBuffers) Deprecated.voidsetRequireCloseMessage(boolean requireCloseMessage) Deprecated.
-
Field Details
-
SSL_CONTEXT_FACTORY_CONTEXT_KEY
Deprecated.- See Also:
-
SSL_PEER_HOST_CONTEXT_KEY
Deprecated.- See Also:
-
SSL_PEER_PORT_CONTEXT_KEY
Deprecated.- See Also:
-
SSL_ENGINE_CONTEXT_KEY
Deprecated.- See Also:
-
-
Constructor Details
-
SslClientConnectionFactory
public SslClientConnectionFactory(SslContextFactory sslContextFactory, ByteBufferPool byteBufferPool, Executor executor, ClientConnectionFactory connectionFactory) Deprecated.
-
-
Method Details
-
setDirectBuffersForEncryption
public void setDirectBuffersForEncryption(boolean useDirectBuffers) Deprecated. -
setDirectBuffersForDecryption
public void setDirectBuffersForDecryption(boolean useDirectBuffers) Deprecated. -
isDirectBuffersForDecryption
public boolean isDirectBuffersForDecryption()Deprecated. -
isDirectBuffersForEncryption
public boolean isDirectBuffersForEncryption()Deprecated. -
isAllowMissingCloseMessage
Deprecated.useisRequireCloseMessage()instead- Returns:
- whether is not required that peers send the TLS
close_notifymessage
-
setAllowMissingCloseMessage
Deprecated.usesetRequireCloseMessage(boolean)instead- Parameters:
allowMissingCloseMessage- whether is not required that peers send the TLSclose_notifymessage
-
isRequireCloseMessage
public boolean isRequireCloseMessage()Deprecated.- Returns:
- whether peers must send the TLS
close_notifymessage - See Also:
-
setRequireCloseMessage
public void setRequireCloseMessage(boolean requireCloseMessage) Deprecated.- Parameters:
requireCloseMessage- whether peers must send the TLSclose_notifymessage- See Also:
-
newConnection
Deprecated.- Specified by:
newConnectionin interfaceClientConnectionFactory- Parameters:
endPoint- theEndPointto link the newly created connection tocontext- the context data to create the connection- Returns:
- a new
Connection - Throws:
IOException- if the connection cannot be created
-
customize
Deprecated.- Specified by:
customizein interfaceClientConnectionFactory
-