Package org.opensaml.messaging.decoder
Interface MessageDecoder
-
- All Superinterfaces:
net.shibboleth.utilities.java.support.component.Component,net.shibboleth.utilities.java.support.component.DestructableComponent,net.shibboleth.utilities.java.support.component.InitializableComponent
- All Known Subinterfaces:
HttpClientResponseMessageDecoder,HttpServletRequestMessageDecoder
- All Known Implementing Classes:
AbstractHttpClientResponseMessageDecoder,AbstractHttpServletRequestMessageDecoder,AbstractMessageDecoder,BaseHttpClientResponseXMLMessageDecoder,BaseHttpServletRequestXMLMessageDecoder
public interface MessageDecoder extends net.shibboleth.utilities.java.support.component.InitializableComponent, net.shibboleth.utilities.java.support.component.DestructableComponentInterface for component that decodes message data from a source into aMessageContext. Before the decoder can be used theInitializableComponent.initialize()method must be called. After the decoder has been used theDestructableComponent.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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddecode()Decode message data from the source and store it so that it may be retrieved viagetMessageContext().MessageContextgetMessageContext()Get the decoded message context.
-
-
-
Method Detail
-
decode
void decode() throws MessageDecodingExceptionDecode message data from the source and store it so that it may be retrieved viagetMessageContext().- Throws:
MessageDecodingException- if there is a problem decoding the message context
-
getMessageContext
MessageContext getMessageContext()
Get the decoded message context.- Returns:
- the decoded message context
-
-