Package io.grpc.xds

Class ExternalProcessorFilter

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class ExternalProcessorFilter
    extends Object
    Filter for external processing as per gRFC A93.
    • Constructor Detail

      • ExternalProcessorFilter

        public ExternalProcessorFilter​(io.grpc.xds.Filter.FilterContext context)
    • Method Detail

      • buildClientInterceptor

        @Nullable
        public io.grpc.ClientInterceptor buildClientInterceptor​(io.grpc.xds.Filter.FilterConfig filterConfig,
                                                                @Nullable
                                                                io.grpc.xds.Filter.FilterConfig overrideConfig,
                                                                ScheduledExecutorService scheduler)
      • buildServerInterceptor

        @Nullable
        public default io.grpc.ServerInterceptor buildServerInterceptor​(io.grpc.xds.Filter.FilterConfig config,
                                                                        @Nullable
                                                                        io.grpc.xds.Filter.FilterConfig overrideConfig)
        Uses the FilterConfigs produced above to produce an HTTP filter interceptor for the server.