|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.ws.message.decoder.BaseMessageDecoder
org.opensaml.ws.message.handler.BaseHandlerChainAwareMessageDecoder
public abstract class BaseHandlerChainAwareMessageDecoder
Base class for message decoders which are capable of processing the message context's inbound HandlerChain.
| Field Summary | |
|---|---|
private org.slf4j.Logger |
log
Class logger. |
| Constructor Summary | |
|---|---|
BaseHandlerChainAwareMessageDecoder()
Constructor. |
|
BaseHandlerChainAwareMessageDecoder(ParserPool pool)
Constructor. |
|
| Method Summary | |
|---|---|
void |
decode(MessageContext messageContext)
Decodes a message in a binding specific manner. |
protected void |
invokeHandlerChain(HandlerChain handlerChain,
MessageContext messageContext)
Invoke a handler chain on the specified message context. |
protected void |
processPostSecurityInboundHandlerChain(MessageContext messageContext)
Process the post-SecurityPolicy inbound HandlerChain for the message context, if any. |
protected void |
processPreSecurityInboundHandlerChain(MessageContext messageContext)
Process the pre-SecurityPolicy inbound HandlerChain for the message context, if any. |
| Methods inherited from class org.opensaml.ws.message.decoder.BaseMessageDecoder |
|---|
doDecode, getParserPool, logDecodedMessage, processSecurityPolicy, setParserPool, unmarshallMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final org.slf4j.Logger log
| Constructor Detail |
|---|
public BaseHandlerChainAwareMessageDecoder()
public BaseHandlerChainAwareMessageDecoder(ParserPool pool)
pool - parser pool used to deserialize messages| Method Detail |
|---|
public void decode(MessageContext messageContext)
throws MessageDecodingException,
SecurityException
decode in interface MessageDecoderdecode in class BaseMessageDecodermessageContext - current message context
MessageDecodingException - thrown if the message can not be decoded
SecurityException - thrown if the decoded message does not meet the required security constraints
protected void processPreSecurityInboundHandlerChain(MessageContext messageContext)
throws MessageDecodingException
HandlerChain for the message context, if any.
messageContext - the message context to process
MessageDecodingException - thrown if a handler indicates a problem handling the message
protected void processPostSecurityInboundHandlerChain(MessageContext messageContext)
throws MessageDecodingException
HandlerChain for the message context, if any.
messageContext - the message context to process
MessageDecodingException - thrown if a handler indicates a problem handling the message
protected void invokeHandlerChain(HandlerChain handlerChain,
MessageContext messageContext)
throws HandlerException
handlerChain - the handle chain to invokemessageContext - the message context to process
HandlerException - if handler chain encountered a problem handling the message context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||