Interface GraphqlService
- All Superinterfaces:
com.linecorp.armeria.server.HttpService,com.linecorp.armeria.server.Service<com.linecorp.armeria.common.HttpRequest,,com.linecorp.armeria.common.HttpResponse> com.linecorp.armeria.common.util.Unwrappable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@UnstableApi
@FunctionalInterface
public interface GraphqlService
extends com.linecorp.armeria.server.HttpService
An
HttpService that implements the GraphQL.-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic GraphqlServiceBuilderbuilder()Returns a newGraphqlServiceBuilder.static GraphqlServiceof(graphql.GraphQL graphQL) Returns a newGraphqlService.Methods inherited from interface com.linecorp.armeria.server.HttpService
decorate, decorate, exchangeType, serveMethods inherited from interface com.linecorp.armeria.server.Service
as, serviceAdded, shouldCachePath, unwrapMethods inherited from interface com.linecorp.armeria.common.util.Unwrappable
equalsIgnoreWrapper, unwrapAll
-
Method Details
-
builder
Returns a newGraphqlServiceBuilder. -
of
Returns a newGraphqlService.
-