MessageType
- the message type of the message context on which to operatepublic interface MessageDecoder<MessageType>
extends net.shibboleth.utilities.java.support.component.InitializableComponent, net.shibboleth.utilities.java.support.component.DestructableComponent
MessageContext
. Before the decoder can
be used the InitializableComponent.initialize()
method must be called. After the decoder has been used the DestructableComponent.destroy()
method should be invoked in order to clean up any resources.
The data on which the decoder operates is supplied in an implementation-specific manner.
Modifier and Type | Method and Description |
---|---|
void |
decode()
Decode message data from the source and store it so that it may be retrieved via
getMessageContext() . |
MessageContext<MessageType> |
getMessageContext()
Get the decoded message context.
|
void decode() throws MessageDecodingException
getMessageContext()
.MessageDecodingException
- if there is a problem decoding the message contextMessageContext<MessageType> getMessageContext()
Copyright © 2016. All rights reserved.