Interface Http2SubProtocolProvider

All Known Implementing Classes:
GrpcProtocolProvider

public interface Http2SubProtocolProvider
ServiceLoader provider interface for HTTP/2 sub-protocols.
  • Method Summary

    Modifier and Type
    Method
    Description
    Provider's specific configuration node name.
    create(Config config)
    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 - Config configuration node located on the node returned by configKey()
      Returns:
      new HTTP/2 sub-protocol selector