public abstract class AbstractWSTXHandler extends Object implements SOAPHandler<SOAPMessageContext>
Constructor and Description |
---|
AbstractWSTXHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close(MessageContext context)
Delegates to the JaxWSHeaderContextProcessor.
|
Set<QName> |
getHeaders()
Delegates to the JaxWSHeaderContextProcessor.
|
boolean |
handleFault(SOAPMessageContext context)
Delegates fault handling to the JaxWSHeaderContextProcessor if either WSTXFeature or default context propagation is
enabled.
|
boolean |
handleMessage(SOAPMessageContext context)
Delegates message handling to the JaxWSHeaderContextProcessor if either WSTXFeature or default context propagation is
enabled.
|
protected abstract boolean |
isContextPropagationEnabled(SOAPMessageContext context)
Checks if WSTXHandler should propagate WS-AT/WS-BA context.
|
public boolean handleMessage(SOAPMessageContext context)
handleMessage
in interface Handler<SOAPMessageContext>
context
- JaxWSHeaderContextProcessor.handleMessage(SOAPMessageContext, boolean)
public boolean handleFault(SOAPMessageContext context)
handleFault
in interface Handler<SOAPMessageContext>
context
- JaxWSHeaderContextProcessor.handleFault(SOAPMessageContext)
public void close(MessageContext context)
close
in interface Handler<SOAPMessageContext>
context
- JaxWSHeaderContextProcessor.close(MessageContext)
public 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.JaxWSHeaderContextProcessor.getHeaders()
protected abstract boolean isContextPropagationEnabled(SOAPMessageContext context)
context
- Copyright © 2019 JBoss by Red Hat. All rights reserved.