Package org.apache.cxf.ws.policy
Class PolicyVerificationOutInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.apache.cxf.ws.policy.AbstractPolicyInterceptor
org.apache.cxf.ws.policy.PolicyVerificationOutInterceptor
- All Implemented Interfaces:
org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>,org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandle(org.apache.cxf.message.Message message) Checks if all assertions in the chosen alternative have been asserted.Methods inherited from class org.apache.cxf.ws.policy.AbstractPolicyInterceptor
getBindingFaultInfo, getTransportAssertions, handleMessageMethods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
PolicyVerificationOutInterceptor
public PolicyVerificationOutInterceptor()
-
-
Method Details
-
handle
protected void handle(org.apache.cxf.message.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:
handlein classAbstractPolicyInterceptor- Parameters:
message-- Throws:
PolicyException- if none of the alternatives is supported
-