javax.xml.rpc.handler.HandlerInfo represents
information about a handler in the HandlerChain. A HandlerInfo
instance is passed in the Handler.init method to
initialize a Handler instance.
javax.xml.rpc.handler.HandlerChain
| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private Class | |
| private Vector |
| Access | Constructor and Description |
|---|---|
| public | |
| public | HandlerInfo(Class<T>
Java Class for the Handler handlerClass, Map<K, V> Handler Configuration as a java.util.Map config, QName[] QNames for the header blocks processed
by this Handler. QName is the qualified
name of the outermost element of a header
block headers)Constructor for HandlerInfo |
| Modifier and Type | Method and Description |
|---|---|
| public Class | Returns: Returns null if no Handler class has been set; otherwise the set handler classGets the Handler class |
| public Map | Returns: Returns empty Map if no configuration map has been set; otherwise returns the set configuration mapGets the Handler configuration |
| public QName[] | Returns: Array of QNames for the header blocks. Returnsnull if no header blocks have been
set using the setHeaders method.Gets the header blocks processed by this Handler. |
| public void | |
| public void | |
| public void | setHeaders(QName[]
QNames of the header blocks. QName
is the qualified name of the outermost
element of the SOAP header block headers)Sets the header blocks processed by this Handler. |
| config | back to summary |
|---|---|
| private Map<K, V> config | |
| handlerClass | back to summary |
|---|---|
| private Class<T> handlerClass | |
| headers | back to summary |
|---|---|
| private Vector<E> headers | |
| HandlerInfo | back to summary |
|---|---|
| public HandlerInfo() Default constructor | |
| HandlerInfo | back to summary |
|---|---|
| public HandlerInfo(Class<T> handlerClass, Map<K, V> config, QName[] headers) Constructor for HandlerInfo | |
| getHandlerClass | back to summary |
|---|---|
| public Class Gets the Handler class
| |
| getHandlerConfig | back to summary |
|---|---|
| public Map Gets the Handler configuration
| |
| getHeaders | back to summary |
|---|---|
| public QName[] getHeaders() Gets the header blocks processed by this Handler.
| |
| setHandlerClass | back to summary |
|---|---|
| public void setHandlerClass(Class<T> handlerClass) Sets the Handler class
| |
| setHandlerConfig | back to summary |
|---|---|
| public void setHandlerConfig(Map<K, V> config) Sets the Handler configuration as
| |
| setHeaders | back to summary |
|---|---|
| public void setHeaders(QName[] headers) Sets the header blocks processed by this Handler.
| |