public interface MessageEncoder
Modifier and Type | Method and Description |
---|---|
void |
encode(MessageContext messageContext)
Encodes the message in the binding specific manner.
|
boolean |
providesMessageConfidentiality(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message confidentiality.
|
boolean |
providesMessageIntegrity(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message integrity.
|
void encode(MessageContext messageContext) throws MessageEncodingException
messageContext
- current message contextMessageEncodingException
- thrown if the problem can not be encodedboolean providesMessageConfidentiality(MessageContext messageContext) throws MessageEncodingException
messageContext
- the current message contextMessageEncodingException
- thrown if the encoder encounter an error while attempt to evaluate its ability
to provide message confidentiality.boolean providesMessageIntegrity(MessageContext messageContext) throws MessageEncodingException
messageContext
- the current message contextMessageEncodingException
- thrown if the encoder encounter an error while attempt to evaluate its ability
to provide message integrity.Copyright © 2018 JBoss by Red Hat. All rights reserved.