Index
All Classes and Interfaces|All Packages
A
- asExecutionProvider() - Method in interface com.linecorp.armeria.server.graphql.ExecutionIdGenerator
-
Returns an
ExecutionIdProviderthat uses thisExecutionIdGeneratorto generate execution IDs.
B
- build() - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Creates a
GraphqlService. - builder() - Static method in interface com.linecorp.armeria.server.graphql.GraphqlService
-
Returns a new
GraphqlServiceBuilder.
C
- com.linecorp.armeria.common.graphql.scalar - package com.linecorp.armeria.common.graphql.scalar
-
GraphQL-related extended scalar classes.
- com.linecorp.armeria.server.graphql - package com.linecorp.armeria.server.graphql
-
GraphQL-related server classes.
- configure(GraphQL.Builder) - Method in interface com.linecorp.armeria.server.graphql.GraphqlConfigurator
-
Configures the
GraphQLusing the specifiedGraphQL.Builder. - configure(RuntimeWiring.Builder) - Method in interface com.linecorp.armeria.server.graphql.RuntimeWiringConfigurator
-
Configures the service using the specified
RuntimeWiring.Builder. - configureDataLoaderRegistry(Iterable<? extends Consumer<? super DataLoaderRegistry>>) - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Deprecated.
- configureDataLoaderRegistry(Consumer<DataLoaderRegistry>...) - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Deprecated.Use
GraphqlServiceBuilder.dataLoaderRegistry(Function)instead. - configureGraphql(GraphqlConfigurator...) - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Adds the
GraphqlConfiguratorconsumers. - configureGraphql(Iterable<? extends GraphqlConfigurator>) - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Adds the
GraphqlConfiguratorconsumers.
D
- dataLoaderRegistry(Function<? super ServiceRequestContext, ? extends DataLoaderRegistry>) - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Sets
DataLoaderRegistrycreation function.
E
- errorHandler(GraphqlErrorHandler) - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Sets the
GraphqlErrorHandler. - executionIdGenerator(ExecutionIdGenerator) - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Sets the
ExecutionIdGenerator. - ExecutionIdGenerator - Interface in com.linecorp.armeria.server.graphql
-
Generates a unique execution ID of each GraphQL request.
G
- generate(ServiceRequestContext, String, String, GraphQLContext) - Method in interface com.linecorp.armeria.server.graphql.ExecutionIdGenerator
-
Generates an execution ID based on the provided context, query, operation name, and graphql context.
- get(GraphQLContext) - Static method in class com.linecorp.armeria.server.graphql.GraphqlServiceContexts
-
Retrieves the current
ServiceRequestContextfrom the specifiedGraphQLContext. - get(DataFetchingEnvironment) - Static method in class com.linecorp.armeria.server.graphql.GraphqlServiceContexts
-
Retrieves the current
ServiceRequestContextfrom the specifiedDataFetchingEnvironment. - GraphqlConfigurator - Interface in com.linecorp.armeria.server.graphql
-
Interface used to configure the
GraphQL. - GraphqlErrorHandler - Interface in com.linecorp.armeria.server.graphql
- GraphqlService - Interface in com.linecorp.armeria.server.graphql
-
An
HttpServicethat implements the GraphQL. - GraphqlServiceBuilder - Class in com.linecorp.armeria.server.graphql
-
Constructs a
GraphqlServiceto serve GraphQL within Armeria. - GraphqlServiceContexts - Class in com.linecorp.armeria.server.graphql
-
Retrieves the current
ServiceRequestContextfrom aGraphQLContextorDataFetchingEnvironment.
H
- handle(ServiceRequestContext, ExecutionInput, ExecutionResult, Throwable) - Method in interface com.linecorp.armeria.server.graphql.GraphqlErrorHandler
I
- instrumentation(Instrumentation...) - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Adds the
Instrumentations. - instrumentation(Iterable<? extends Instrumentation>) - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Adds the
Instrumentations.
M
- MoreScalars - Class in com.linecorp.armeria.common.graphql.scalar
-
This contains the implementations of the custom Scalar types.
- multipartFile() - Static method in class com.linecorp.armeria.common.graphql.scalar.MoreScalars
-
Returns
GraphQLScalarTypedefined as aMultipartFiletype.
O
- of() - Static method in interface com.linecorp.armeria.server.graphql.ExecutionIdGenerator
-
Returns the default
ExecutionIdGeneratorthat usesRequestContext.id()as the execution ID. - of() - Static method in interface com.linecorp.armeria.server.graphql.GraphqlErrorHandler
-
Return the default
GraphqlErrorHandler. - of(GraphQL) - Static method in interface com.linecorp.armeria.server.graphql.GraphqlService
-
Returns a new
GraphqlService. - orElse(GraphqlErrorHandler) - Method in interface com.linecorp.armeria.server.graphql.GraphqlErrorHandler
-
Returns a composed
GraphqlErrorHandlerthat applies this first and the specified other later if this returnsnull.
R
- runtimeWiring(RuntimeWiringConfigurator...) - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Adds the
RuntimeWiringConfigurators. - runtimeWiring(Iterable<? extends RuntimeWiringConfigurator>) - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Adds the
RuntimeWiringConfigurators. - RuntimeWiringConfigurator - Interface in com.linecorp.armeria.server.graphql
-
Interface used to configure a scala type, data fetcher, directives, etc on the GraphQL service.
S
- schema(GraphQLSchema) - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Sets the
GraphQLSchema. - schemaFile(File...) - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Adds the schema
Files. - schemaFile(Iterable<? extends File>) - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Adds the schema
Files. - schemaUrls(Iterable<String>) - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Adds the schema loaded from the given URLs.
- schemaUrls(String...) - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Adds the schema loaded from the given URLs.
T
- typeVisitors(GraphQLTypeVisitor...) - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Adds the
GraphQLTypeVisitors. - typeVisitors(Iterable<? extends GraphQLTypeVisitor>) - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Adds the
GraphQLTypeVisitors.
U
- useBlockingTaskExecutor(boolean) - Method in class com.linecorp.armeria.server.graphql.GraphqlServiceBuilder
-
Sets whether the service executes service methods using the blocking executor.
All Classes and Interfaces|All Packages
GraphqlServiceBuilder.dataLoaderRegistry(Function)instead.