Class AuditResponseInterceptor<T extends WsAuditDataset>

  • All Implemented Interfaces:
    org.apache.cxf.binding.soap.interceptor.SoapInterceptor, org.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>, org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>

    public class AuditResponseInterceptor<T extends WsAuditDataset>
    extends AbstractAuditInterceptor<T>
    CXF interceptor for ATNA auditing in WS-based IHE transactions with WSA asynchrony support. Handles response messages. Usable on client, server, and asynchronous response receiver sides.
    Author:
    Dmytro Rud
    • Constructor Detail

      • AuditResponseInterceptor

        public AuditResponseInterceptor​(AuditStrategy<T> auditStrategy,
                                        org.openehealth.ipf.commons.audit.AuditContext auditContext,
                                        boolean serverSide,
                                        AsynchronyCorrelator<T> correlator,
                                        boolean asyncReceiver)
        Constructor.
        Parameters:
        auditStrategy - an audit strategy instance.
        serverSide - whether this interceptor is being used on the server side (true) or on the client side (false). Server side is where the response is generated.
        correlator - correlator for asynchronous messages (null on server side).
        asyncReceiver - true when this interceptor is installed on the asynchronous receiver side.