Class JAXRSDefaultFaultOutInterceptor

java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor
org.apache.cxf.jaxrs.interceptor.JAXRSDefaultFaultOutInterceptor
All Implemented Interfaces:
org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>, org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>

public class JAXRSDefaultFaultOutInterceptor extends org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor
  • Field Summary

    Fields inherited from class org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor

    DISABLE_OUTPUTSTREAM_OPTIMIZATION, OUT_BUFFERING
  • Constructor Summary

    Constructors
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleFault(org.apache.cxf.message.Message message)
     
    void
    handleMessage(org.apache.cxf.message.Message message)
     
    protected boolean
    mustPropogateException(org.apache.cxf.message.Message m)
     

    Methods inherited from class org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor

    getDataWriter, getXMLStreamWriter, setOperationSchemaValidation, shouldBuffer, shouldValidate, writeParts, writeToOutputStream

    Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor

    addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, isGET, isRequestor, setAfter, setBefore

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JAXRSDefaultFaultOutInterceptor

      public JAXRSDefaultFaultOutInterceptor()
    • JAXRSDefaultFaultOutInterceptor

      public JAXRSDefaultFaultOutInterceptor(String phase)
  • Method Details

    • handleMessage

      public void handleMessage(org.apache.cxf.message.Message message) throws org.apache.cxf.interceptor.Fault
      Throws:
      org.apache.cxf.interceptor.Fault
    • handleFault

      public void handleFault(org.apache.cxf.message.Message message) throws org.apache.cxf.interceptor.Fault
      Specified by:
      handleFault in interface org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>
      Overrides:
      handleFault in class org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
      Throws:
      org.apache.cxf.interceptor.Fault
    • mustPropogateException

      protected boolean mustPropogateException(org.apache.cxf.message.Message m)