public class JaxWSHeaderContextProcessor extends Object implements SOAPHandler<SOAPMessageContext>
Constructor and Description |
---|
JaxWSHeaderContextProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
close(MessageContext messageContext) |
Set<QName> |
getHeaders()
Gets the header blocks that can be processed by this Handler instance.
|
boolean |
handleFault(SOAPMessageContext messageContext)
Tidy up the Transaction/Thread association.
|
protected boolean |
handleInbound(SOAPMessageContext messageContext)
Tidy up the Transaction/Thread association before control is returned to the user.
|
boolean |
handleMessage(SOAPMessageContext msgContext)
Process a message.
|
boolean |
handleMessage(SOAPMessageContext msgContext,
boolean mustUnderstand)
Process a message.
|
protected boolean |
handleOutbound(SOAPMessageContext messageContext,
boolean mustUnderstand)
Process the tx thread context and attach serialized version as msg header
|
boolean |
handleOutboundMessage(SOAPMessage soapMessage)
Handle the request.
|
boolean |
handleOutboundMessage(SOAPMessage soapMessage,
boolean mustUnderstand)
Handle the request.
|
protected void |
resumeTransaction(SOAPMessage soapMessage)
Resume the current transaction.
|
void |
setHeaders(Set headers)
Sets the header blocks that can be processed by this Handler instance.
|
public boolean handleMessage(SOAPMessageContext msgContext)
handleMessage
in interface Handler<SOAPMessageContext>
msgContext
- public boolean handleMessage(SOAPMessageContext msgContext, boolean mustUnderstand)
msgContext
- mustUnderstand
- public boolean handleFault(SOAPMessageContext messageContext)
handleFault
in interface Handler<SOAPMessageContext>
messageContext
- public void close(MessageContext messageContext)
close
in interface Handler<SOAPMessageContext>
public Set<QName> getHeaders()
getHeaders
in interface SOAPHandler<SOAPMessageContext>
public void setHeaders(Set headers)
protected boolean handleInbound(SOAPMessageContext messageContext)
messageContext
- protected boolean handleOutbound(SOAPMessageContext messageContext, boolean mustUnderstand)
messageContext
- mustUnderstand
- public boolean handleOutboundMessage(SOAPMessage soapMessage)
soapMessage
- The current message context.public boolean handleOutboundMessage(SOAPMessage soapMessage, boolean mustUnderstand)
soapMessage
- The current message context.mustUnderstand
- Value of MustUnderstand attribute.protected void resumeTransaction(SOAPMessage soapMessage)
Copyright © 2013. All Rights Reserved.