Package 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
-
-
Field Summary
Fields Modifier and Type Field Description static PolicyVerificationOutInterceptorINSTANCE
-
Constructor Summary
Constructors Constructor Description PolicyVerificationOutInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidhandle(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, handleMessage
-
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
-
-
-
Field Detail
-
INSTANCE
public static final PolicyVerificationOutInterceptor INSTANCE
-
-
Method Detail
-
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:
handlein classAbstractPolicyInterceptor- Parameters:
message-- Throws:
PolicyException- if none of the alternatives is supported
-
-