public class HTTPAcceptor<T extends HTTPAcceptor<T>> extends Object
Constructor and Description |
---|
HTTPAcceptor(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
String |
httpListener()
The Undertow's http-listener that handles HTTP upgrade requests.
|
T |
httpListener(String value)
The Undertow's http-listener that handles HTTP upgrade requests.
|
T |
param(String key,
Object value)
A key-value pair understood by the acceptor factory-class and used to
configure it.
|
Map |
params()
A key-value pair understood by the acceptor factory-class and used to
configure it.
|
T |
params(Map value)
A key-value pair understood by the acceptor factory-class and used to
configure it.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Boolean |
upgradeLegacy()
Also accepts to upgrade HTTP request from legacy (HornetQ) clients.
|
T |
upgradeLegacy(Boolean value)
Also accepts to upgrade HTTP request from legacy (HornetQ) clients.
|
public HTTPAcceptor(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public String httpListener()
public T httpListener(String value)
public Map params()
public T params(Map value)
public T param(String key, Object value)
public Boolean upgradeLegacy()
Copyright © 2018 JBoss by Red Hat. All rights reserved.