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
Constructors -
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 JavaServiceLoaderDefault constructor required by JavaServiceLoader.
-
-
Method Details
-
protocolType
Description copied from interface:Http2SubProtocolProviderProvider's type, also expected as the configuration node name.- Specified by:
protocolTypein interfaceHttp2SubProtocolProvider<GrpcConfig>- Returns:
- type of this provider, such as
grpc
-
protocolConfigType
Description copied from interface:Http2SubProtocolProviderType of supported configuration.- Specified by:
protocolConfigTypein interfaceHttp2SubProtocolProvider<GrpcConfig>- Returns:
- protocol config type
-
create
Description copied from interface:Http2SubProtocolProviderCreates an instance of HTTP/2 sub-protocol selector.- Specified by:
createin interfaceHttp2SubProtocolProvider<GrpcConfig>- Parameters:
config- configuration of this protocolconfigs- configuration for possible nested protocols- Returns:
- new HTTP/2 sub-protocol selector
-
ServiceLoader