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
ConstructorsConstructorDescriptionAuditOutRequestInterceptor(AuditStrategy<T> auditStrategy, AuditContext auditContext, AsynchronyCorrelator<T> correlator, WsTransactionConfiguration<T> wsTransactionConfiguration) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprocess(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, getAuditStrategyMethods inherited from class org.openehealth.ipf.commons.ihe.ws.cxf.AbstractSafeInterceptor
handleMessageMethods inherited from class org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
getFaultCodePrefix, getRoles, getUnderstoodHeaders, prepareStackTraceMethods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBeforeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:AbstractSafeInterceptorPerforms the actual work, being called fromAbstractSafeInterceptor.handleMessage(SoapMessage).- Specified by:
processin classAbstractSafeInterceptor- Parameters:
message- CXF message to process.
-