Package org.apache.axis.handlers
Class HandlerChainImpl
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
org.apache.axis.handlers.HandlerChainImpl
- All Implemented Interfaces:
Serializable,Cloneable,Iterable,Collection,List,RandomAccess,HandlerChain
Implementation of HandlerChain
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Liststatic final Stringprotected static org.apache.commons.logging.LogFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNewHandler(String className, Map config) voiddestroy()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.booleanhandleFault(MessageContext _context) ThehandleFaultmethod initiates the SOAP fault processing for this handler chain.booleanhandleRequest(MessageContext _context) ThehandleRequestmethod initiates the request processing for this handler chain.booleanhandleResponse(MessageContext context) ThehandleResponsemethod initiates the response processing for this handler chain.voidInitializes the configuration for a HandlerChain.voidSets SOAP Actor roles for thisHandlerChain.Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, 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:HandlerChainGets SOAP actor roles registered for this HandlerChain at this SOAP node. The returned array includes the special SOAP actornext.- Specified by:
getRolesin interfaceHandlerChain- Returns:
- String[] SOAP Actor roles as URIs
-
setRoles
Description copied from interface:HandlerChainSets 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
HandlerChainalways 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:
setRolesin interfaceHandlerChain- Parameters:
roles- URIs for SOAP actor name
-
init
Description copied from interface:HandlerChainInitializes the configuration for a HandlerChain.- Specified by:
initin interfaceHandlerChain- Parameters:
map- Configuration for the initialization of this handler chain
-
addNewHandler
-
handleFault
Description copied from interface:HandlerChainThehandleFaultmethod initiates the SOAP fault processing for this handler chain.- Specified by:
handleFaultin interfaceHandlerChain- Parameters:
_context- MessageContext parameter provides access to the SOAP message.- Returns:
- Returns boolean Returns
trueif all handlers in chain have been processed. Returnsfalseif a handler in the chain returnedfalsefrom its handleFault method.
-
getMessageInfo
-
handleRequest
Description copied from interface:HandlerChainThehandleRequestmethod initiates the request processing for this handler chain.- Specified by:
handleRequestin interfaceHandlerChain- Parameters:
_context- MessageContext parameter provides access to the request SOAP message.- Returns:
- boolean Returns
trueif all handlers in chain have been processed. Returnsfalseif a handler in the chain returnedfalsefrom its handleRequest method.
-
handleResponse
Description copied from interface:HandlerChainThehandleResponsemethod initiates the response processing for this handler chain.- Specified by:
handleResponsein interfaceHandlerChain- Parameters:
context- MessageContext parameter provides access to the response SOAP message.- Returns:
- boolean Returns
trueif all handlers in chain have been processed. Returnsfalseif a handler in the chain returnedfalsefrom its handleResponse method.
-
destroy
public void destroy()Description copied from interface:HandlerChainIndicates the end of lifecycle for a HandlerChain.- Specified by:
destroyin interfaceHandlerChain
-