Class ProvidedAttachmentOutInterceptor

  • 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 ProvidedAttachmentOutInterceptor
    extends org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
    Interceptor to add provided outgoing attachments for SwA on the client side.
    Author:
    Jens Riemschneider
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String ATTACHMENTS
      Context property that contains the provided attachments that need to be added to the message.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleMessage​(org.apache.cxf.binding.soap.SoapMessage message)  
      • 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 interface org.apache.cxf.interceptor.Interceptor

        handleFault
    • Field Detail

      • ATTACHMENTS

        public static final String ATTACHMENTS
        Context property that contains the provided attachments that need to be added to the message.
    • Constructor Detail

      • ProvidedAttachmentOutInterceptor

        public ProvidedAttachmentOutInterceptor()
        Constructs the interceptor.
    • Method Detail

      • handleMessage

        public void handleMessage​(org.apache.cxf.binding.soap.SoapMessage message)
                           throws org.apache.cxf.interceptor.Fault
        Throws:
        org.apache.cxf.interceptor.Fault