Package org.apache.cxf.ws.rm.soap
Class RMSoapOutInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<SoapMessage>
org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
org.apache.cxf.ws.rm.soap.RMSoapOutInterceptor
- All Implemented Interfaces:
SoapInterceptor,Interceptor<SoapMessage>,PhaseInterceptor<SoapMessage>
Protocol Handler responsible for {en|de}coding the RM
Properties for {outgo|incom}ing messages.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidencode(SoapMessage message, RMProperties rmps) Encode the current RM properties in protocol-specific headers.static voidencodeFault(SoapMessage message, SequenceFault sf) Encode the SequenceFault in protocol-specific header.voidhandleMessage(SoapMessage message) Intercepts a message.Methods inherited from class org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
getFaultCodePrefix, getRoles, prepareStackTraceMethods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBeforeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.interceptor.Interceptor
handleFault
-
Field Details
-
jaxbContext
protected static jakarta.xml.bind.JAXBContext jaxbContext
-
-
Constructor Details
-
RMSoapOutInterceptor
public RMSoapOutInterceptor()Constructor.
-
-
Method Details
-
getUnderstoodHeaders
- Specified by:
getUnderstoodHeadersin interfaceSoapInterceptor- Overrides:
getUnderstoodHeadersin classAbstractSoapInterceptor- Returns:
- the set of SOAP headers understood by this handler
-
handleMessage
Description copied from interface:InterceptorIntercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.- Throws:
Fault
-
encode
Encode the current RM properties in protocol-specific headers.- Parameters:
message- the SOAP message.rmps- the current RM properties.
-
encodeFault
Encode the SequenceFault in protocol-specific header.- Parameters:
message- the SOAP message.sf- the SequenceFault.
-