org.codehaus.xfire.soap.handler
Class ReadHeadersHandler
java.lang.Object
org.codehaus.xfire.handler.AbstractHandler
org.codehaus.xfire.soap.handler.ReadHeadersHandler
- All Implemented Interfaces:
- Handler
public class ReadHeadersHandler
- extends AbstractHandler
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 |
DECLARED_NAMESPACES
public static final java.lang.String DECLARED_NAMESPACES
- See Also:
- Constant Field Values
ReadHeadersHandler
public ReadHeadersHandler()
getPhase
public java.lang.String getPhase()
- Description copied from interface:
Handler
- The phase which this handler would like to be in.
- Specified by:
getPhase
in interface Handler
- Overrides:
getPhase
in class AbstractHandler
- Returns:
- See Also:
Phase
invoke
public void invoke(MessageContext context)
throws java.lang.Exception
- Description copied from interface:
Handler
- Invoke a handler. If a fault occurs it will be handled via the
handleFault
method.
- Throws:
java.lang.Exception
checkForFault
protected void checkForFault(MessageContext context,
InMessage msg,
javax.xml.stream.XMLStreamReader reader)
throws XFireFault
- Throws:
XFireFault
readHeaders
protected void readHeaders(MessageContext context)
throws javax.xml.stream.XMLStreamException
- Read in the headers as a YOM Element and create a response Header.
- Parameters:
context
-
- Throws:
javax.xml.stream.XMLStreamException
Copyright © 2004-2005 Codehaus. All Rights Reserved.