Home
last modified time | relevance | path

Searched refs:ServerInterceptor (Results 1 – 25 of 28) sorted by relevance

12

/external/grpc-grpc-java/core/src/main/java/io/grpc/
DServerInterceptors.java44 ServerInterceptor... interceptors) { in interceptForward()
49 ServerInterceptor... interceptors) { in interceptForward()
64 List<? extends ServerInterceptor> interceptors) { in interceptForward()
65 List<? extends ServerInterceptor> copy = new ArrayList<>(interceptors); in interceptForward()
72 List<? extends ServerInterceptor> interceptors) { in interceptForward()
86 ServerInterceptor... interceptors) { in intercept()
91 ServerInterceptor... interceptors) { in intercept()
106 List<? extends ServerInterceptor> interceptors) { in intercept()
120 List<? extends ServerInterceptor> interceptors) { in intercept()
202 List<? extends ServerInterceptor> interceptors) { in wrapAndAddMethod()
[all …]
DInternalServerInterceptors.java25 ServerInterceptor interceptor, ServerCallHandler<ReqT, RespT> callHandler) { in interceptCallHandler()
37 ServerInterceptor interceptor, ServerCallHandler<ReqT, RespT> callHandler) { in interceptCallHandlerCreate()
DServerInterceptor.java34 public interface ServerInterceptor { interface
DServerBuilder.java104 public T intercept(ServerInterceptor interceptor) { in intercept()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DServerInterceptorsTest.java102 ServerInterceptors.intercept(serviceDef, Arrays.<ServerInterceptor>asList()); in npeForNullServiceDefinition()
107 ServerInterceptors.intercept(serviceDefinition, (List<ServerInterceptor>) null); in npeForNullInterceptorList()
112 ServerInterceptors.intercept(serviceDefinition, Arrays.asList((ServerInterceptor) null)); in npeForNullInterceptor()
118 ServerInterceptors.intercept(serviceDefinition, Arrays.<ServerInterceptor>asList())); in noop()
123 ServerInterceptor interceptor = in multipleInvocationsOfHandler()
124 mock(ServerInterceptor.class, delegatesTo(new NoopInterceptor())); in multipleInvocationsOfHandler()
152 serviceDefinition, Arrays.<ServerInterceptor>asList(new NoopInterceptor())); in correctHandlerCalled()
166 ServerInterceptor interceptor = new ServerInterceptor() { in callNextTwice()
197 ServerInterceptor interceptor1 = new ServerInterceptor() { in ordered()
207 ServerInterceptor interceptor2 = new ServerInterceptor() { in ordered()
[all …]
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/header/
DHeaderClientInterceptorTest.java31 import io.grpc.ServerInterceptor;
66 private final ServerInterceptor mockServerInterceptor = mock(ServerInterceptor.class, delegatesTo(
67 new ServerInterceptor() {
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DTestServiceImpl.java26 import io.grpc.ServerInterceptor;
496 public static List<ServerInterceptor> interceptors() {
507 private static ServerInterceptor echoRequestHeadersInterceptor(final Metadata.Key<?>... keys) {
509 return new ServerInterceptor() {
535 private static ServerInterceptor echoRequestMetadataInHeaders(final Metadata.Key<?>... keys) {
537 return new ServerInterceptor() {
562 private static ServerInterceptor echoRequestMetadataInTrailers(final Metadata.Key<?>... keys) {
564 return new ServerInterceptor() {
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/
DTestUtils.java23 import io.grpc.ServerInterceptor;
52 public static ServerInterceptor recordRequestHeadersInterceptor( in recordRequestHeadersInterceptor()
54 return new ServerInterceptor() { in recordRequestHeadersInterceptor()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/header/
DHeaderServerInterceptor.java24 import io.grpc.ServerInterceptor;
30 public class HeaderServerInterceptor implements ServerInterceptor {
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DBinaryLogProvider.java34 import io.grpc.ServerInterceptor;
70 ServerInterceptor binlogInterceptor = in wrapMethodDefinition()
93 protected abstract ServerInterceptor getServerInterceptor(String fullMethodName); in getServerInterceptor()
DBinaryLogProviderImpl.java22 import io.grpc.ServerInterceptor;
63 public ServerInterceptor getServerInterceptor(String fullMethodName) { in getServerInterceptor()
DBinlogHelper.java51 import io.grpc.ServerInterceptor;
406 public ServerInterceptor getServerInterceptor(final CallId callId) {
407 return new ServerInterceptor() {
/external/grpc-grpc-java/core/src/main/java/io/grpc/util/
DTransmitStatusRuntimeExceptionInterceptor.java28 import io.grpc.ServerInterceptor;
48 public final class TransmitStatusRuntimeExceptionInterceptor implements ServerInterceptor {
52 public static ServerInterceptor instance() { in instance()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/
DAltsServerBuilder.java31 import io.grpc.ServerInterceptor;
178 public AltsServerBuilder intercept(ServerInterceptor interceptor) { in intercept()
216 static final class FailingServerInterceptor implements ServerInterceptor {
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DAbstractServerImplBuilder.java35 import io.grpc.ServerInterceptor;
87 final List<ServerInterceptor> interceptors = new ArrayList<>();
156 public final T intercept(ServerInterceptor interceptor) { in intercept()
DServerImpl.java47 import io.grpc.ServerInterceptor;
94 private final ServerInterceptor[] interceptors;
144 builder.interceptors.toArray(new ServerInterceptor[builder.interceptors.size()]); in ServerImpl()
538 for (ServerInterceptor interceptor : interceptors) { in startCall()
/external/grpc-grpc/examples/python/interceptors/headers/
Drequest_header_validator_interceptor.py27 class RequestHeaderValidatorInterceptor(grpc.ServerInterceptor):
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DNettyFlowControlTest.java25 import io.grpc.ServerInterceptor;
183 ImmutableList.<ServerInterceptor>of())); in startServer()
DTransportCompressionTest.java39 import io.grpc.ServerInterceptor;
92 .intercept(new ServerInterceptor() { in getServerBuilder()
DCompressionTest.java46 import io.grpc.ServerInterceptor;
259 private class ServerCompressorInterceptor implements ServerInterceptor {
DCascadingTest.java35 import io.grpc.ServerInterceptor;
280 new ServerInterceptor() { in startCallTreeServer()
/external/grpc-grpc/src/ruby/lib/grpc/generic/
Dinterceptors.rb97 class ServerInterceptor < Interceptor class
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DBinaryLogProviderTest.java41 import io.grpc.ServerInterceptor;
87 public ServerInterceptor getServerInterceptor(String fullMethodName) {
346 private final class TestBinaryLogServerInterceptor implements ServerInterceptor {
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DServerImplTest.java69 import io.grpc.ServerInterceptor;
646 ServerInterceptor intercepter1 = new ServerInterceptor() { in interceptors()
662 ServerInterceptor intercepter2 = new ServerInterceptor() { in interceptors()
1243 final ServerInterceptor interceptor = new ServerInterceptor() { in binaryLogInstalled()
/external/grpc-grpc-java/examples/android/clientcache/app/src/test/java/io/grpc/clientcacheexample/
DSafeMethodCachingInterceptorTest.java19 import io.grpc.ServerInterceptor;
83 private ServerInterceptor injectCacheControlInterceptor =
84 new ServerInterceptor() {

12