Module io.helidon.nima.grpc.server
Package io.helidon.nima.grpc.webserver
Class GrpcProtocolProvider
java.lang.Object
io.helidon.nima.grpc.webserver.GrpcProtocolProvider
- All Implemented Interfaces:
Http2SubProtocolProvider
ServiceLoader provider implementation of grpc sub-protocol of HTTP/2.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvider's specific configuration node name.Creates an instance of HTTP/2 sub-protocol selector.
-
Constructor Details
-
GrpcProtocolProvider
Deprecated.please do not use directly outside of testing, this is reserved for JavaServiceLoaderDefault constructor required by JavaServiceLoader.
-
-
Method Details
-
configKey
Description copied from interface:Http2SubProtocolProviderProvider's specific configuration node name.- Specified by:
configKeyin interfaceHttp2SubProtocolProvider- Returns:
- name of the node to request
-
create
Description copied from interface:Http2SubProtocolProviderCreates an instance of HTTP/2 sub-protocol selector.- Specified by:
createin interfaceHttp2SubProtocolProvider- Parameters:
config-Configconfiguration node located on the node returned byHttp2SubProtocolProvider.configKey()- Returns:
- new HTTP/2 sub-protocol selector
-
ServiceLoader