|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.ws.message.encoder.BaseMessageEncoder
public abstract class BaseMessageEncoder
Base class for message decoders.
| Field Summary | |
|---|---|
private org.slf4j.Logger |
log
Class logger. |
private org.slf4j.Logger |
protocolMessageLog
Used to log protocol messages. |
| Constructor Summary | |
|---|---|
BaseMessageEncoder()
Constructor. |
|
| Method Summary | |
|---|---|
protected abstract void |
doEncode(MessageContext messageContext)
Encodes the outbound message onto the outbound transport. |
void |
encode(MessageContext messageContext)
Encodes the message in the binding specific manner. |
protected void |
logEncodedMessage(MessageContext messageContext)
Log the encoded message to the protocol message logger. |
protected Element |
marshallMessage(XMLObject message)
Helper method that marshalls the given message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opensaml.ws.message.encoder.MessageEncoder |
|---|
providesMessageConfidentiality, providesMessageIntegrity |
| Field Detail |
|---|
private org.slf4j.Logger protocolMessageLog
private final org.slf4j.Logger log
| Constructor Detail |
|---|
public BaseMessageEncoder()
| Method Detail |
|---|
public void encode(MessageContext messageContext)
throws MessageEncodingException
encode in interface MessageEncodermessageContext - current message context
MessageEncodingException - thrown if the problem can not be encodedprotected void logEncodedMessage(MessageContext messageContext)
messageContext - the message context to process
protected abstract void doEncode(MessageContext messageContext)
throws MessageEncodingException
messageContext - current message context
MessageEncodingException - thrown if there is a problem encoding the message
protected Element marshallMessage(XMLObject message)
throws MessageEncodingException
message - message the marshall and serialize
MessageEncodingException - thrown if the give message can not be marshalled into its DOM representation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||