java.lang.Object
io.helidon.webserver.grpc.GrpcProtocolProvider
- All Implemented Interfaces:
Http2SubProtocolProvider<GrpcConfig>
ServiceLoader
provider implementation of grpc sub-protocol of HTTP/2.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(GrpcConfig config, ProtocolConfigs configs) Creates an instance of HTTP/2 sub-protocol selector.Type of supported configuration.Provider's type, also expected as the configuration node name.
-
Constructor Details
-
GrpcProtocolProvider
Deprecated.please do not use directly outside of testing, this is reserved for JavaServiceLoader
Default constructor required by JavaServiceLoader
.
-
-
Method Details
-
protocolType
Description copied from interface:Http2SubProtocolProvider
Provider's type, also expected as the configuration node name.- Specified by:
protocolType
in interfaceHttp2SubProtocolProvider<GrpcConfig>
- Returns:
- type of this provider, such as
grpc
-
protocolConfigType
Description copied from interface:Http2SubProtocolProvider
Type of supported configuration.- Specified by:
protocolConfigType
in interfaceHttp2SubProtocolProvider<GrpcConfig>
- Returns:
- protocol config type
-
create
Description copied from interface:Http2SubProtocolProvider
Creates an instance of HTTP/2 sub-protocol selector.- Specified by:
create
in interfaceHttp2SubProtocolProvider<GrpcConfig>
- Parameters:
config
- configuration of this protocolconfigs
- configuration for possible nested protocols- Returns:
- new HTTP/2 sub-protocol selector
-
ServiceLoader