Class GraphQLProvider

java.lang.Object
io.evitadb.externalApi.graphql.GraphQLProvider
All Implemented Interfaces:
io.evitadb.externalApi.http.ExternalApiProvider<GraphQLConfig>

public class GraphQLProvider extends Object implements io.evitadb.externalApi.http.ExternalApiProvider<GraphQLConfig>
Descriptor of external API provider that provides GraphQL API.
Author:
Lukáš Hornych, FG Forrest a.s. (c) 2022
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.evitadb.externalApi.http.ExternalApiProvider

    io.evitadb.externalApi.http.ExternalApiProvider.HttpServiceDefinition, io.evitadb.externalApi.http.ExternalApiProvider.PathHandlingMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    GraphQLProvider(GraphQLConfig configuration, GraphQLManager graphQLManager, long requestTimeoutInMillis)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
    io.evitadb.externalApi.http.ExternalApiProvider.HttpServiceDefinition[]
     
    boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.evitadb.externalApi.http.ExternalApiProvider

    afterStart, beforeStop, getConfiguration, getKeyEndPoints
  • Field Details

  • Constructor Details

    • GraphQLProvider

      public GraphQLProvider(@Nonnull GraphQLConfig configuration, @Nonnull GraphQLManager graphQLManager, long requestTimeoutInMillis)
  • Method Details

    • getCode

      @Nonnull public String getCode()
      Specified by:
      getCode in interface io.evitadb.externalApi.http.ExternalApiProvider<GraphQLConfig>
    • getHttpServiceDefinitions

      @Nonnull public io.evitadb.externalApi.http.ExternalApiProvider.HttpServiceDefinition[] getHttpServiceDefinitions()
      Specified by:
      getHttpServiceDefinitions in interface io.evitadb.externalApi.http.ExternalApiProvider<GraphQLConfig>
    • afterAllInitialized

      public void afterAllInitialized()
      Specified by:
      afterAllInitialized in interface io.evitadb.externalApi.http.ExternalApiProvider<GraphQLConfig>
    • isReady

      public boolean isReady()
      Specified by:
      isReady in interface io.evitadb.externalApi.http.ExternalApiProvider<GraphQLConfig>