Class ConnectorFactory
- java.lang.Object
-
- com.yahoo.config.model.producer.AbstractConfigProducer<CHILD>
-
- com.yahoo.vespa.model.container.component.Component<AbstractConfigProducer<?>,com.yahoo.osgi.provider.model.ComponentModel>
-
- com.yahoo.vespa.model.container.component.SimpleComponent
-
- com.yahoo.vespa.model.container.http.ConnectorFactory
-
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,com.yahoo.jdisc.http.ConnectorConfig.Producer
,ConfigProducer
,Serializable
,Comparable<Component<?,?>>
- Direct Known Subclasses:
HostedSslConnectorFactory
public class ConnectorFactory extends SimpleComponent implements com.yahoo.jdisc.http.ConnectorConfig.Producer
- Author:
- Einar M R Rosenvinge, bjorncs, mortent
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConnectorFactory.Builder
-
Field Summary
-
Fields inherited from class com.yahoo.config.model.producer.AbstractConfigProducer
log
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ConnectorFactory(ConnectorFactory.Builder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getConfig(com.yahoo.jdisc.http.ConnectorConfig.Builder connectorBuilder)
Optional<com.yahoo.component.ComponentId>
getDefaultRequestFilterChain()
Optional<com.yahoo.component.ComponentId>
getDefaultResponseFilterChain()
int
getListenPort()
String
getName()
void
setDefaultRequestFilterChain(com.yahoo.component.ComponentId filterChain)
void
setDefaultResponseFilterChain(com.yahoo.component.ComponentId filterChain)
-
Methods inherited from class com.yahoo.vespa.model.container.component.Component
addComponent, compareTo, fromClassAndBundle, getClassId, getComponentId, getGlobalComponentId, getInjectedComponentIds, inject, injectForName, toString
-
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, remove, removeChild, setParent, setUserConfigs, stateIsHosted, validate
-
-
-
-
Constructor Detail
-
ConnectorFactory
protected ConnectorFactory(ConnectorFactory.Builder builder)
-
-
Method Detail
-
getConfig
public void getConfig(com.yahoo.jdisc.http.ConnectorConfig.Builder connectorBuilder)
- Specified by:
getConfig
in interfacecom.yahoo.jdisc.http.ConnectorConfig.Producer
-
getName
public String getName()
-
getListenPort
public int getListenPort()
-
getDefaultRequestFilterChain
public Optional<com.yahoo.component.ComponentId> getDefaultRequestFilterChain()
-
getDefaultResponseFilterChain
public Optional<com.yahoo.component.ComponentId> getDefaultResponseFilterChain()
-
setDefaultRequestFilterChain
public void setDefaultRequestFilterChain(com.yahoo.component.ComponentId filterChain)
-
setDefaultResponseFilterChain
public void setDefaultResponseFilterChain(com.yahoo.component.ComponentId filterChain)
-
-