GrpcRouteContextHandler class
The GrpcRouteContextHandler class is the gRPC route context for unary handlers.
- Inheritance
-
- Object
- GrpcRouteContext<
GrpcUnaryHandler< GeneratedMessage, GeneratedMessage> > - GrpcRouteContextHandler
Constructors
-
GrpcRouteContextHandler({required GrpcUnaryHandler<
GeneratedMessage, GeneratedMessage> handler, required Map<Type, Provider> providers, required HooksContainer hooks, required Set<ExceptionFilter> exceptionFilters, required Set<Pipe> pipes}) -
Creates a gRPC route context handler.
const
Properties
-
exceptionFilters
→ Set<
ExceptionFilter> -
The exceptionFilters property contains the exception filters available in the context.
finalinherited
-
handler
→ GrpcUnaryHandler<
GeneratedMessage, GeneratedMessage> -
The handler property contains the handler function.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hooks → HooksContainer
-
The hooks property contains the hooks available in the context.
finalinherited
-
pipes
→ Set<
Pipe> -
The pipes property contains the pipes available in the context.
finalinherited
-
providers
→ Map<
Type, Provider> -
The providers property contains the providers available in the context.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streaming → bool
-
Indicates whether the handler is streaming.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited