Spring BlazeDS Integration

org.springframework.flex.core
Interface MessageInterceptor

All Known Subinterfaces:
ResourceHandlingMessageInterceptor
All Known Implementing Classes:
EndpointInterceptor, LoginMessageInterceptor, PerClientAuthenticationInterceptor

public interface MessageInterceptor

Strategy interface for applying custom processing logic to incoming and outgoing AMF Messages

Author:
Jeremy Grelle

Method Summary
 Message postProcess(MessageProcessingContext context, Message inputMessage, Message outputMessage)
          Hook for post-processing the outgoing AMF Message
 Message preProcess(MessageProcessingContext context, Message inputMessage)
          Hook for pre-processing the incoming AMF Message
 

Method Detail

postProcess

Message postProcess(MessageProcessingContext context,
                    Message inputMessage,
                    Message outputMessage)
Hook for post-processing the outgoing AMF Message

Parameters:
context - context for the current request
inputMessage - the incoming AMF message
outputMessage - the outgoing AMF message
Returns:
the AMF message to send in response

preProcess

Message preProcess(MessageProcessingContext context,
                   Message inputMessage)
Hook for pre-processing the incoming AMF Message

Parameters:
context - context for the current request
inputMessage - the incoming AMF message
Returns:
the AMF message to process in the current request

Spring BlazeDS Integration

Copyright © 2011. All Rights Reserved.