Module io.helidon.webserver
Package io.helidon.webserver.http1.spi
Interface Http1UpgradeProvider<T extends ProtocolConfig>
- Type Parameters:
- T- type of the protocol configuration of this upgrade provider
- All Known Implementing Classes:
- Http2UpgradeProvider,- TyrusUpgradeProvider,- WsUpgradeProvider
public interface Http1UpgradeProvider<T extends ProtocolConfig>
ServiceLoader provider interface for HTTP/1.1 connection upgrade provider.
 This interface serves as Http1Upgrader builder
 which receives requested configuration from the server configuration when server builder
 is running.- 
Method SummaryModifier and TypeMethodDescriptioncreate(T config, ProtocolConfigs configs) Creates an instance of HTTP/HTTP/1.1 connection upgrader.Type of supported configuration.Provider's type.
- 
Method Details- 
protocolTypeString protocolType()Provider's type.- Returns:
- protocol type (also the type expected in configuration)
 
- 
protocolConfigTypeType of supported configuration.- Returns:
- protocol config type
 
- 
createCreates an instance of HTTP/HTTP/1.1 connection upgrader.- Parameters:
- config- configuration of this protocol
- configs- configuration for possible nested protocols
- Returns:
- new server HTTP/1.1 connection upgrade selector
 
 
-