Package net.webpdf.wsclient.openapi
Class ServerConfigApr
- java.lang.Object
-
- net.webpdf.wsclient.openapi.ServerConfigApr
-
public class ServerConfigApr extends Object
Configures an [APR Lifecycle Listener](https://tomcat.apache.org/tomcat-10.0-doc/config/listeners.html) for the underlying tomcat server.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ENABLEDstatic StringJSON_PROPERTY_FIPS_MODEstatic StringJSON_PROPERTY_SSL_ENGINEstatic StringJSON_PROPERTY_SSL_RANDOM_SEEDstatic StringJSON_PROPERTY_USE_APR_CONNECTORstatic StringJSON_PROPERTY_USE_OPEN_S_S_L
-
Constructor Summary
Constructors Constructor Description ServerConfigApr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerConfigAprenabled(Boolean enabled)booleanequals(Object o)ServerConfigAprfipsMode(String fipsMode)@Nullable BooleangetEnabled()When set to true, the APR Lifecycle Listener shall be activated.@Nullable StringgetFipsMode()Set this to \"on\" to request SSL to operate in FIPS (Federal Information Processing Standards) mode@Nullable StringgetSslEngine()Selects the [SSL](https://www.openssl.org/) engine to use, possible values are \"off\" (do not use SSL) \"on\" (use SSL without specifying the engine).@Nullable StringgetSslRandomSeed()An entropy source to seed the SSL engine's random number generation with.@Nullable BooleangetUseAprConnector()This field currently is unused.@Nullable BooleangetUseOpenSSL()When set to true this activates the usage of OpenSSL for NIO and NIO2 connectors.inthashCode()voidsetEnabled(Boolean enabled)voidsetFipsMode(String fipsMode)voidsetSslEngine(String sslEngine)voidsetSslRandomSeed(String sslRandomSeed)voidsetUseAprConnector(Boolean useAprConnector)voidsetUseOpenSSL(Boolean useOpenSSL)ServerConfigAprsslEngine(String sslEngine)ServerConfigAprsslRandomSeed(String sslRandomSeed)StringtoString()ServerConfigApruseAprConnector(Boolean useAprConnector)ServerConfigApruseOpenSSL(Boolean useOpenSSL)
-
-
-
Field Detail
-
JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_ENABLED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FIPS_MODE
public static final String JSON_PROPERTY_FIPS_MODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SSL_ENGINE
public static final String JSON_PROPERTY_SSL_ENGINE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SSL_RANDOM_SEED
public static final String JSON_PROPERTY_SSL_RANDOM_SEED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USE_APR_CONNECTOR
public static final String JSON_PROPERTY_USE_APR_CONNECTOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USE_OPEN_S_S_L
public static final String JSON_PROPERTY_USE_OPEN_S_S_L
- See Also:
- Constant Field Values
-
-
Method Detail
-
enabled
public ServerConfigApr enabled(Boolean enabled)
-
getEnabled
@Nullable public @Nullable Boolean getEnabled()
When set to true, the APR Lifecycle Listener shall be activated.- Returns:
- enabled
-
setEnabled
public void setEnabled(Boolean enabled)
-
fipsMode
public ServerConfigApr fipsMode(String fipsMode)
-
getFipsMode
@Nullable public @Nullable String getFipsMode()
Set this to \"on\" to request SSL to operate in FIPS (Federal Information Processing Standards) mode. * \"enter\" to force OpenSSL to enter FIPS mode. * \"require\" to require that OpenSSL already operates in FIPS mode. * \"off\" to disable the FIPS mode. For this to take effect \"useOpenSSL\" must be set to true. (It is highly recommended to refer to https://tomcat.apache.org/tomcat-10.0-doc/config/listeners.html)- Returns:
- fipsMode
-
setFipsMode
public void setFipsMode(String fipsMode)
-
sslEngine
public ServerConfigApr sslEngine(String sslEngine)
-
getSslEngine
@Nullable public @Nullable String getSslEngine()
Selects the [SSL](https://www.openssl.org/) engine to use, possible values are \"off\" (do not use SSL) \"on\" (use SSL without specifying the engine).- Returns:
- sslEngine
-
setSslEngine
public void setSslEngine(String sslEngine)
-
sslRandomSeed
public ServerConfigApr sslRandomSeed(String sslRandomSeed)
-
getSslRandomSeed
@Nullable public @Nullable String getSslRandomSeed()
An entropy source to seed the SSL engine's random number generation with. To allow for quicker start time, set this to \"/dev/urandom\".- Returns:
- sslRandomSeed
-
setSslRandomSeed
public void setSslRandomSeed(String sslRandomSeed)
-
useAprConnector
public ServerConfigApr useAprConnector(Boolean useAprConnector)
-
getUseAprConnector
@Nullable public @Nullable Boolean getUseAprConnector()
This field currently is unused.- Returns:
- useAprConnector
-
setUseAprConnector
public void setUseAprConnector(Boolean useAprConnector)
-
useOpenSSL
public ServerConfigApr useOpenSSL(Boolean useOpenSSL)
-
getUseOpenSSL
@Nullable public @Nullable Boolean getUseOpenSSL()
When set to true this activates the usage of OpenSSL for NIO and NIO2 connectors.- Returns:
- useOpenSSL
-
setUseOpenSSL
public void setUseOpenSSL(Boolean useOpenSSL)
-
-