org.apache.cxf.ws.policy
Class AbstractPolicyInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.ws.policy.AbstractPolicyInterceptor
- All Implemented Interfaces:
- Interceptor<Message>, PhaseInterceptor<Message>
- Direct Known Subclasses:
- ClientPolicyInFaultInterceptor, PolicyInInterceptor, PolicyOutInterceptor, PolicyVerificationInFaultInterceptor, PolicyVerificationInInterceptor, PolicyVerificationOutInterceptor, ServerPolicyOutFaultInterceptor
public abstract class AbstractPolicyInterceptor
- extends AbstractPhaseInterceptor<Message>
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
addAfter, addAfter, addBefore, addBefore, 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 |
AbstractPolicyInterceptor
public AbstractPolicyInterceptor(String phase)
AbstractPolicyInterceptor
public AbstractPolicyInterceptor(String id,
String phase)
handleMessage
public void handleMessage(Message message)
throws Fault
- Description copied from interface:
Interceptor
- Intercepts a message.
Interceptors should NOT invoke handleMessage or handleFault
on the next interceptor - the interceptor chain will
take care of this.
- Throws:
Fault
getTransportAssertions
protected void getTransportAssertions(Message message)
getBindingFaultInfo
protected BindingFaultInfo getBindingFaultInfo(Message msg,
Exception ex,
BindingOperationInfo boi)
handle
protected abstract void handle(Message message)
throws PolicyException
- Throws:
PolicyException
Apache CXF