public class Host<T extends Host<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Host.HostResources
Child mutators for Host
|
Modifier and Type | Method and Description |
---|---|
T |
accessLogSetting()
The access log configuration for this virtual server.
|
T |
accessLogSetting(AccessLogSetting value)
The access log configuration for this virtual server.
|
T |
accessLogSetting(AccessLogSettingConsumer consumer)
The access log configuration for this virtual server.
|
T |
accessLogSetting(AccessLogSettingSupplier supplier)
The access log configuration for this virtual server.
|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
List<String> |
alias()
Aliases for the host
|
T |
alias(List<String> value)
Aliases for the host
|
T |
alias(String... args)
Aliases for the host
|
T |
alias(String value)
Aliases for the host
|
T |
consoleAccessLogSetting()
Allows the access log to be written to the console.
|
T |
consoleAccessLogSetting(ConsoleAccessLogSetting value)
Allows the access log to be written to the console.
|
T |
consoleAccessLogSetting(ConsoleAccessLogSettingConsumer consumer)
Allows the access log to be written to the console.
|
T |
consoleAccessLogSetting(ConsoleAccessLogSettingSupplier supplier)
Allows the access log to be written to the console.
|
Integer |
defaultResponseCode()
If set, this will be response code sent back in case requested context
does not exist on server.
|
T |
defaultResponseCode(Integer value)
If set, this will be response code sent back in case requested context
does not exist on server.
|
String |
defaultWebModule()
Default web module
|
T |
defaultWebModule(String value)
Default web module
|
Boolean |
disableConsoleRedirect()
if set to true, /console redirect wont be enabled for this host, default
is false
|
T |
disableConsoleRedirect(Boolean value)
if set to true, /console redirect wont be enabled for this host, default
is false
|
T |
filterRef(FilterRef value)
Add the FilterRef object to the list of subresources
|
T |
filterRef(FilterRefSupplier supplier)
Install a supplied FilterRef object to the list of subresources
|
T |
filterRef(String childKey)
Create and configure a FilterRef object to the list of subresources
|
T |
filterRef(String childKey,
FilterRefConsumer consumer)
Create and configure a FilterRef object to the list of subresources
|
T |
filterRefs(List<FilterRef> value)
Add all FilterRef objects to this subresource
|
String |
getKey() |
T |
httpInvokerSetting()
The HTTP invoker services that allows remote HTTP based invocation of
services such as EJB and naming
|
T |
httpInvokerSetting(HTTPInvokerSetting value)
The HTTP invoker services that allows remote HTTP based invocation of
services such as EJB and naming
|
T |
httpInvokerSetting(HTTPInvokerSettingConsumer consumer)
The HTTP invoker services that allows remote HTTP based invocation of
services such as EJB and naming
|
T |
httpInvokerSetting(HTTPInvokerSettingSupplier supplier)
The HTTP invoker services that allows remote HTTP based invocation of
services such as EJB and naming
|
T |
location(Location value)
Add the Location object to the list of subresources
|
T |
location(LocationSupplier supplier)
Install a supplied Location object to the list of subresources
|
T |
location(String childKey)
Create and configure a Location object to the list of subresources
|
T |
location(String childKey,
LocationConsumer consumer)
Create and configure a Location object to the list of subresources
|
T |
locations(List<Location> value)
Add all Location objects to this subresource
|
Boolean |
queueRequestsOnStart()
If requests should be queued on start for this host.
|
T |
queueRequestsOnStart(Boolean value)
If requests should be queued on start for this host.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
T |
singleSignOnSetting()
An SSO authentication mechanism configuration.
|
T |
singleSignOnSetting(SingleSignOnSetting value)
An SSO authentication mechanism configuration.
|
T |
singleSignOnSetting(SingleSignOnSettingConsumer consumer)
An SSO authentication mechanism configuration.
|
T |
singleSignOnSetting(SingleSignOnSettingSupplier supplier)
An SSO authentication mechanism configuration.
|
Host.HostResources |
subresources() |
public Host(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Host.HostResources subresources()
public T filterRefs(List<FilterRef> value)
value
- List of FilterRef objects.public T filterRef(FilterRef value)
value
- The FilterRef to addpublic T filterRef(String childKey, FilterRefConsumer consumer)
key
- The key for the FilterRef resourceconfig
- The FilterRefConsumer to usepublic T filterRef(String childKey)
key
- The key for the FilterRef resourcepublic T filterRef(FilterRefSupplier supplier)
public T locations(List<Location> value)
value
- List of Location objects.public T location(Location value)
value
- The Location to addpublic T location(String childKey, LocationConsumer consumer)
key
- The key for the Location resourceconfig
- The LocationConsumer to usepublic T location(String childKey)
key
- The key for the Location resourcepublic T location(LocationSupplier supplier)
public T accessLogSetting(AccessLogSetting value)
public T accessLogSetting(AccessLogSettingConsumer consumer)
public T accessLogSetting()
public T accessLogSetting(AccessLogSettingSupplier supplier)
public T consoleAccessLogSetting(ConsoleAccessLogSetting value)
public T consoleAccessLogSetting(ConsoleAccessLogSettingConsumer consumer)
public T consoleAccessLogSetting()
public T consoleAccessLogSetting(ConsoleAccessLogSettingSupplier supplier)
public T singleSignOnSetting(SingleSignOnSetting value)
public T singleSignOnSetting(SingleSignOnSettingConsumer consumer)
public T singleSignOnSetting()
public T singleSignOnSetting(SingleSignOnSettingSupplier supplier)
public T httpInvokerSetting(HTTPInvokerSetting value)
public T httpInvokerSetting(HTTPInvokerSettingConsumer consumer)
public T httpInvokerSetting()
public T httpInvokerSetting(HTTPInvokerSettingSupplier supplier)
public Integer defaultResponseCode()
public T defaultResponseCode(Integer value)
public String defaultWebModule()
public Boolean disableConsoleRedirect()
public T disableConsoleRedirect(Boolean value)
public Boolean queueRequestsOnStart()
Copyright © 2020 JBoss by Red Hat. All rights reserved.