Package com.yahoo.jdisc.http
Class ServerConfig.Builder
java.lang.Object
com.yahoo.jdisc.http.ServerConfig.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- ServerConfig
public static final class ServerConfig.Builder
extends Object
implements com.yahoo.config.ConfigInstance.Builder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
connectionLog
(ServerConfig.ConnectionLog.Builder __builder) Make a new builder and run the supplied function on it before adding it to the listAdd the given builder to this builder's list of DefaultFilters buildersMake a new builder and run the supplied function on it before adding it to the listdefaultFilters
(List<ServerConfig.DefaultFilters.Builder> __builders) Set the given list as this builder's list of DefaultFilters buildersdeveloperMode
(boolean __value) final boolean
dispatchGetConfig
(com.yahoo.config.ConfigInstance.Producer producer) filter
(ServerConfig.Filter.Builder __builder) Add the given builder to this builder's list of Filter buildersfilter
(Consumer<ServerConfig.Filter.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listfilter
(List<ServerConfig.Filter.Builder> __builders) Set the given list as this builder's list of Filter buildersfinal boolean
final String
final String
final String
jmx
(ServerConfig.Jmx.Builder __builder) jmx
(Consumer<ServerConfig.Jmx.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listmaxWorkerThreads
(int __value) metric
(ServerConfig.Metric.Builder __builder) metric
(Consumer<ServerConfig.Metric.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listminWorkerThreads
(int __value) removeRawPostBodyForWwwUrlEncodedPost
(boolean __value) responseCompressionLevel
(int __value) final void
setApplyOnRestart
(boolean applyOnRestart) stopTimeout
(double __value) strictFiltering
(boolean __value)
-
Field Details
-
filter
-
defaultFilters
-
jmx
-
metric
-
connectionLog
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
developerMode
-
responseCompressionLevel
-
removeRawPostBodyForWwwUrlEncodedPost
-
filter
Add the given builder to this builder's list of Filter builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
filter
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
-
filter
Set the given list as this builder's list of Filter builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
defaultFilters
Add the given builder to this builder's list of DefaultFilters builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
defaultFilters
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
-
defaultFilters
Set the given list as this builder's list of DefaultFilters builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
strictFiltering
-
maxWorkerThreads
-
minWorkerThreads
-
stopTimeout
-
jmx
-
jmx
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
-
metric
-
metric
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
-
connectionLog
-
connectionLog
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:
dispatchGetConfig
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefMd5
- Specified by:
getDefMd5
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefName
- Specified by:
getDefName
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefNamespace
- Specified by:
getDefNamespace
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getApplyOnRestart
public final boolean getApplyOnRestart()- Specified by:
getApplyOnRestart
in interfacecom.yahoo.config.ConfigInstance.Builder
-
setApplyOnRestart
public final void setApplyOnRestart(boolean applyOnRestart) - Specified by:
setApplyOnRestart
in interfacecom.yahoo.config.ConfigInstance.Builder
-
build
-