public abstract class NettyConfig extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.thales.punch.settings.api.ISettingsMap |
addCertificateToSettings(org.thales.punch.settings.api.ISettingsMap address)
Check if ssl is set in this listeningAddress configuration.
|
static org.thales.punch.settings.api.ISettingsMap |
addClientCertificateToSettings(org.thales.punch.settings.api.ISettingsMap address)
Deprecated.
this is actually not used anymore. The IKeys.SSL_CLIENT_CERTIFICATE is not documented anymore.
|
static org.thales.punch.settings.api.ISettingsMap |
addPrivateClientKeyToSettings(org.thales.punch.settings.api.ISettingsMap listenAddress)
Deprecated.
|
static org.thales.punch.settings.api.ISettingsMap |
addPrivateKeyToSettings(org.thales.punch.settings.api.ISettingsMap listenAddress)
Check if ssl is set in this listeningAddress configuration.
|
static org.thales.punch.settings.api.ISettingsMap |
addTrustedCertificateToSettings(org.thales.punch.settings.api.ISettingsMap address)
Check if ssl is set in this address settings configuration.
|
static String |
readSslFile(String sslFilePath) |
public static final String PROTO_DEFAULT_VALUE
public static final int READ_SOCKET_TIMEOUT_DEFAULT_VALUE
public static final String READ_SOCKET_TIMEOUT_ACTION_DEFAULT_VALUE
public static final int MAX_PAYLOAD_LENGTH_DEFAULT_VALUE
public static final int UDP_MAX_PAYLOAD_LENGTH_DEFAULT_VALUE
public static final int UDP_RECV_BUFFER_SIZE_DEFAULT_VALUE
public static final long CONNECT_RETRY_INTERVAL_DEFAULT_VALUE
public static final long CONNECT_INTERVAL_DEFAULT_VALUE
public static final boolean LUMBERJACK_COMPRESS_DEFAULT_VALUE
public static final boolean HTTP_COMPRESS_DEFAULT_VALUE
public static final boolean COMPRESS_DEFAULT_VALUE
public static final String SSL_PROTOCOL_DEFAULT_VALUE
public static final String SSL_PROVIDER_DEFAULT_VALUE
public static final boolean SSL_STRICT_CLIENT_AUTHENTICATION_DEFAULT_VALUE
public static final boolean SSL_DEFAULT_VALUE
public static final String CODEC_DEFAULT_VALUE
public static final boolean RAW_DEFAULT_VALUE
public static final String ACK_CONTROL_DEFAULT_VALUE
public static final String ACK_CONTROL_WINDOW_VALUE
public static final String ACK_CONTROL_FRAME_VALUE
public static final int KEEPALIVE_INTERVAL_DEFAULT_VALUE
public static final int KEEPALIVE_TIMEOUT_DEFAULT_VALUE
public static final String METRIC_PREFIX_DEFAULT_VALUE
public static String readSslFile(String sslFilePath) throws IOException
sslFilePath - a ssl file pathIOException - if the file cannot be readpublic static org.thales.punch.settings.api.ISettingsMap addPrivateKeyToSettings(org.thales.punch.settings.api.ISettingsMap listenAddress)
This method does nothing if there is no ssl in there.
listenAddress - the input listenAddress potentially updated with private key@Deprecated public static org.thales.punch.settings.api.ISettingsMap addPrivateClientKeyToSettings(org.thales.punch.settings.api.ISettingsMap listenAddress)
This method does nothing if there is no ssl in there.
listenAddress - the input listenAddress potentially updated with private keypublic static org.thales.punch.settings.api.ISettingsMap addCertificateToSettings(org.thales.punch.settings.api.ISettingsMap address)
This method does nothing if there is no ssl in there.
address - the input listenAddress potentially updated with ssl key@Deprecated public static org.thales.punch.settings.api.ISettingsMap addClientCertificateToSettings(org.thales.punch.settings.api.ISettingsMap address)
This method does nothing if there is no ssl in there.
address - the destination or listening address settings potentially updated with ssl keypublic static org.thales.punch.settings.api.ISettingsMap addTrustedCertificateToSettings(org.thales.punch.settings.api.ISettingsMap address)
This method does nothing if there is no ssl in there.
address - the input listenAddress potentially updated with ssl digital certsCopyright © 2023. All rights reserved.