|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageEncoder
Encodes a message onto the outbound transport. Message encoders MUST must be thread safe and stateless.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void encode(MessageContext messageContext)
throws MessageEncodingException
messageContext - current message context
MessageEncodingException - thrown if the problem can not be encoded
boolean providesMessageConfidentiality(MessageContext messageContext)
throws MessageEncodingException
messageContext - the current message context
MessageEncodingException - 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 context
MessageEncodingException - thrown if the encoder encounter an error while attempt to evaluate its ability
to provide message integrity.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||