Package org.opensaml.messaging.error
Interface PipelineMessageErrorHandler
- All Superinterfaces:
MessageErrorHandler
A specialization of error handler where the error is handled via use of a specified message handler
and message encoder.
-
Method Summary
Modifier and TypeMethodDescriptionGet the handler to invoke on the outbound error message.Get the message encoder used to encode the outbound error message.voidsetHandler(MessageHandler handler) Set the handler to invoke on the outbound error message.voidsetMessageEncoder(MessageEncoder messageEncoder) Set the message encoder used to encode the outbound error message.Methods inherited from interface org.opensaml.messaging.error.MessageErrorHandler
handleError
-
Method Details
-
getHandler
MessageHandler getHandler()Get the handler to invoke on the outbound error message.- Returns:
- the outbound error handler
-
setHandler
Set the handler to invoke on the outbound error message.- Parameters:
handler- the outbound error handler
-
getMessageEncoder
MessageEncoder getMessageEncoder()Get the message encoder used to encode the outbound error message.- Returns:
- the outbound error message encoder
-
setMessageEncoder
Set the message encoder used to encode the outbound error message.- Parameters:
messageEncoder- the outbound error message encoder
-