public interface Handler
MessageContext
.
It is most commonly used to invoke logic within MessageEncoder
's and MessageDecoder
's,
but could also be used outside of that framework.
Modifier and Type | Method and Description |
---|---|
void |
invoke(MessageContext msgContext)
Invoke the handler on the specified message context.
|
void invoke(MessageContext msgContext) throws HandlerException
msgContext
- the message context on which to invoke the handlerHandlerException
- if there is a problem handling the message contextCopyright © 2018 JBoss by Red Hat. All rights reserved.