Home
last modified time | relevance | path

Searched refs:ServerInterceptors (Results 1 – 13 of 13) sorted by relevance

/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()
126 = ServerInterceptors.intercept(serviceDefinition, Arrays.asList(interceptor)); in multipleInvocationsOfHandler()
151 ServerServiceDefinition intercepted = ServerInterceptors.intercept( in correctHandlerCalled()
177 ServerServiceDefinition intercepted = ServerInterceptors.intercept(serviceDefinition, in callNextTwice()
220 ServerServiceDefinition intercepted = ServerInterceptors.intercept( in ordered()
262 ServerServiceDefinition intercepted = ServerInterceptors.interceptForward( in orderedForward()
289 ServerServiceDefinition intercepted = ServerInterceptors.intercept( in argumentsPassed()
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DInternalServerInterceptors.java26 return ServerInterceptors.InterceptCallHandler.create(interceptor, callHandler); in interceptCallHandler()
33 return ServerInterceptors.wrapMethod(definition, wrappedMethod); in wrapMethod()
38 return ServerInterceptors.InterceptCallHandler.create(interceptor, callHandler); in interceptCallHandlerCreate()
DServerInterceptors.java30 public final class ServerInterceptors { class
32 private ServerInterceptors() {} in ServerInterceptors() method in ServerInterceptors
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DTestServiceServer.java22 import io.grpc.ServerInterceptors;
136 ServerInterceptors.intercept( in start()
152 ServerInterceptors.intercept( in start()
DAbstractInteropTest.java63 import io.grpc.ServerInterceptors;
221 ServerInterceptors.intercept( in startServer()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/header/
DCustomHeaderServer.java21 import io.grpc.ServerInterceptors;
42 .addService(ServerInterceptors.intercept(new GreeterImpl(), new HeaderServerInterceptor())) in start()
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DUtilServerInterceptorsTest.java26 import io.grpc.ServerInterceptors;
109 ServerServiceDefinition intercepted = ServerInterceptors.intercept( in statusRuntimeExceptionTransmitter()
145 ServerServiceDefinition intercepted = ServerInterceptors.intercept( in statusRuntimeExceptionTransmitterIgnoresClosedCalls()
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/header/
DHeaderClientInterceptorTest.java32 import io.grpc.ServerInterceptors;
81 .addService(ServerInterceptors.intercept(new GreeterImplBase() {}, mockServerInterceptor)) in clientHeaderDeliveredToServer()
DHeaderServerInterceptorTest.java32 import io.grpc.ServerInterceptors;
82 .addService(ServerInterceptors.intercept(greeterImplBase, new HeaderServerInterceptor())) in setUp()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DNettyFlowControlTest.java26 import io.grpc.ServerInterceptors;
181 builder.addService(ServerInterceptors.intercept( in startServer()
DCompressionTest.java47 import io.grpc.ServerInterceptors;
186 ServerInterceptors.intercept(new LocalServer(), new ServerCompressorInterceptor())) in compression()
DCascadingTest.java36 import io.grpc.ServerInterceptors;
279 ServerInterceptors.intercept(service, in startCallTreeServer()
/external/grpc-grpc-java/examples/android/clientcache/app/src/test/java/io/grpc/clientcacheexample/
DSafeMethodCachingInterceptorTest.java20 import io.grpc.ServerInterceptors;
117 ServerInterceptors.intercept(greeterServiceImpl, injectCacheControlInterceptor)); in setUp()