Package org.apache.axis.handlers
Class HandlerChainImpl
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
org.apache.axis.handlers.HandlerChainImpl
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable
,Collection
,List
,RandomAccess
,SequencedCollection
,HandlerChain
Implementation of HandlerChain
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List
static final String
protected static org.apache.commons.logging.Log
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNewHandler
(String className, Map config) void
destroy()
Indicates the end of lifecycle for a HandlerChain.getMessageInfo
(SOAPMessage message) String[]
getRoles()
Gets SOAP actor roles registered for this HandlerChain at this SOAP node.boolean
handleFault
(MessageContext _context) ThehandleFault
method initiates the SOAP fault processing for this handler chain.boolean
handleRequest
(MessageContext _context) ThehandleRequest
method initiates the request processing for this handler chain.boolean
handleResponse
(MessageContext context) ThehandleResponse
method initiates the response processing for this handler chain.void
Initializes the configuration for a HandlerChain.void
Sets SOAP Actor roles for thisHandlerChain
.Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, size, sort, spliterator, subList, toArray, toArray
-
Field Details
-
log
protected static org.apache.commons.logging.Log log -
JAXRPC_METHOD_INFO
- See Also:
-
handlerInfos
-
-
Constructor Details
-
HandlerChainImpl
public HandlerChainImpl() -
HandlerChainImpl
-
-
Method Details
-
getRoles
Description copied from interface:HandlerChain
Gets SOAP actor roles registered for this HandlerChain at this SOAP node. The returned array includes the special SOAP actornext
.- Specified by:
getRoles
in interfaceHandlerChain
- Returns:
- String[] SOAP Actor roles as URIs
-
setRoles
Description copied from interface:HandlerChain
Sets SOAP Actor roles for thisHandlerChain
. This specifies the set of roles in which this HandlerChain is to act for the SOAP message processing at this SOAP node. These roles assumed by a HandlerChain must be invariant during the processing of an individual SOAP message through the HandlerChain.A
HandlerChain
always acts in the role of the special SOAP actornext
. Refer to the SOAP specification for the URI name for this special SOAP actor. There is no need to set this special role using this method.- Specified by:
setRoles
in interfaceHandlerChain
- Parameters:
roles
- URIs for SOAP actor name
-
init
Description copied from interface:HandlerChain
Initializes the configuration for a HandlerChain.- Specified by:
init
in interfaceHandlerChain
- Parameters:
map
- Configuration for the initialization of this handler chain
-
addNewHandler
-
handleFault
Description copied from interface:HandlerChain
ThehandleFault
method initiates the SOAP fault processing for this handler chain.- Specified by:
handleFault
in interfaceHandlerChain
- Parameters:
_context
- MessageContext parameter provides access to the SOAP message.- Returns:
- Returns boolean Returns
true
if all handlers in chain have been processed. Returnsfalse
if a handler in the chain returnedfalse
from its handleFault method.
-
getMessageInfo
-
handleRequest
Description copied from interface:HandlerChain
ThehandleRequest
method initiates the request processing for this handler chain.- Specified by:
handleRequest
in interfaceHandlerChain
- Parameters:
_context
- MessageContext parameter provides access to the request SOAP message.- Returns:
- boolean Returns
true
if all handlers in chain have been processed. Returnsfalse
if a handler in the chain returnedfalse
from its handleRequest method.
-
handleResponse
Description copied from interface:HandlerChain
ThehandleResponse
method initiates the response processing for this handler chain.- Specified by:
handleResponse
in interfaceHandlerChain
- Parameters:
context
- MessageContext parameter provides access to the response SOAP message.- Returns:
- boolean Returns
true
if all handlers in chain have been processed. Returnsfalse
if a handler in the chain returnedfalse
from its handleResponse method.
-
destroy
public void destroy()Description copied from interface:HandlerChain
Indicates the end of lifecycle for a HandlerChain.- Specified by:
destroy
in interfaceHandlerChain
-