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
ConstructorsConstructorDescriptionInstantiates an ServiceCallVersioningOutInterceptor and adds it to the USER_PROTOCOL phase. -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleMessage(org.apache.cxf.message.Message message) Publishes the Kuali Rice Environment, Rice Version, Application Name and Application Version in outbound protocol headersMethods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
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
-