|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.xml.rpc.handler.GenericHandler
org.apache.ws.addressing.handler.AbstractAddressingHandler
public abstract class AbstractAddressingHandler
Abstract JAX-RPC Handler containing base WS-Addressing
functionality that is used by both client-side and server-side subclasses.
| Field Summary | |
|---|---|
static java.lang.String |
CONFIG_PROP_ACTOR
Configuration property name for the Actor URI. |
static java.lang.String |
CONFIG_PROP_REFERENCE_PROPERTY_NAMES
Configuration property name for a list of reference property names. |
static java.lang.String |
CONFIG_PROP_REMOVE_HEADERS
Configuration property name for the "processed header removal" flag. |
protected static boolean |
CONTINUE_HANDLER_CHAIN_PROCESSING
Constant to be returned by handleRequest(), handleResponse(), and handleFault(). |
| Constructor Summary | |
|---|---|
AbstractAddressingHandler()
|
|
| Method Summary | |
|---|---|
protected MessageID |
createMessageID()
Creates a new random message identifier. |
protected java.lang.String |
generateUUId()
This method uses the Java UUID Generator library found through discovery. |
protected java.lang.String |
getActor()
Returns the value of the "actor" handler config property. |
protected java.util.Map<java.lang.String,java.lang.String> |
getHandlerConfigProperties()
Returns this handler's configuration properties. |
protected java.lang.String |
getHandlerConfigProperty(java.lang.String propName)
Returns the value of the specified handler configuration property. |
javax.xml.namespace.QName[] |
getHeaders()
Returns a list QNames of the SOAP headers that this handler processes. |
protected java.util.List<javax.xml.namespace.QName> |
getReferencePropertyQNames()
Gets the list of processed property names. |
void |
init(javax.xml.rpc.handler.HandlerInfo handlerInfo)
Initializes this handler. |
protected void |
initReferencePropertyQNames()
Retrieves QNames for reference properties from WSDD and initializes refPropQNames - the list of reference properties that this handler should care about. |
protected boolean |
isHandlerConfigPropertyTrue(java.lang.String propName)
Returns true if the value of the specified handler configuration property is "true", or false otherwise. |
protected boolean |
isMustUnderstandEnabled(javax.xml.rpc.handler.MessageContext msgContext)
Gets the value of the "MustUnderstandEnabled" field. |
protected boolean |
isPropertyTrue(javax.xml.rpc.handler.MessageContext msgContext,
java.lang.String propName)
Gets if the specified property has a "true" as its value. |
protected boolean |
isRemoveHeadersEnabled()
Returns the value of the "removeHeaders" handler config property. |
| Methods inherited from class javax.xml.rpc.handler.GenericHandler |
|---|
destroy, handleFault, handleRequest, handleResponse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CONFIG_PROP_ACTOR
public static final java.lang.String CONFIG_PROP_REFERENCE_PROPERTY_NAMES
public static final java.lang.String CONFIG_PROP_REMOVE_HEADERS
protected static final boolean CONTINUE_HANDLER_CHAIN_PROCESSING
| Constructor Detail |
|---|
public AbstractAddressingHandler()
| Method Detail |
|---|
public javax.xml.namespace.QName[] getHeaders()
getHeaders in interface javax.xml.rpc.handler.HandlergetHeaders in class javax.xml.rpc.handler.GenericHandlerpublic void init(javax.xml.rpc.handler.HandlerInfo handlerInfo)
init in interface javax.xml.rpc.handler.Handlerinit in class javax.xml.rpc.handler.GenericHandlerhandlerInfo - handler info containing handler configuration properties from deployment
descriptorprotected java.util.Map<java.lang.String,java.lang.String> getHandlerConfigProperties()
protected java.lang.String getHandlerConfigProperty(java.lang.String propName)
propName - the name of a configuration property
protected boolean isHandlerConfigPropertyTrue(java.lang.String propName)
propName - the name of a configuration property
protected java.lang.String generateUUId()
Subclasses can optionally override it to use a different UUID generator.
protected boolean isMustUnderstandEnabled(javax.xml.rpc.handler.MessageContext msgContext)
msgContext - Context to get the information from
protected boolean isPropertyTrue(javax.xml.rpc.handler.MessageContext msgContext,
java.lang.String propName)
msgContext - Context to get the information frompropName - Property name
protected MessageID createMessageID()
throws org.apache.axis.types.URI.MalformedURIException
URI.MalformedURIException - If an invalid URI is createdprotected java.util.List<javax.xml.namespace.QName> getReferencePropertyQNames()
protected java.lang.String getActor()
protected boolean isRemoveHeadersEnabled()
protected void initReferencePropertyQNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||