|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.xml.rpc.handler Class HandlerInfo
java.lang.Object javax.xml.rpc.handler.HandlerInfo
- 所有已实现的接口:
- Serializable
public class HandlerInfo
- extends Object
- implements Serializable
The 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.
- 版本:
- 1.0
- 作者:
- Rahul Sharma
- 另请参见:
HandlerChain
, Serialized Form
构造器摘要 | |
---|---|
HandlerInfo()
Default constructor |
|
HandlerInfo(Class handlerClass,
Map config,
QName[] headers)
Constructor for HandlerInfo |
方法摘要 | |
---|---|
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. |
类方法继承 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造器详细信息 |
---|
HandlerInfo
public HandlerInfo()
- Default constructor
HandlerInfo
public HandlerInfo(Class handlerClass, Map config, QName[] headers)
- Constructor for HandlerInfo
- 参数:
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 block
方法详细信息 |
---|
setHandlerClass
public void setHandlerClass(Class handlerClass)
- Sets the Handler class
- 参数:
handlerClass
- Class for the Handler
getHandlerClass
public Class getHandlerClass()
- Gets the Handler class
- 返回:
- Returns null if no Handler class has been set; otherwise the set handler class
setHandlerConfig
public void setHandlerConfig(Map config)
- Sets the Handler configuration as
java.util.Map
- 参数:
config
- Configuration map
getHandlerConfig
public Map getHandlerConfig()
- Gets the Handler configuration
- 返回:
- Returns empty Map if no configuration map has been set; otherwise returns the set configuration map
setHeaders
public void setHeaders(QName[] headers)
- Sets the header blocks processed by this Handler.
- 参数:
headers
- QNames of the header blocks. QName is the qualified name of the outermost element of the SOAP header block
getHeaders
public QName[] getHeaders()
- Gets the header blocks processed by this Handler.
- 返回:
- Array of QNames for the header blocks. Returns
null
if no header blocks have been set using thesetHeaders
method.
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.