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

public interface Connector extends io.gravitee.common.component.LifecycleComponent<Connector>
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 Type
    Method
    Description
    id()
    Returns the id of the connector
    Returns the ApiType supported by this endpoint.
    Returns a set of ConnectorMode supported 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 the ApiType supported by this endpoint. It will be used to filter available connector when creating a new API
      Returns:
      ApiType supported by this connector.
    • supportedModes

      Set<ConnectorMode> supportedModes()
      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.