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