Package net.webpdf.wsclient.openapi
Class ServerConfigSSL
- java.lang.Object
-
- net.webpdf.wsclient.openapi.ServerConfigSSL
-
public class ServerConfigSSL extends Object
Defines settings for an SSL (TLS) connector.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CIPHERSstatic StringJSON_PROPERTY_CLIENT_AUTHstatic StringJSON_PROPERTY_CONFIGURATIONstatic StringJSON_PROPERTY_KEYSTOREstatic StringJSON_PROPERTY_MAX_THREADSstatic StringJSON_PROPERTY_PROTOCOLSstatic StringJSON_PROPERTY_SCHEMEstatic StringJSON_PROPERTY_SESSION_CACHE_SIZEstatic StringJSON_PROPERTY_SESSION_TIMEOUTstatic StringJSON_PROPERTY_TRUSTSTORE
-
Constructor Summary
Constructors Constructor Description ServerConfigSSL()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_CIPHERS
public static final String JSON_PROPERTY_CIPHERS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CLIENT_AUTH
public static final String JSON_PROPERTY_CLIENT_AUTH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONFIGURATION
public static final String JSON_PROPERTY_CONFIGURATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KEYSTORE
public static final String JSON_PROPERTY_KEYSTORE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_THREADS
public static final String JSON_PROPERTY_MAX_THREADS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROTOCOLS
public static final String JSON_PROPERTY_PROTOCOLS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCHEME
public static final String JSON_PROPERTY_SCHEME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SESSION_CACHE_SIZE
public static final String JSON_PROPERTY_SESSION_CACHE_SIZE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SESSION_TIMEOUT
public static final String JSON_PROPERTY_SESSION_TIMEOUT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRUSTSTORE
public static final String JSON_PROPERTY_TRUSTSTORE
- See Also:
- Constant Field Values
-
-
Method Detail
-
ciphers
public ServerConfigSSL ciphers(ServerConfigCiphersSSL ciphers)
-
getCiphers
@Nullable public @Nullable ServerConfigCiphersSSL getCiphers()
Get ciphers- Returns:
- ciphers
-
setCiphers
public void setCiphers(ServerConfigCiphersSSL ciphers)
-
clientAuth
public ServerConfigSSL clientAuth(Boolean clientAuth)
-
getClientAuth
@Nullable public @Nullable Boolean getClientAuth()
Whether a client must provide a valid certificate before being accepted by the connector.- Returns:
- clientAuth
-
setClientAuth
public void setClientAuth(Boolean clientAuth)
-
_configuration
public ServerConfigSSL _configuration(ServerConfigConnectorConfiguration _configuration)
-
getConfiguration
@Nullable public @Nullable ServerConfigConnectorConfiguration getConfiguration()
Get _configuration- Returns:
- _configuration
-
setConfiguration
public void setConfiguration(ServerConfigConnectorConfiguration _configuration)
-
keystore
public ServerConfigSSL keystore(ServerConfigKeystoreSSL keystore)
-
getKeystore
@NotNull public @NotNull ServerConfigKeystoreSSL getKeystore()
Get keystore- Returns:
- keystore
-
setKeystore
public void setKeystore(ServerConfigKeystoreSSL keystore)
-
maxThreads
public ServerConfigSSL maxThreads(Integer maxThreads)
-
getMaxThreads
@Nullable public @Nullable Integer getMaxThreads()
The maximum number of request processing threads created by this connector. minimum: 1- Returns:
- maxThreads
-
setMaxThreads
public void setMaxThreads(Integer maxThreads)
-
protocols
public ServerConfigSSL protocols(ServerConfigProtocolsSSL protocols)
-
getProtocols
@NotNull public @NotNull ServerConfigProtocolsSSL getProtocols()
Get protocols- Returns:
- protocols
-
setProtocols
public void setProtocols(ServerConfigProtocolsSSL protocols)
-
scheme
public ServerConfigSSL scheme(String scheme)
-
getScheme
@Nullable public @Nullable String getScheme()
The TLS connection scheme. (e.g. \"https\")- Returns:
- scheme
-
setScheme
public void setScheme(String scheme)
-
sessionCacheSize
public ServerConfigSSL sessionCacheSize(Integer sessionCacheSize)
-
getSessionCacheSize
@Nullable public @Nullable Integer getSessionCacheSize()
The number of SSL sessions to maintain in the session cache. minimum: 0- Returns:
- sessionCacheSize
-
setSessionCacheSize
public void setSessionCacheSize(Integer sessionCacheSize)
-
sessionTimeout
public ServerConfigSSL sessionTimeout(Integer sessionTimeout)
-
getSessionTimeout
@Nullable public @Nullable Integer getSessionTimeout()
The time in seconds before a session is encountering it's timeout. minimum: 0- Returns:
- sessionTimeout
-
setSessionTimeout
public void setSessionTimeout(Integer sessionTimeout)
-
truststore
public ServerConfigSSL truststore(ServerConfigKeystore truststore)
-
getTruststore
@Nullable public @Nullable ServerConfigKeystore getTruststore()
Get truststore- Returns:
- truststore
-
setTruststore
public void setTruststore(ServerConfigKeystore truststore)
-
-