public static final class HttpGatewayListenerOptions.Builder
extends java.lang.Object
HttpGatewayListenerOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HttpGatewayListenerOptions |
build()
Builds the configured instance.
|
HttpGatewayListenerOptions.Builder |
connectionPool(HttpConnectionPool connectionPool)
Sets the value of
HttpGatewayListenerOptions.getConnectionPool() |
HttpGatewayListenerOptions.Builder |
healthCheck(HealthCheck healthCheck)
Sets the value of
HttpGatewayListenerOptions.getHealthCheck() |
HttpGatewayListenerOptions.Builder |
port(java.lang.Number port)
Sets the value of
HttpGatewayListenerOptions.getPort() |
HttpGatewayListenerOptions.Builder |
tls(ListenerTlsOptions tls)
Sets the value of
HttpGatewayListenerOptions.getTls() |
public HttpGatewayListenerOptions.Builder connectionPool(HttpConnectionPool connectionPool)
HttpGatewayListenerOptions.getConnectionPool()
connectionPool
- Connection pool for http listeners.this
public HttpGatewayListenerOptions.Builder healthCheck(HealthCheck healthCheck)
HttpGatewayListenerOptions.getHealthCheck()
healthCheck
- The health check information for the listener.this
public HttpGatewayListenerOptions.Builder port(java.lang.Number port)
HttpGatewayListenerOptions.getPort()
port
- Port to listen for connections on.this
public HttpGatewayListenerOptions.Builder tls(ListenerTlsOptions tls)
HttpGatewayListenerOptions.getTls()
tls
- Represents the configuration for enabling TLS on a listener.this
public HttpGatewayListenerOptions build()
HttpGatewayListenerOptions
java.lang.NullPointerException
- if any required attribute was not provided