IT. Expert System.

Java Enterprise Edition (EE)

HandlerInfo


javax.xml.rpc.handler
Class HandlerInfo

java.lang.Object
  javax.xml.rpc.handler.HandlerInfo
All Implemented Interfaces:
java.io.Serializable
public class HandlerInfo
extends java.lang.Object
implements java.io.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.

Version:
1.0
Author:
Rahul Sharma
See Also:
HandlerChain, Serialized Form

Constructor Summary
HandlerInfo()
          Default constructor
HandlerInfo(java.lang.Class handlerClass, java.util.Map config, javax.xml.namespace.QName[] headers)
          Constructor for HandlerInfo
 
Method Summary
 java.lang.Class getHandlerClass()
          Gets the Handler class
 java.util.Map getHandlerConfig()
          Gets the Handler configuration
 javax.xml.namespace.QName[] getHeaders()
          Gets the header blocks processed by this Handler.
 void setHandlerClass(java.lang.Class handlerClass)
          Sets the Handler class
 void setHandlerConfig(java.util.Map config)
          Sets the Handler configuration as java.util.Map
 void setHeaders(javax.xml.namespace.QName[] headers)
          Sets the header blocks processed by this Handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerInfo

public HandlerInfo()
Default constructor

HandlerInfo

public HandlerInfo(java.lang.Class handlerClass,
                   java.util.Map config,
                   javax.xml.namespace.QName[] headers)
Constructor for HandlerInfo

Parameters:
handlerClass - Java Class for the Handler
config - Handler Configuration as a java.util.Map
headers - QNames for the header blocks processed by this Handler. QName is the qualified name of the outermost element of a header block
Method Detail

setHandlerClass

public void setHandlerClass(java.lang.Class handlerClass)
Sets the Handler class

Parameters:
handlerClass - Class for the Handler

getHandlerClass

public java.lang.Class getHandlerClass()
Gets the Handler class

Returns:
Returns null if no Handler class has been set; otherwise the set handler class

setHandlerConfig

public void setHandlerConfig(java.util.Map config)
Sets the Handler configuration as java.util.Map

Parameters:
config - Configuration map

getHandlerConfig

public java.util.Map getHandlerConfig()
Gets the Handler configuration

Returns:
Returns empty Map if no configuration map has been set; otherwise returns the set configuration map

setHeaders

public void setHeaders(javax.xml.namespace.QName[] headers)
Sets the header blocks processed by this Handler.

Parameters:
headers - QNames of the header blocks. QName is the qualified name of the outermost element of the SOAP header block

getHeaders

public javax.xml.namespace.QName[] getHeaders()
Gets the header blocks processed by this Handler.

Returns:
Array of QNames for the header blocks. Returns null if no header blocks have been set using the setHeaders method.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 812 / . Delta: 0.00717 с