Module io.helidon.webserver.http2
Package io.helidon.webserver.http2.spi
Interface Http2SubProtocolProvider<T extends ProtocolConfig>
- Type Parameters:
- T- type of the protocol configuration used by the provider
- All Known Implementing Classes:
- GrpcProtocolProvider
public interface Http2SubProtocolProvider<T extends ProtocolConfig>
ServiceLoader provider interface for HTTP/2 sub-protocols.- 
Method SummaryModifier and TypeMethodDescriptioncreate(T 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.
- 
Method Details- 
protocolTypeString protocolType()Provider's type, also expected as the configuration node name.- Returns:
- type of this provider, such as grpc
 
- 
protocolConfigTypeType of supported configuration.- Returns:
- protocol config type
 
- 
createCreates an instance of HTTP/2 sub-protocol selector.- Parameters:
- config- configuration of this protocol
- configs- configuration for possible nested protocols
- Returns:
- new HTTP/2 sub-protocol selector
 
 
-