public class TransportSslOptions extends TransportOptions
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CONTEXT_PROTOCOL |
static List<String> |
DEFAULT_DISABLED_PROTOCOLS |
static int |
DEFAULT_SSL_PORT |
static String |
DEFAULT_STORE_TYPE |
static boolean |
DEFAULT_TRUST_ALL |
static boolean |
DEFAULT_VERIFY_HOST |
static TransportSslOptions |
INSTANCE |
DEFAULT_CONNECT_TIMEOUT, DEFAULT_RECEIVE_BUFFER_SIZE, DEFAULT_SEND_BUFFER_SIZE, DEFAULT_SO_LINGER, DEFAULT_SO_TIMEOUT, DEFAULT_TCP_KEEP_ALIVE, DEFAULT_TCP_NO_DELAY, DEFAULT_TCP_PORT, DEFAULT_TRAFFIC_CLASS
Constructor and Description |
---|
TransportSslOptions() |
copyOptions, getConnectTimeout, getDefaultTcpPort, getReceiveBufferSize, getSendBufferSize, getSoLinger, getSoTimeout, getTrafficClass, isTcpKeepAlive, isTcpNoDelay, setConnectTimeout, setDefaultTcpPort, setReceiveBufferSize, setSendBufferSize, setSoLinger, setSoTimeout, setTcpKeepAlive, setTcpNoDelay, setTrafficClass
public static final String DEFAULT_STORE_TYPE
public static final String DEFAULT_CONTEXT_PROTOCOL
public static final boolean DEFAULT_TRUST_ALL
public static final boolean DEFAULT_VERIFY_HOST
public static final int DEFAULT_SSL_PORT
public static final TransportSslOptions INSTANCE
public String getKeyStoreLocation()
public void setKeyStoreLocation(String keyStoreLocation)
keyStoreLocation
- the keyStoreLocation to use to create the key manager.public String getKeyStorePassword()
public void setKeyStorePassword(String keyStorePassword)
keyStorePassword
- the keyStorePassword to setpublic String getTrustStoreLocation()
public void setTrustStoreLocation(String trustStoreLocation)
trustStoreLocation
- the trustStoreLocation to setpublic String getTrustStorePassword()
public void setTrustStorePassword(String trustStorePassword)
trustStorePassword
- the trustStorePassword to setpublic String getStoreType()
public void setStoreType(String storeType)
storeType
- the format that the store files are encoded in.public String[] getEnabledCipherSuites()
public void setEnabledCipherSuites(String[] enabledCipherSuites)
enabledCipherSuites
- the enabledCipherSuites to setpublic String[] getDisabledCipherSuites()
public void setDisabledCipherSuites(String[] disabledCipherSuites)
disabledCipherSuites
- the disabledCipherSuites to setpublic String[] getEnabledProtocols()
public void setEnabledProtocols(String[] enabledProtocols)
enabledProtocols
- the enabled protocols to set, or null if the defaults should be used.public String[] getDisabledProtocols()
public void setDisabledProtocols(String[] disabledProtocols)
disabledProtocols
- the protocols to disable, or null if none should be.public String getContextProtocol()
public void setContextProtocol(String contextProtocol)
contextProtocol
- the context protocol to use.public boolean isTrustAll()
public void setTrustAll(boolean trustAll)
trustAll
- the trustAll to setpublic boolean isVerifyHost()
public void setVerifyHost(boolean verifyHost)
verifyHost
- the verifyHost to setpublic String getKeyAlias()
public void setKeyAlias(String keyAlias)
keyAlias
- the key alias to usepublic int getDefaultSslPort()
public void setDefaultSslPort(int defaultSslPort)
public TransportSslOptions clone()
clone
in class TransportOptions
protected TransportSslOptions copyOptions(TransportSslOptions copy)
Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.