public abstract class AbstractSafeInterceptor
extends org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
Modifier | Constructor and Description |
---|---|
protected |
AbstractSafeInterceptor(String phase)
Constructs the interceptor.
|
Modifier and Type | Method and Description |
---|---|
void |
handleMessage(org.apache.cxf.binding.soap.SoapMessage message)
Calls
process(org.apache.cxf.binding.soap.SoapMessage)
and "forwards" all exceptions to the error log. |
protected abstract void |
process(org.apache.cxf.binding.soap.SoapMessage message)
Performs the actual work, being called from
Interceptor.handleMessage(Message) . |
getFaultCodePrefix, getRoles, getUnderstoodHeaders, prepareStackTrace
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
protected AbstractSafeInterceptor(String phase)
phase
- the phase in which the interceptor is run.protected abstract void process(org.apache.cxf.binding.soap.SoapMessage message) throws Exception
Interceptor.handleMessage(Message)
.message
- CXF message to process.Exception
- any exception that occurred when processing the message.public final void handleMessage(org.apache.cxf.binding.soap.SoapMessage message)
process(org.apache.cxf.binding.soap.SoapMessage)
and "forwards" all exceptions to the error log.message
- CXF message to process.Copyright © 2018 Open eHealth Foundation. All rights reserved.