Package io.grpc.xds

Interface Filter

All Known Implementing Classes:
FaultFilter, RbacFilter, RouterFilter

interface Filter
Defines the parsing functionality of an HTTP filter. A Filter may optionally implement either Filter.ClientInterceptorBuilder or Filter.ServerInterceptorBuilder or both, indicating it is capable of working on the client side or server side or both, respectively.
  • Method Details

    • typeUrls

      String[] typeUrls()
      The proto message types supported by this filter. A filter will be registered by each of its supported message types.
    • parseFilterConfig

      ConfigOrError<? extends Filter.FilterConfig> parseFilterConfig(com.google.protobuf.Message rawProtoMessage)
      Parses the top-level filter config from raw proto message. The message may be either a Any or a Struct.
    • parseFilterConfigOverride

      ConfigOrError<? extends Filter.FilterConfig> parseFilterConfigOverride(com.google.protobuf.Message rawProtoMessage)
      Parses the per-filter override filter config from raw proto message. The message may be either a Any or a Struct.