Interface MessageFilter

  • All Superinterfaces:
    java.io.Serializable

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

      • 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.