MessageType - the message type of the message context on which to operatepublic abstract class AbstractMessageDecoder<MessageType> extends net.shibboleth.utilities.java.support.component.AbstractInitializableComponent implements MessageDecoder<MessageType>, net.shibboleth.utilities.java.support.component.UnmodifiableComponent
| Modifier and Type | Field and Description |
|---|---|
private MessageContext<MessageType> |
messageContext
Message context.
|
| Constructor and Description |
|---|
AbstractMessageDecoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
decode()
Decode message data from the source and store it so that it may be retrieved via
MessageDecoder.getMessageContext(). |
protected abstract void |
doDecode()
Performs the decoding logic.
|
protected void |
doDestroy() |
MessageContext<MessageType> |
getMessageContext()
Get the decoded message context.
|
protected void |
setMessageContext(MessageContext<MessageType> context)
Set the message context.
|
destroy, doInitialize, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprivate MessageContext<MessageType> messageContext
public MessageContext<MessageType> getMessageContext()
getMessageContext in interface MessageDecoder<MessageType>protected void setMessageContext(MessageContext<MessageType> context)
context - the message contextpublic void decode()
throws MessageDecodingException
MessageDecoder.getMessageContext().decode in interface MessageDecoder<MessageType>MessageDecodingException - if there is a problem decoding the message contextprotected void doDestroy()
doDestroy in class net.shibboleth.utilities.java.support.component.AbstractInitializableComponentprotected abstract void doDecode()
throws MessageDecodingException
MessageDecodingException - thrown if there is a problem decoding the messageCopyright © 1999–2016 Shibboleth Consortium. All rights reserved.