Class AuditOutRequestInterceptor<T extends WsAuditDataset>
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
org.openehealth.ipf.commons.ihe.ws.cxf.AbstractSafeInterceptor
org.openehealth.ipf.commons.ihe.ws.cxf.audit.AbstractAuditInterceptor<T>
org.openehealth.ipf.commons.ihe.ws.cxf.audit.AuditOutRequestInterceptor<T>
- All Implemented Interfaces:
org.apache.cxf.binding.soap.interceptor.SoapInterceptor
,Interceptor<org.apache.cxf.binding.soap.SoapMessage>
,PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
public class AuditOutRequestInterceptor<T extends WsAuditDataset>
extends AbstractAuditInterceptor<T>
CXF interceptor for ATNA auditing in WS-based IHE transactions with
WSA asynchrony support. Handles outgoing requests
on producer side.
- Author:
- Dmytro Rud
-
Field Summary
Fields inherited from class org.openehealth.ipf.commons.ihe.ws.cxf.audit.AbstractAuditInterceptor
DATASET_CONTEXT_KEY
-
Constructor Summary
ConstructorDescriptionAuditOutRequestInterceptor
(AuditStrategy<T> auditStrategy, AuditContext auditContext, AsynchronyCorrelator<T> correlator, WsTransactionConfiguration<T> wsTransactionConfiguration) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
process
(org.apache.cxf.binding.soap.SoapMessage message) Performs the actual work, being called fromAbstractSafeInterceptor.handleMessage(SoapMessage)
.Methods inherited from class org.openehealth.ipf.commons.ihe.ws.cxf.audit.AbstractAuditInterceptor
enrichAuditDatasetFromRequest, enrichAuditDatasetFromResponse, extractAddressesFromServletRequest, extractClientCertificateCommonName, extractPojo, extractUserIdFromWSAddressing, getAuditContext, getAuditDataset, getAuditStrategy
Methods inherited from class org.openehealth.ipf.commons.ihe.ws.cxf.AbstractSafeInterceptor
handleMessage
Methods inherited from class org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
getFaultCodePrefix, getRoles, getUnderstoodHeaders, prepareStackTrace
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
Methods inherited from interface org.apache.cxf.interceptor.Interceptor
handleFault
-
Constructor Details
-
AuditOutRequestInterceptor
public AuditOutRequestInterceptor(AuditStrategy<T> auditStrategy, AuditContext auditContext, AsynchronyCorrelator<T> correlator, WsTransactionConfiguration<T> wsTransactionConfiguration) Constructor.
-
-
Method Details
-
process
protected void process(org.apache.cxf.binding.soap.SoapMessage message) Description copied from class:AbstractSafeInterceptor
Performs the actual work, being called fromAbstractSafeInterceptor.handleMessage(SoapMessage)
.- Specified by:
process
in classAbstractSafeInterceptor
- Parameters:
message
- CXF message to process.
-