Interface Connector
- All Superinterfaces:
io.gravitee.common.component.LifecycleComponent<Connector>
- All Known Subinterfaces:
BaseEndpointConnector<C>,BaseEntrypointConnector<C>,EndpointConnector,EntrypointConnector,HttpEndpointConnector,HttpEntrypointConnector,TcpEndpointConnector,TcpEntrypointConnector
- All Known Implementing Classes:
EndpointAsyncConnector,EndpointSyncConnector,EntrypointAsyncConnector,EntrypointSyncConnector,HttpEndpointAsyncConnector,HttpEndpointSyncConnector,HttpEntrypointAsyncConnector,HttpEntrypointSyncConnector
Interface describing Connector which could be implemented to deal with new protocol specification
- Author:
- Guillaume LAMIRAND (guillaume.lamirand at graviteesource.com), GraviteeSource Team
-
Method Summary
Modifier and TypeMethodDescriptionid()Returns the id of the connectorReturns theApiTypesupported by this endpoint.Returns a set ofConnectorModesupported by this connector.Methods inherited from interface io.gravitee.common.component.LifecycleComponent
lifecycleState, postStart, postStop, preStart, preStop, start, stop
-
Method Details
-
id
String id()Returns the id of the connector- Returns:
- identifier of this connector
-
supportedApi
ApiType supportedApi()Returns theApiTypesupported by this endpoint. It will be used to filter available connector when creating a new API- Returns:
ApiTypesupported by this connector.
-
supportedModes
Set<ConnectorMode> supportedModes()Returns a set ofConnectorModesupported by this connector. It will be used to resolve the proper connector.- Returns:
- set of
ConnectorModesupported by this connector.
-