public class PostHandlerChain<T extends PostHandlerChain<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PostHandlerChain.PostHandlerChainResources
Child mutators for PostHandlerChain
|
Constructor and Description |
---|
PostHandlerChain(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
T |
handler(Handler value)
Add the Handler object to the list of subresources
|
T |
handler(HandlerSupplier supplier)
Install a supplied Handler object to the list of subresources
|
T |
handler(String childKey)
Create and configure a Handler object to the list of subresources
|
T |
handler(String childKey,
HandlerConsumer consumer)
Create and configure a Handler object to the list of subresources
|
T |
handlers(List<Handler> value)
Add all Handler objects to this subresource
|
String |
protocolBindings()
Protocol binding
|
T |
protocolBindings(String value)
Protocol binding
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
PostHandlerChain.PostHandlerChainResources |
subresources() |
public PostHandlerChain(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public PostHandlerChain.PostHandlerChainResources subresources()
public T handlers(List<Handler> value)
value
- List of Handler objects.public T handler(Handler value)
value
- The Handler to addpublic T handler(String childKey, HandlerConsumer consumer)
key
- The key for the Handler resourceconfig
- The HandlerConsumer to usepublic T handler(String childKey)
key
- The key for the Handler resourcepublic T handler(HandlerSupplier supplier)
public String protocolBindings()
Copyright © 2019 JBoss by Red Hat. All rights reserved.