java.lang.Object
io.helidon.webserver.ConnectionProviders
Connection provider candidates.
-
Method Summary
Modifier and TypeMethodDescriptionbyApplicationProtocol
(String protocol) Get a connection provider for the application protocol.static ConnectionProviders
create
(List<ServerConnectionSelector> connectionProviders) Create a new connection providers instance.Get a new (mutable) list of provider candidates.Get a set of supported application protocols (used with ALPN).
-
Method Details
-
create
Create a new connection providers instance.- Parameters:
connectionProviders
- list of providers to use- Returns:
- a new instance of connection providers
-
providerCandidates
Get a new (mutable) list of provider candidates.- Returns:
- provider candidates
-
supportedApplicationProtocols
Get a set of supported application protocols (used with ALPN).- Returns:
- protocols supported
-
byApplicationProtocol
Get a connection provider for the application protocol.- Parameters:
protocol
- protocol id- Returns:
- connection provider
-