public class JaxWSHeaderContextProcessor extends Object implements SOAPHandler<SOAPMessageContext>
| Constructor and Description |
|---|
JaxWSHeaderContextProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(MessageContext messageContext)
Called at the conclusion of a message exchange pattern just prior to
the JAX-WS runtime disptaching a message, fault or exception.
|
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)
Handlerclose in interface Handler<SOAPMessageContext>messageContext - the message contextpublic Set<QName> getHeaders()
getHeaders in interface SOAPHandler<SOAPMessageContext>QNames of header blocks processed by this
handler instance. QName is the qualified
name of the outermost element of the Header block.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 © 2016 JBoss by Red Hat. All rights reserved.