Package com.yahoo.jdisc.http
Class ConnectorConfig.Builder
java.lang.Object
com.yahoo.jdisc.http.ConnectorConfig.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- ConnectorConfig
public static final class ConnectorConfig.Builder
extends Object
implements com.yahoo.config.ConfigInstance.Builder
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptQueueSize(int __value) accessLog(ConnectorConfig.AccessLog.Builder __builder) Make a new builder and run the supplied function on it before adding it to the listbuild()compliance(ConnectorConfig.Compliance.Builder __builder) Make a new builder and run the supplied function on it before adding it to the listfinal booleandispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) final booleanfinal Stringfinal Stringfinal StringheaderCacheSize(int __value) Make a new builder and run the supplied function on it before adding it to the listhttp2(ConnectorConfig.Http2.Builder __builder) http2(Consumer<ConnectorConfig.Http2.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listhttp2Enabled(boolean __value) idleTimeout(double __value) implicitTlsEnabled(boolean __value) listenPort(int __value) maxConnectionLife(double __value) maxContentSize(long __value) maxContentSizeErrorMessageTemplate(String __value) maxRequestsPerConnection(int __value) outputBufferSize(int __value) Make a new builder and run the supplied function on it before adding it to the listrequestHeaderSize(int __value) responseHeaderSize(int __value) reuseAddress(boolean __value) serverName(ConnectorConfig.ServerName.Builder __builder) Make a new builder and run the supplied function on it before adding it to the listfinal voidsetApplyOnRestart(boolean applyOnRestart) shutdownIdleTimeout(double __value) ssl(ConnectorConfig.Ssl.Builder __builder) ssl(Consumer<ConnectorConfig.Ssl.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listtcpKeepAliveEnabled(boolean __value) tcpNoDelay(boolean __value) throttling(ConnectorConfig.Throttling.Builder __builder) Make a new builder and run the supplied function on it before adding it to the listMake a new builder and run the supplied function on it before adding it to the list
-
Field Details
-
throttling
-
ssl
-
tlsClientAuthEnforcer
-
healthCheckProxy
-
proxyProtocol
-
http2
-
serverName
-
accessLog
-
compliance
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
listenPort
-
name
-
headerCacheSize
-
outputBufferSize
-
requestHeaderSize
-
responseHeaderSize
-
acceptQueueSize
-
maxContentSize
-
maxContentSizeErrorMessageTemplate
-
reuseAddress
-
idleTimeout
-
shutdownIdleTimeout
-
tcpKeepAliveEnabled
-
tcpNoDelay
-
throttling
-
throttling
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
implicitTlsEnabled
-
ssl
-
ssl
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
tlsClientAuthEnforcer
public ConnectorConfig.Builder tlsClientAuthEnforcer(ConnectorConfig.TlsClientAuthEnforcer.Builder __builder) -
tlsClientAuthEnforcer
public ConnectorConfig.Builder tlsClientAuthEnforcer(Consumer<ConnectorConfig.TlsClientAuthEnforcer.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
healthCheckProxy
-
healthCheckProxy
public ConnectorConfig.Builder healthCheckProxy(Consumer<ConnectorConfig.HealthCheckProxy.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
proxyProtocol
-
proxyProtocol
public ConnectorConfig.Builder proxyProtocol(Consumer<ConnectorConfig.ProxyProtocol.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
maxRequestsPerConnection
-
maxConnectionLife
-
http2Enabled
-
http2
-
http2
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
serverName
-
serverName
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
accessLog
-
accessLog
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
compliance
-
compliance
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
dispatchGetConfig
public final boolean dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) - Specified by:
dispatchGetConfigin interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefMd5
- Specified by:
getDefMd5in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefName
- Specified by:
getDefNamein interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefNamespace
- Specified by:
getDefNamespacein interfacecom.yahoo.config.ConfigInstance.Builder
-
getApplyOnRestart
public final boolean getApplyOnRestart()- Specified by:
getApplyOnRestartin interfacecom.yahoo.config.ConfigInstance.Builder
-
setApplyOnRestart
public final void setApplyOnRestart(boolean applyOnRestart) - Specified by:
setApplyOnRestartin interfacecom.yahoo.config.ConfigInstance.Builder
-
build
-