Interface EntrypointConnector

All Superinterfaces:
BaseEntrypointConnector<HttpExecutionContext>, Connector, HttpEntrypointConnector, io.gravitee.common.component.LifecycleComponent<Connector>
All Known Implementing Classes:
EntrypointAsyncConnector, EntrypointSyncConnector, HttpEntrypointAsyncConnector

@Deprecated(forRemoval=true) public interface EntrypointConnector extends HttpEntrypointConnector
Deprecated, for removal: This API element is subject to removal in a future version.
Interface describing Entrypoint Connector which could be implemented to deal with new protocol specification
Author:
GraviteeSource Team
  • Method Summary

    Modifier and Type
    Method
    Description
    io.reactivex.rxjava3.core.Completable
    handleRequest(ExecutionContext executionContext)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Handle incoming request by doing or adding anything to the context anything required by the entrypoint.
    default io.reactivex.rxjava3.core.Completable
    Deprecated, for removal: This API element is subject to removal in a future version.
    Handle incoming request by doing or adding anything to the context anything required by the entrypoint.
    io.reactivex.rxjava3.core.Completable
    handleResponse(ExecutionContext executionContext)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Handle outgoing response by doing or adding anything to the context anything required by the entrypoint.
    default io.reactivex.rxjava3.core.Completable
    Deprecated, for removal: This API element is subject to removal in a future version.
    Handle outgoing response by doing or adding anything to the context anything required by the entrypoint.
    boolean
    matches(ExecutionContext executionContext)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Check if incoming request matches entrypoint criteria.
    default boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Check if incoming request matches entrypoint criteria.

    Methods inherited from interface io.gravitee.gateway.reactive.api.connector.entrypoint.BaseEntrypointConnector

    matchCriteriaCount, supportedListenerType

    Methods inherited from interface io.gravitee.gateway.reactive.api.connector.Connector

    id, supportedApi, supportedModes

    Methods inherited from interface io.gravitee.common.component.LifecycleComponent

    lifecycleState, postStart, postStop, preStart, preStop, start, stop
  • Method Details

    • matches

      boolean matches(ExecutionContext executionContext)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Check if incoming request matches entrypoint criteria.
      Returns:
      true if the incoming request matches all criteria, false otherwise
    • matches

      default boolean matches(HttpExecutionContext ctx)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: BaseEntrypointConnector
      Check if incoming request matches entrypoint criteria.
      Specified by:
      matches in interface BaseEntrypointConnector<HttpExecutionContext>
      Returns:
      true if the incoming request matches all criteria, false otherwise
    • handleRequest

      io.reactivex.rxjava3.core.Completable handleRequest(ExecutionContext executionContext)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Handle incoming request by doing or adding anything to the context anything required by the entrypoint.
      Returns:
      Completable
    • handleRequest

      default io.reactivex.rxjava3.core.Completable handleRequest(HttpExecutionContext ctx)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: BaseEntrypointConnector
      Handle incoming request by doing or adding anything to the context anything required by the entrypoint.
      Specified by:
      handleRequest in interface BaseEntrypointConnector<HttpExecutionContext>
      Returns:
      Completable
    • handleResponse

      io.reactivex.rxjava3.core.Completable handleResponse(ExecutionContext executionContext)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Handle outgoing response by doing or adding anything to the context anything required by the entrypoint.
      Returns:
      Completable
    • handleResponse

      default io.reactivex.rxjava3.core.Completable handleResponse(HttpExecutionContext ctx)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: BaseEntrypointConnector
      Handle outgoing response by doing or adding anything to the context anything required by the entrypoint.
      Specified by:
      handleResponse in interface BaseEntrypointConnector<HttpExecutionContext>
      Returns:
      Completable