Interface HttpEntrypointAsyncConnectorFactory<T extends HttpEntrypointAsyncConnector>

All Superinterfaces:
ConnectorFactory<HttpEntrypointAsyncConnector>, EntrypointConnectorFactory<HttpEntrypointAsyncConnector>
All Known Subinterfaces:
EntrypointAsyncConnectorFactory<T>

public interface HttpEntrypointAsyncConnectorFactory<T extends HttpEntrypointAsyncConnector> extends EntrypointConnectorFactory<HttpEntrypointAsyncConnector>
Specialized factory for HttpEntrypointAsyncConnector
  • Method Details

    • supportedApi

      default ApiType supportedApi()
      Specified by:
      supportedApi in interface ConnectorFactory<T extends HttpEntrypointAsyncConnector>
      Returns:
      ApiType supported by this connector.
    • supportedQos

      Set<Qos> supportedQos()
      Returns a set of ConnectorMode supported by this connector. It will be used to resolve the proper connector.
      Returns:
      set of ConnectorMode supported by this connector.
    • createConnector

      default T createConnector(DeploymentContext deploymentContext, String configuration)
      Allow creating new entrypoint connector from the given string configuration.

      Same as createConnector(DeploymentContext, Qos, String) but without Qos.

      Specified by:
      createConnector in interface EntrypointConnectorFactory<T extends HttpEntrypointAsyncConnector>
      Parameters:
      deploymentContext - context containing useful deployment entities (api, services, ...).
      configuration - the configuration as json string.
      Returns:
      new connector instance.
    • createConnector

      T createConnector(DeploymentContext deploymentContext, Qos qos, String configuration)
      Allow creating new connector from the given string configuration and QoS (Quality Of Service).
      Parameters:
      deploymentContext - context containing useful deployment entities (api, services, ...).
      qos - the expected quality of service.
      configuration - the configuration as json string.
      Returns:
      new connector instance.