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 Summary
Modifier and TypeMethodDescriptioncreateConnector(DeploymentContext deploymentContext, Qos qos, String configuration) Allow creating new connector from the given string configuration and QoS (Quality Of Service).default TcreateConnector(DeploymentContext deploymentContext, String configuration) Allow creating new entrypoint connector from the given string configuration.default ApiTypeReturns a set ofConnectorModesupported by this connector.Methods inherited from interface io.gravitee.gateway.reactive.api.connector.ConnectorFactory
supportedModesMethods inherited from interface io.gravitee.gateway.reactive.api.connector.entrypoint.EntrypointConnectorFactory
supportedListenerType
-
Method Details
-
supportedApi
- Specified by:
supportedApiin interfaceConnectorFactory<T extends HttpEntrypointAsyncConnector>- Returns:
ApiTypesupported by this connector.
-
supportedQos
Returns a set ofConnectorModesupported by this connector. It will be used to resolve the proper connector.- Returns:
- set of
ConnectorModesupported by this connector.
-
createConnector
Allow creating new entrypoint connector from the given string configuration. Same ascreateConnector(DeploymentContext, Qos, String)but without Qos.- Specified by:
createConnectorin interfaceEntrypointConnectorFactory<T extends HttpEntrypointAsyncConnector>- Parameters:
deploymentContext- context containing useful deployment entities (api, services, ...).configuration- the configuration as json string.- Returns:
- new connector instance.
-
createConnector
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.
-