public class HandlerInfo extends Object implements Serializable
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.HandlerChain
,
Serialized FormConstructor and Description |
---|
HandlerInfo()
Default constructor
|
HandlerInfo(Class handlerClass,
Map config,
QName[] headers)
Constructor for HandlerInfo
|
Modifier and Type | Method and Description |
---|---|
Class |
getHandlerClass()
Gets the Handler class
|
Map |
getHandlerConfig()
Gets the Handler configuration
|
QName[] |
getHeaders()
Gets the header blocks processed by this Handler.
|
void |
setHandlerClass(Class handlerClass)
Sets the Handler class
|
void |
setHandlerConfig(Map config)
Sets the Handler configuration as
java.util.Map |
void |
setHeaders(QName[] headers)
Sets the header blocks processed by this Handler.
|
public HandlerInfo()
public HandlerInfo(Class handlerClass, Map config, QName[] headers)
handlerClass
- Java Class for the Handlerconfig
- Handler Configuration as a java.util.Mapheaders
- QNames for the header blocks processed
by this Handler. QName is the qualified
name of the outermost element of a header
blockpublic void setHandlerClass(Class handlerClass)
handlerClass
- Class for the Handlerpublic Class getHandlerClass()
public void setHandlerConfig(Map config)
java.util.Map
config
- Configuration mappublic Map getHandlerConfig()
public void setHeaders(QName[] headers)
headers
- QNames of the header blocks. QName
is the qualified name of the outermost
element of the SOAP header blockpublic QName[] getHeaders()
null
if no header blocks have been
set using the setHeaders
method.Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.