org.codehaus.xfire.handler
Class AbstractHandler
java.lang.Object
org.codehaus.xfire.AbstractXFireComponent
org.codehaus.xfire.handler.AbstractHandler
- All Implemented Interfaces:
- Handler
- Direct Known Subclasses:
- HandlerPipeline, SoapHandler
public abstract class AbstractHandler
- extends AbstractXFireComponent
- implements Handler
- Since:
- Feb 18, 2004
- Author:
- Dan Diephouse
Fields inherited from interface org.codehaus.xfire.handler.Handler |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.codehaus.xfire.handler.Handler |
invoke |
STAX_WRITER_KEY
public static final java.lang.String STAX_WRITER_KEY
- See Also:
- Constant Field Values
AbstractHandler
public AbstractHandler()
getUnderstoodHeaders
public javax.xml.namespace.QName[] getUnderstoodHeaders()
- Returns null by default, indicating that no headers
were understood.
- Specified by:
getUnderstoodHeaders
in interface Handler
- Returns:
- null or an empty array if there are no headers.
- See Also:
Handler.getUnderstoodHeaders()
getRoles
public java.lang.String[] getRoles()
- Description copied from interface:
Handler
- The roles which this service applies to.
- Specified by:
getRoles
in interface Handler
- Returns:
null
or an empty if this endpoint handles no
roles.
handleFault
public void handleFault(XFireFault fault,
MessageContext context)
- Description copied from interface:
Handler
- Handles faults that occur in this handler. This is not responsible for
actually writing the fault response message.
- Specified by:
handleFault
in interface Handler
- Parameters:
e
- context
- - See Also:
org.codehaus.xfire.handler.Handler#handleFault(java.lang.Exception, org.codehaus.xfire.MessageContext)
getXMLStreamWriter
public javax.xml.stream.XMLStreamWriter getXMLStreamWriter(MessageContext context)
Copyright © 2004-2005 Codehaus. All Rights Reserved.