Interface MessageFilter

All Superinterfaces:
Serializable

public interface MessageFilter extends Serializable
A MessageFilter is installed on a ClientReqSession to allow the filtering of various operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    filter(GatewayContext context, Message message)
    Return null to pass through the filter, or return a MessageFilterResponse with a non-zero (zero==GatewayConstants.ERRNO_OK) err to abort the processing of the message.
  • Method Details

    • filter

      MessageFilterResponse filter(GatewayContext context, Message message)
      Return null to pass through the filter, or return a MessageFilterResponse with a non-zero (zero==GatewayConstants.ERRNO_OK) err to abort the processing of the message.