Package org.opensaml.messaging.pipeline
Interface MessagePipeline
- All Known Subinterfaces:
HttpClientMessagePipeline
,HttpServletMessagePipeline
- All Known Implementing Classes:
BasicHttpClientMessagePipeline
,BasicHttpServletMessagePipeline
,BasicMessagePipeline
public interface MessagePipeline
Interface representing the basic components of a message processing pipeline.
-
Method Summary
Modifier and TypeMethodDescriptionGet the message decoder instance.Get the message encoder instance.Get the (optional) inbound message handler instance.Get the (optional) outbound payload message handler instance.Get the (optional) outbound transport message handler instance.
-
Method Details
-
getEncoder
Get the message encoder instance.- Returns:
- the message encoder
-
getDecoder
Get the message decoder instance.- Returns:
- the message decoder
-
getOutboundPayloadMessageHandler
Get the (optional) outbound payload message handler instance.This is the handler intended to be called on the outbound message context, prior to any message encoding.
- Returns:
- the outbound message handler, may be null
-
getOutboundTransportMessageHandler
Get the (optional) outbound transport message handler instance.This is the handler intended to be called after
MessageEncoder.prepareContext()
, but beforeMessageEncoder.encode()
.- Returns:
- the outbound message handler, may be null
-
getInboundMessageHandler
MessageHandler getInboundMessageHandler()Get the (optional) inbound message handler instance.- Returns:
- the inbound message handler, may be null
-