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
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, isInitialized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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.AbstractInitializableComponent
protected abstract void doDecode() throws MessageDecodingException
MessageDecodingException
- thrown if there is a problem decoding the messageCopyright © 2016. All rights reserved.