Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Spring BlazeDS Integration
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 `Message`s

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Spring BlazeDS Integration
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011. All Rights Reserved.