|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.xfire.handler.AbstractHandler
org.codehaus.xfire.soap.handler.ValidateHeadersHandler
public class ValidateHeadersHandler
Validates that headers flagged as "mustUnderstand" are understood.
Field Summary |
---|
Fields inherited from interface org.codehaus.xfire.handler.Handler |
---|
ROLE |
Constructor Summary | |
---|---|
ValidateHeadersHandler()
|
Method Summary | |
---|---|
protected void |
assertUnderstandsHeader(MessageContext context,
javax.xml.namespace.QName name)
Assert that a service understands a particular header. |
void |
invoke(MessageContext context)
Validates that the mustUnderstand and role headers are processed correctly. |
Methods inherited from class org.codehaus.xfire.handler.AbstractHandler |
---|
after, before, getAfter, getBefore, getPhase, getRoles, getUnderstoodHeaders, handleFault, setAfter, setBefore, setPhase |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidateHeadersHandler()
Method Detail |
---|
public void invoke(MessageContext context) throws java.lang.Exception
context
-
XFireFault
java.lang.Exception
protected void assertUnderstandsHeader(MessageContext context, javax.xml.namespace.QName name) throws XFireFault
context
- name
-
XFireFault
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |