org.apache.cxf.ws.policy
Class PolicyVerificationOutInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.ws.policy.AbstractPolicyInterceptor
org.apache.cxf.ws.policy.PolicyVerificationOutInterceptor
- All Implemented Interfaces:
- Interceptor<Message>, PhaseInterceptor<Message>
public class PolicyVerificationOutInterceptor
- extends AbstractPolicyInterceptor
Method Summary |
protected void |
handle(Message message)
Checks if all assertions in the chosen alternative have been asserted. |
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final PolicyVerificationOutInterceptor INSTANCE
PolicyVerificationOutInterceptor
public PolicyVerificationOutInterceptor()
handle
protected void handle(Message message)
- Checks if all assertions in the chosen alternative have been asserted.
Note that although the alternative was chosen in such a way that at least all
interceptors necessary to assert the assertions are present, it is not possible
to predict if these interceptors actually have asserted their assertions.
- Specified by:
handle
in class AbstractPolicyInterceptor
- Parameters:
message
-
- Throws:
PolicyException
- if none of the alternatives is supported
Apache CXF