public class HandlerConfiguration<T extends HandlerConfiguration<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HandlerConfiguration.HandlerConfigurationResources
Child mutators for HandlerConfiguration
|
Constructor and Description |
---|
HandlerConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
file(File value)
Add the File object to the list of subresources
|
T |
file(FileSupplier supplier)
Install a supplied File object to the list of subresources
|
T |
file(String childKey)
Create and configure a File object to the list of subresources
|
T |
file(String childKey,
FileConsumer consumer)
Create and configure a File object to the list of subresources
|
T |
files(List<File> value)
Add all File objects to this subresource
|
String |
getKey() |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
T |
reverseProxies(List<ReverseProxy> value)
Add all ReverseProxy objects to this subresource
|
T |
reverseProxy(ReverseProxy value)
Add the ReverseProxy object to the list of subresources
|
T |
reverseProxy(ReverseProxySupplier supplier)
Install a supplied ReverseProxy object to the list of subresources
|
T |
reverseProxy(String childKey)
Create and configure a ReverseProxy object to the list of subresources
|
T |
reverseProxy(String childKey,
ReverseProxyConsumer consumer)
Create and configure a ReverseProxy object to the list of subresources
|
HandlerConfiguration.HandlerConfigurationResources |
subresources() |
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public HandlerConfiguration.HandlerConfigurationResources subresources()
public T reverseProxies(List<ReverseProxy> value)
value
- List of ReverseProxy objects.public T reverseProxy(ReverseProxy value)
value
- The ReverseProxy to addpublic T reverseProxy(String childKey, ReverseProxyConsumer consumer)
key
- The key for the ReverseProxy resourceconfig
- The ReverseProxyConsumer to usepublic T reverseProxy(String childKey)
key
- The key for the ReverseProxy resourcepublic T reverseProxy(ReverseProxySupplier supplier)
public T files(List<File> value)
value
- List of File objects.public T file(File value)
value
- The File to addpublic T file(String childKey, FileConsumer consumer)
key
- The key for the File resourceconfig
- The FileConsumer to usepublic T file(String childKey)
key
- The key for the File resourcepublic T file(FileSupplier supplier)
Copyright © 2020 JBoss by Red Hat. All rights reserved.