MCPcopy Create free account
hub / github.com/grpc/grpc-java / intercept

Method intercept

api/src/main/java/io/grpc/ServerBuilder.java:144–146  ·  view source on GitHub ↗

Adds a ServerInterceptor that is run for all services on the server. Interceptors added through this method always run before per-service interceptors added through ServerInterceptors. Interceptors run in the reverse order in which they are added, just as with consecutive calls to

(ServerInterceptor interceptor)

Source from the content-addressed store, hash-verified

142 * @since 1.5.0
143 */
144 public T intercept(ServerInterceptor interceptor) {
145 throw new UnsupportedOperationException();
146 }
147
148 /**
149 * Adds a {@link ServerTransportFilter}. The order of filters being added is the order they will

Callers 15

k8sExchangeMethod · 0.45
gceExchangeMethod · 0.45
createChannelBuilderMethod · 0.45
createChannelBuilderMethod · 0.45
getServerBuilderMethod · 0.45
createChannelBuilderMethod · 0.45
getServerBuilderMethod · 0.45
compressionMethod · 0.45

Calls

no outgoing calls

Tested by 15

k8sExchangeMethod · 0.36
gceExchangeMethod · 0.36
createChannelBuilderMethod · 0.36
createChannelBuilderMethod · 0.36
getServerBuilderMethod · 0.36
createChannelBuilderMethod · 0.36
getServerBuilderMethod · 0.36
compressionMethod · 0.36
createNewChannelMethod · 0.36
createChannelBuilderMethod · 0.36
createChannelBuilderMethod · 0.36