java.lang.Object
io.helidon.webserver.grpc.GrpcRouting
- All Implemented Interfaces:
Routing
,ServerLifecycle
GRPC specific routing.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
After server stop.void
Before server start.static GrpcRouting.Builder
builder()
New routing builder.WeightedBag
<io.grpc.ServerInterceptor> Weighted bag of server interceptors associated with routing.services()
-
Method Details
-
routingType
Description copied from interface:Routing
- Specified by:
routingType
in interfaceRouting
- Returns:
- this routing type
-
builder
New routing builder.- Returns:
- new builder
-
beforeStart
public void beforeStart()Description copied from interface:ServerLifecycle
Before server start.- Specified by:
beforeStart
in interfaceServerLifecycle
-
afterStop
public void afterStop()Description copied from interface:ServerLifecycle
After server stop.- Specified by:
afterStop
in interfaceServerLifecycle
-
interceptors
Weighted bag of server interceptors associated with routing.- Returns:
- weighted bag of server interceptors
-
services
- Returns:
- a
List
of theGrpcServiceDescriptor
instances contained in thisGrpcRouting
-