|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.apache.camel.component.cxf.interceptors.RemoveClassTypeInterceptor
public class RemoveClassTypeInterceptor
This interceptor traverses the BindingOperationInfo and
invokes the MessagePartInfo.setTypeQName(javax.xml.namespace.QName) method to set
the service class to null. The reason we may want to set the service class to null is
because CXF will try to use JAXB if the service class is present. It affects DomSource
payload to be processed correctly.
| Constructor Summary | |
|---|---|
RemoveClassTypeInterceptor()
|
|
| Method Summary | |
|---|---|
void |
handleMessage(org.apache.cxf.message.Message message)
|
protected void |
removePartTypeClass(org.apache.cxf.service.model.BindingMessageInfo bmi)
|
protected void |
removePartTypeClass(org.apache.cxf.service.model.MessageInfo msgInfo)
|
| 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 |
|---|
public RemoveClassTypeInterceptor()
| Method Detail |
|---|
public void handleMessage(org.apache.cxf.message.Message message)
throws org.apache.cxf.interceptor.Fault
org.apache.cxf.interceptor.Faultprotected void removePartTypeClass(org.apache.cxf.service.model.BindingMessageInfo bmi)
protected void removePartTypeClass(org.apache.cxf.service.model.MessageInfo msgInfo)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||