Methods Summary |
---|
public AccessLogConfig | createAccessLogConfig(java.util.Map params)Creates access-log element with the given params.
|
public ConnectionPoolConfig | createConnectionPoolConfig(java.util.Map params)Creates connection-pool element with the given params.
|
public HTTPFileCacheConfig | createHTTPFileCacheConfig(java.util.Map params)Creates http-file-cache element with the given params.
|
public HTTPListenerConfig | createHTTPListenerConfig(java.lang.String name, java.lang.String address, int port, java.lang.String defaultVirtualServer, java.lang.String serverName, java.util.Map optional)Create an
Parameters:
- {@link HTTPListenerConfigKeys#ADDRESS_KEY}
- {@link HTTPListenerConfigKeys#PORT_KEY}
- {@link HTTPListenerConfigKeys#ENABLED_KEY}
- {@link HTTPListenerConfigKeys#SECURITY_ENABLED_KEY}
- {@link HTTPListenerConfigKeys#DEFAULT_VIRTUAL_SERVER_KEY}
- {@link HTTPListenerConfigKeys#ACCEPTOR_THREADS_KEY}
- {@link HTTPListenerConfigKeys#XPOWERED_BY_KEY}
- {@link HTTPListenerConfigKeys#XPOWERED_BY_KEY}
- {@link HTTPListenerConfigKeys#IGNORE_MISSING_REFERENCES_KEY} (for defaultVirtualServer)
|
public HTTPProtocolConfig | createHTTPProtocolConfig(java.util.Map params)Creates http-protocol element with the given params.
|
public KeepAliveConfig | createKeepAliveConfig(java.util.Map params)Creates keep-alive element with the given params.
|
public RequestProcessingConfig | createRequestProcessingConfig(java.util.Map params)Creates request-processing element with the given params.
|
public VirtualServerConfig | createVirtualServerConfig(java.lang.String name, java.lang.String hosts, java.util.Map optional)Create a .
Most fields will default to reasonable values. Legal keys include:
{@link VirtualServerConfigKeys#HTTP_LISTENERS_KEY}
{@link VirtualServerConfigKeys#STATE_KEY}
{@link VirtualServerConfigKeys#DOC_ROOT_PROPERTY_KEY}
{@link VirtualServerConfigKeys#ACCESS_LOG_PROPERTY_KEY}
|
public AccessLogConfig | getAccessLogConfig()Get the AccessLogConfig.
|
public ConnectionPoolConfig | getConnectionPoolConfig()Get the ConnectionPoolConfig.
|
public HTTPFileCacheConfig | getHTTPFileCacheConfig()
|
public java.util.Map | getHTTPListenerConfigMap()Calls Container.getContaineeMap( XTypes.HTTP_LISTENER_CONFIG ).
|
public HTTPProtocolConfig | getHTTPProtocolConfig()
|
public KeepAliveConfig | getKeepAliveConfig()
|
public RequestProcessingConfig | getRequestProcessingConfig()Get the RequestProcessingConfig.
|
public java.util.Map | getVirtualServerConfigMap()Calls Container.getContaineeMap( XTypes.VIRTUAL_SERVER_CONFIG ).
|
public void | removeAccessLogConfig()Removes access-log element.
|
public void | removeConnectionPoolConfig()Removes connection-pool element.
|
public void | removeHTTPFileCacheConfig()Removes http-file-cache element.
|
public void | removeHTTPListenerConfig(java.lang.String name)Remove the <http-listener>. Will fail if the <http-listener> is referred to by
other elements.
|
public void | removeHTTPProtocolConfig()Removes http-protocol element.
|
public void | removeKeepAliveConfig()Removes keep-alive element.
|
public void | removeRequestProcessingConfig()Removes request-processing element.
|
public void | removeVirtualServerConfig(java.lang.String virtualServerName)Remove the <virtual-server>.
Will fail if the <virtual-server> is referred to by
other elements.
|