Class ImmutableCollectionsInInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.kuali.rice.ksb.impl.cxf.interceptors.ImmutableCollectionsInInterceptor
- 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 ImmutableCollectionsInInterceptor
extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
A CXF Interceptor that binds itself to the USER_LOGICAL phase to be used on inbound
messages. This interceptor is invoked in the interceptor chain after unmarshalling
from XML to Java has occurred. The role of this interceptor is to ensure that any
Collection (and specifically List, Set, or Map) used in a @WebMethod is ultimately of the
expected immutable type returned from the local service.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates an ImmutableCollectionsInInterceptor and adds it to the USER_LOGICAL phase. -
Method Summary
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
Constructor Details
-
ImmutableCollectionsInInterceptor
public ImmutableCollectionsInInterceptor()Instantiates an ImmutableCollectionsInInterceptor and adds it to the USER_LOGICAL 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
-