Uses of Class
io.grpc.ServerMethodDefinition
Packages that use ServerMethodDefinition
Package
Description
The gRPC core public API.
Interfaces and implementations that are internal to gRPC.
Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.
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 ServerMethodDefinitionModifier and TypeFieldDescriptionprivate final Map
<String, ServerMethodDefinition<?, ?>> ServerServiceDefinition.Builder.methods
private final Map
<String, ServerMethodDefinition<?, ?>> ServerServiceDefinition.methods
Methods in io.grpc that return ServerMethodDefinitionModifier and TypeMethodDescriptionstatic <ReqT,
RespT>
ServerMethodDefinition<ReqT, RespT> ServerMethodDefinition.create
(MethodDescriptor<ReqT, RespT> method, ServerCallHandler<ReqT, RespT> handler) Create a new instance.Look up a method by its fully qualified name.final ServerMethodDefinition
<?, ?> HandlerRegistry.lookupMethod
(String methodName) Lookup aServerMethodDefinition
by its fully-qualified name.abstract ServerMethodDefinition
<?, ?> HandlerRegistry.lookupMethod
(String methodName, String authority) Lookup aServerMethodDefinition
by its fully-qualified name.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 ServerMethodDefinitionModifier and TypeMethodDescriptionServerServiceDefinition.getMethods()
Gets all the methods of service.Methods in io.grpc with parameters of type ServerMethodDefinitionModifier and TypeMethodDescription<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, 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 ServerMethodDefinitionModifierConstructorDescriptionprivate
ServerServiceDefinition
(ServiceDescriptor serviceDescriptor, Map<String, ServerMethodDefinition<?, ?>> methods) -
Uses of ServerMethodDefinition in io.grpc.internal
Fields in io.grpc.internal with type parameters of type ServerMethodDefinitionModifier and TypeFieldDescriptionprivate final Map
<String, ServerMethodDefinition<?, ?>> InternalHandlerRegistry.methods
Methods in io.grpc.internal that return ServerMethodDefinitionModifier and TypeMethodDescriptionInternalHandlerRegistry.lookupMethod
(String methodName, String authority) ServerImplBuilder.DefaultFallbackRegistry.lookupMethod
(String methodName, 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 ServerMethodDefinitionModifier and TypeMethodDescriptionprivate <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 ServerMethodDefinitionModifierConstructorDescriptionprivate
InternalHandlerRegistry
(List<ServerServiceDefinition> services, Map<String, ServerMethodDefinition<?, ?>> methods) -
Uses of ServerMethodDefinition in io.grpc.protobuf.services
Methods in io.grpc.protobuf.services that return ServerMethodDefinitionModifier and TypeMethodDescriptionfinal <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 ServerMethodDefinitionModifier and TypeMethodDescriptionfinal <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 ServerMethodDefinitionModifier and TypeMethodDescriptionMutableHandlerRegistry.lookupMethod
(String methodName, String authority) Note: This does not actually honor the authority provided.