Interface Http2SubProtocolProvider
- All Known Implementing Classes:
GrpcProtocolProvider
public interface Http2SubProtocolProvider
ServiceLoader provider interface for HTTP/2 sub-protocols.-
Method Summary
Modifier and TypeMethodDescriptionProvider's specific configuration node name.Creates an instance of HTTP/2 sub-protocol selector.
-
Method Details
-
configKey
String configKey()Provider's specific configuration node name.- Returns:
- name of the node to request
-
create
Creates an instance of HTTP/2 sub-protocol selector.- Parameters:
config-Configconfiguration node located on the node returned byconfigKey()- Returns:
- new HTTP/2 sub-protocol selector
-