Package io.grpc.xds
Class ExternalProcessorFilter
- java.lang.Object
-
- io.grpc.xds.ExternalProcessorFilter
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class ExternalProcessorFilter extends Object
Filter for external processing as per gRFC A93.
-
-
Constructor Summary
Constructors Constructor Description ExternalProcessorFilter(io.grpc.xds.Filter.FilterContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Default Methods Modifier and Type Method Description ClientInterceptorbuildClientInterceptor(io.grpc.xds.Filter.FilterConfig filterConfig, io.grpc.xds.Filter.FilterConfig overrideConfig, ScheduledExecutorService scheduler)default ServerInterceptorbuildServerInterceptor(io.grpc.xds.Filter.FilterConfig config, io.grpc.xds.Filter.FilterConfig overrideConfig)Uses the FilterConfigs produced above to produce an HTTP filter interceptor for the server.voidclose()
-
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
buildClientInterceptor
@Nullable public ClientInterceptor buildClientInterceptor(io.grpc.xds.Filter.FilterConfig filterConfig, @Nullable io.grpc.xds.Filter.FilterConfig overrideConfig, ScheduledExecutorService scheduler)
-
buildServerInterceptor
@Nullable public default 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.
-
-