org.kuali.rice.ksb.impl.cxf.interceptors
Class ServiceCallVersioningOutInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
      extended by 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:
CXF interceptors

Constructor Summary
ServiceCallVersioningOutInterceptor()
          Instantiates an ServiceCallVersioningOutInterceptor and adds it to the USER_PROTOCOL phase.
 
Method Summary
 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 Detail

ServiceCallVersioningOutInterceptor

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

Method Detail

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


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.