Uses of Class
io.grpc.ServerMethodDefinition
-
Packages that use ServerMethodDefinition Package Description io.grpc The gRPC core public API.io.grpc.internal Interfaces and implementations that are internal to gRPC.io.grpc.protobuf.services Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.io.grpc.util Utilities with advanced features in the core layer that user can optionally use. -
-
Uses of ServerMethodDefinition in io.grpc
Fields in io.grpc with type parameters of type ServerMethodDefinition Modifier and Type Field Description private java.util.Map<java.lang.String,ServerMethodDefinition<?,?>>
ServerServiceDefinition.Builder. methods
private java.util.Map<java.lang.String,ServerMethodDefinition<?,?>>
ServerServiceDefinition. methods
Methods in io.grpc that return ServerMethodDefinition Modifier and Type Method Description static <ReqT,RespT>
ServerMethodDefinition<ReqT,RespT>ServerMethodDefinition. create(MethodDescriptor<ReqT,RespT> method, ServerCallHandler<ReqT,RespT> handler)
Create a new instance.ServerMethodDefinition<?,?>
ServerServiceDefinition. getMethod(java.lang.String methodName)
Look up a method by its fully qualified name.ServerMethodDefinition<?,?>
HandlerRegistry. lookupMethod(java.lang.String methodName)
Lookup aServerMethodDefinition
by its fully-qualified name.abstract ServerMethodDefinition<?,?>
HandlerRegistry. lookupMethod(java.lang.String methodName, java.lang.String authority)
Lookup aServerMethodDefinition
by its fully-qualified name.ServerMethodDefinition<ReqT,RespT>
ServerMethodDefinition. withServerCallHandler(ServerCallHandler<ReqT,RespT> handler)
Create a new method definition with a different call handler.static <OrigReqT,OrigRespT,WrapReqT,WrapRespT>
ServerMethodDefinition<WrapReqT,WrapRespT>InternalServerInterceptors. wrapMethod(ServerMethodDefinition<OrigReqT,OrigRespT> definition, MethodDescriptor<WrapReqT,WrapRespT> wrappedMethod)
(package private) static <OReqT,ORespT,WReqT,WRespT>
ServerMethodDefinition<WReqT,WRespT>ServerInterceptors. wrapMethod(ServerMethodDefinition<OReqT,ORespT> definition, MethodDescriptor<WReqT,WRespT> wrappedMethod)
abstract <ReqT,RespT>
ServerMethodDefinition<?,?>BinaryLog. wrapMethodDefinition(ServerMethodDefinition<ReqT,RespT> oMethodDef)
Methods in io.grpc that return types with arguments of type ServerMethodDefinition Modifier and Type Method Description java.util.Collection<ServerMethodDefinition<?,?>>
ServerServiceDefinition. getMethods()
Gets all the methods of service.Methods in io.grpc with parameters of type ServerMethodDefinition Modifier and Type Method Description <ReqT,RespT>
ServerServiceDefinition.BuilderServerServiceDefinition.Builder. addMethod(ServerMethodDefinition<ReqT,RespT> def)
Add a method to be supported by the service.private static <ReqT,RespT>
voidServerInterceptors. wrapAndAddMethod(ServerServiceDefinition.Builder serviceDefBuilder, ServerMethodDefinition<ReqT,RespT> method, java.util.List<? extends ServerInterceptor> interceptors)
static <OrigReqT,OrigRespT,WrapReqT,WrapRespT>
ServerMethodDefinition<WrapReqT,WrapRespT>InternalServerInterceptors. wrapMethod(ServerMethodDefinition<OrigReqT,OrigRespT> definition, MethodDescriptor<WrapReqT,WrapRespT> wrappedMethod)
(package private) static <OReqT,ORespT,WReqT,WRespT>
ServerMethodDefinition<WReqT,WRespT>ServerInterceptors. wrapMethod(ServerMethodDefinition<OReqT,ORespT> definition, MethodDescriptor<WReqT,WRespT> wrappedMethod)
abstract <ReqT,RespT>
ServerMethodDefinition<?,?>BinaryLog. wrapMethodDefinition(ServerMethodDefinition<ReqT,RespT> oMethodDef)
Constructor parameters in io.grpc with type arguments of type ServerMethodDefinition Constructor Description ServerServiceDefinition(ServiceDescriptor serviceDescriptor, java.util.Map<java.lang.String,ServerMethodDefinition<?,?>> methods)
-
Uses of ServerMethodDefinition in io.grpc.internal
Fields in io.grpc.internal with type parameters of type ServerMethodDefinition Modifier and Type Field Description private java.util.Map<java.lang.String,ServerMethodDefinition<?,?>>
InternalHandlerRegistry. methods
Methods in io.grpc.internal that return ServerMethodDefinition Modifier and Type Method Description ServerMethodDefinition<?,?>
InternalHandlerRegistry. lookupMethod(java.lang.String methodName, java.lang.String authority)
ServerMethodDefinition<?,?>
ServerImplBuilder.DefaultFallbackRegistry. lookupMethod(java.lang.String methodName, java.lang.String authority)
private <ReqT,RespT>
ServerMethodDefinition<?,?>ServerImpl.ServerTransportListenerImpl. wrapMethod(ServerStream stream, ServerMethodDefinition<ReqT,RespT> methodDef, StatsTraceContext statsTraceCtx)
Never returnsnull
.Methods in io.grpc.internal with parameters of type ServerMethodDefinition Modifier and Type Method Description private <ReqT,RespT>
ServerMethodDefinition<?,?>ServerImpl.ServerTransportListenerImpl. wrapMethod(ServerStream stream, ServerMethodDefinition<ReqT,RespT> methodDef, StatsTraceContext statsTraceCtx)
Never returnsnull
.Constructor parameters in io.grpc.internal with type arguments of type ServerMethodDefinition Constructor Description InternalHandlerRegistry(java.util.List<ServerServiceDefinition> services, java.util.Map<java.lang.String,ServerMethodDefinition<?,?>> methods)
-
Uses of ServerMethodDefinition in io.grpc.protobuf.services
Methods in io.grpc.protobuf.services that return ServerMethodDefinition Modifier and Type Method Description <ReqT,RespT>
ServerMethodDefinition<?,?>BinaryLogProvider. wrapMethodDefinition(ServerMethodDefinition<ReqT,RespT> oMethodDef)
Wraps aServerMethodDefinition
such that it performs binary logging if needed.Methods in io.grpc.protobuf.services with parameters of type ServerMethodDefinition Modifier and Type Method Description <ReqT,RespT>
ServerMethodDefinition<?,?>BinaryLogProvider. wrapMethodDefinition(ServerMethodDefinition<ReqT,RespT> oMethodDef)
Wraps aServerMethodDefinition
such that it performs binary logging if needed. -
Uses of ServerMethodDefinition in io.grpc.util
Methods in io.grpc.util that return ServerMethodDefinition Modifier and Type Method Description ServerMethodDefinition<?,?>
MutableHandlerRegistry. lookupMethod(java.lang.String methodName, java.lang.String authority)
Note: This does not actually honor the authority provided.
-