Searched refs:serviceDef (Results 1 – 3 of 3) sorted by relevance
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | ServerInterceptors.java | 43 public static ServerServiceDefinition interceptForward(ServerServiceDefinition serviceDef, in interceptForward() argument 45 return interceptForward(serviceDef, Arrays.asList(interceptors)); in interceptForward() 63 ServerServiceDefinition serviceDef, in interceptForward() argument 67 return intercept(serviceDef, copy); in interceptForward() 85 public static ServerServiceDefinition intercept(ServerServiceDefinition serviceDef, in intercept() argument 87 return intercept(serviceDef, Arrays.asList(interceptors)); in intercept() 105 public static ServerServiceDefinition intercept(ServerServiceDefinition serviceDef, in intercept() argument 107 Preconditions.checkNotNull(serviceDef, "serviceDef"); in intercept() 109 return serviceDef; in intercept() 112 = ServerServiceDefinition.builder(serviceDef.getServiceDescriptor()); in intercept() [all …]
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | ServerInterceptorsTest.java | 101 ServerServiceDefinition serviceDef = null; in npeForNullServiceDefinition() local 102 ServerInterceptors.intercept(serviceDef, Arrays.<ServerInterceptor>asList()); in npeForNullServiceDefinition() 332 ServerServiceDefinition serviceDef = ServerServiceDefinition.builder( in typedMarshalledMessages() local 394 ServerServiceDefinition intercepted = ServerInterceptors.intercept(serviceDef, interceptor1); in typedMarshalledMessages() 414 ServerServiceDefinition serviceDef) { in getSoleMethod() argument 415 if (serviceDef.getMethods().size() != 1) { in getSoleMethod() 418 return (ServerMethodDefinition<String, Integer>) getOnlyElement(serviceDef.getMethods()); in getSoleMethod() 423 ServerServiceDefinition serviceDef, String name) { in getMethod() argument 424 return (ServerMethodDefinition<String, Integer>) serviceDef.getMethod(name); in getMethod()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/ |
D | UtilServerInterceptorsTest.java | 67 ServerServiceDefinition serviceDef) { in getSoleMethod() argument 68 if (serviceDef.getMethods().size() != 1) { in getSoleMethod() 71 return (ServerMethodDefinition<Void, Void>) getOnlyElement(serviceDef.getMethods()); in getSoleMethod()
|