Class ServiceCallVersioningOutInterceptor

java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.kuali.rice.ksb.impl.cxf.interceptors.ServiceCallVersioningOutInterceptor
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 ServiceCallVersioningOutInterceptor extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
A CXF Interceptor that binds itself to the USER_PROTOCOL phase to be used on outbound messages. The role of this interceptor is to populate outgoing protocol headers (for all intents and purposes, HTTP headers) with Kuali Rice and application version information.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates an ServiceCallVersioningOutInterceptor and adds it to the USER_PROTOCOL phase.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleMessage(org.apache.cxf.message.Message message)
    Publishes the Kuali Rice Environment, Rice Version, Application Name and Application Version in outbound protocol headers

    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 class java.lang.Object

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

    • ServiceCallVersioningOutInterceptor

      public ServiceCallVersioningOutInterceptor()
      Instantiates an ServiceCallVersioningOutInterceptor and adds it to the USER_PROTOCOL phase.
  • Method Details

    • handleMessage

      public void handleMessage(org.apache.cxf.message.Message message) throws org.apache.cxf.interceptor.Fault
      Publishes the Kuali Rice Environment, Rice Version, Application Name and Application Version in outbound protocol headers
      Throws:
      org.apache.cxf.interceptor.Fault