Interface RequestFilter

All Superinterfaces:
Filter
All Known Implementing Classes:
TestJavaRequestFilter

public interface RequestFilter extends Filter
Interface for all request filters.
  • Method Details

    • filterRequest

      FilterResult filterRequest(Variables context)
      This gets called by the server whenever a packet needs to be filtered.
    • getPacketTypes

      String[] getPacketTypes()
      Get all the packet types that the filter is interested in. If this returns null or an empty array, then all packet types are potentially relevant.