Class TransformOutInterceptor

java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.interceptor.transform.TransformOutInterceptor
All Implemented Interfaces:
Interceptor<Message>, PhaseInterceptor<Message>

public class TransformOutInterceptor extends AbstractPhaseInterceptor<Message>
Creates an XMLStreamReader from the InputStream on the Message.
  • Constructor Details

    • TransformOutInterceptor

      public TransformOutInterceptor()
    • TransformOutInterceptor

      public TransformOutInterceptor(String phase)
  • Method Details

    • handleFault

      public void handleFault(Message message)
      Description copied from interface: Interceptor
      Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.
      Specified by:
      handleFault in interface Interceptor<Message>
      Overrides:
      handleFault in class AbstractPhaseInterceptor<Message>
    • handleMessage

      public void handleMessage(Message message)
      Description copied from interface: Interceptor
      Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.
    • createTransformWriterIfNeeded

      protected XMLStreamWriter createTransformWriterIfNeeded(XMLStreamWriter writer, OutputStream os)
    • setOutTransformElements

      public void setOutTransformElements(Map<String,String> outElements)
    • setOutAppendElements

      public void setOutAppendElements(Map<String,String> map)
    • setOutDropElements

      public void setOutDropElements(List<String> dropElementsSet)
    • setOutTransformAttributes

      public void setOutTransformAttributes(Map<String,String> outAttributes)
    • setAttributesToElements

      public void setAttributesToElements(boolean value)
    • setSkipOnFault

      public void setSkipOnFault(boolean value)
    • isHttpVerbSupported

      protected boolean isHttpVerbSupported(Message message)
    • setContextPropertyName

      public void setContextPropertyName(String propertyName)
    • setDefaultNamespace

      public void setDefaultNamespace(String defaultNamespace)