|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.ws.message.decoder.BaseMessageDecoder
public abstract class BaseMessageDecoder
Base class for message decoders.
Constructor Summary | |
---|---|
BaseMessageDecoder()
Constructor. |
|
BaseMessageDecoder(org.opensaml.xml.parse.ParserPool pool)
Constructor. |
Method Summary | |
---|---|
void |
decode(MessageContext messageContext)
Decodes a message in a binding specific manner. |
protected abstract void |
doDecode(MessageContext messageContext)
Decodes a message, updating the message context. |
protected org.opensaml.xml.parse.ParserPool |
getParserPool()
Gets the parser pool used to deserialize incomming messages. |
protected void |
setParserPool(org.opensaml.xml.parse.ParserPool pool)
Sets the parser pool used to deserialize incomming messages. |
protected org.opensaml.xml.XMLObject |
unmarshallMessage(java.io.InputStream messageStream)
Helper method that deserializes and unmarshalls the message from the given stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseMessageDecoder()
public BaseMessageDecoder(org.opensaml.xml.parse.ParserPool pool)
pool
- parser pool used to deserialize messagesMethod Detail |
---|
public void decode(MessageContext messageContext) throws MessageDecodingException, org.opensaml.xml.security.SecurityException
decode
in interface MessageDecoder
messageContext
- current message context
MessageDecodingException
- thrown if the message can not be decoded
org.opensaml.xml.security.SecurityException
- thrown if the decoded message does not meet the required security constraintsprotected abstract void doDecode(MessageContext messageContext) throws MessageDecodingException
messageContext
- current message context
MessageDecodingException
- thrown if there is a problem decoding the messageprotected org.opensaml.xml.parse.ParserPool getParserPool()
protected void setParserPool(org.opensaml.xml.parse.ParserPool pool)
pool
- parser pool used to deserialize incomming messagesprotected org.opensaml.xml.XMLObject unmarshallMessage(java.io.InputStream messageStream) throws MessageDecodingException
messageStream
- input stream containing the message
MessageDecodingException
- thrown if there is a problem deserializing and unmarshalling the message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |