Class Http
- java.lang.Object
-
- com.yahoo.config.model.producer.AbstractConfigProducer<AbstractConfigProducer<?>>
-
- com.yahoo.vespa.model.container.http.Http
-
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,com.yahoo.jdisc.http.ServerConfig.Producer
,ConfigProducer
,java.io.Serializable
public class Http extends AbstractConfigProducer<AbstractConfigProducer<?>> implements com.yahoo.jdisc.http.ServerConfig.Producer
Represents the http servers and filters of a container cluster.- Author:
- Tony Vaagenes, bjorncs
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.yahoo.config.model.producer.AbstractConfigProducer
log
-
-
Constructor Summary
Constructors Constructor Description Http(FilterChains chains)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<AccessControl>
getAccessControl()
java.util.List<Binding>
getBindings()
void
getConfig(com.yahoo.jdisc.http.ServerConfig.Builder builder)
FilterChains
getFilterChains()
java.util.Optional<JettyHttpServer>
getHttpServer()
void
removeAllServers()
void
setAccessControl(AccessControl accessControl)
void
setHttpServer(JettyHttpServer newServer)
void
validate()
check constraints depending on the state of the vespamodel graph.-
Methods inherited from class com.yahoo.config.model.producer.AbstractConfigProducer
addChild, addConfigId, addDescendantService, addUserConfig, cascadeConfig, dump, getChildren, getChildrenByTypeRecursive, getConfigClassLoader, getConfigId, getDescendantServices, getMonitoringService, getParent, getRoot, getSubId, getUserConfigs, hostSystem, mergeUserConfigs, removeChild, setParent, setUserConfigs, stateIsHosted
-
-
-
-
Constructor Detail
-
Http
public Http(FilterChains chains)
-
-
Method Detail
-
setAccessControl
public void setAccessControl(AccessControl accessControl)
-
getFilterChains
public FilterChains getFilterChains()
-
getHttpServer
public java.util.Optional<JettyHttpServer> getHttpServer()
-
setHttpServer
public void setHttpServer(JettyHttpServer newServer)
-
removeAllServers
public void removeAllServers()
-
getBindings
public java.util.List<Binding> getBindings()
-
getAccessControl
public java.util.Optional<AccessControl> getAccessControl()
-
getConfig
public void getConfig(com.yahoo.jdisc.http.ServerConfig.Builder builder)
- Specified by:
getConfig
in interfacecom.yahoo.jdisc.http.ServerConfig.Producer
-
validate
public void validate()
Description copied from interface:ConfigProducer
check constraints depending on the state of the vespamodel graph. When overriding, you must invoke super.- Specified by:
validate
in interfaceConfigProducer
- Overrides:
validate
in classAbstractConfigProducer<AbstractConfigProducer<?>>
-
-