java.lang.Object
io.helidon.webserver.grpc.GrpcRouting
- All Implemented Interfaces:
Routing,ServerLifecycle
GRPC specific routing.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidAfter server stop.voidBefore server start.static GrpcRouting.Builderbuilder()New routing builder.WeightedBag<io.grpc.ServerInterceptor> Weighted bag of server interceptors associated with routing.services()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.webserver.ServerLifecycle
afterStart
-
Method Details
-
routingType
Description copied from interface:Routing- Specified by:
routingTypein interfaceRouting- Returns:
- this routing type
-
builder
New routing builder.- Returns:
- new builder
-
beforeStart
public void beforeStart()Description copied from interface:ServerLifecycleBefore server start.- Specified by:
beforeStartin interfaceServerLifecycle
-
afterStop
public void afterStop()Description copied from interface:ServerLifecycleAfter server stop.- Specified by:
afterStopin interfaceServerLifecycle
-
interceptors
Weighted bag of server interceptors associated with routing.- Returns:
- weighted bag of server interceptors
-
services
- Returns:
- a
Listof theGrpcServiceDescriptorinstances contained in thisGrpcRouting
-