Module evita.external.api.graphql
Class GraphQLExceptionHandler
java.lang.Object
com.linecorp.armeria.common.util.AbstractUnwrappable<com.linecorp.armeria.server.Service<T_I,T_O>>
com.linecorp.armeria.server.DecoratingService<I,O,I,O>
com.linecorp.armeria.server.SimpleDecoratingService<com.linecorp.armeria.common.HttpRequest,com.linecorp.armeria.common.HttpResponse>
com.linecorp.armeria.server.SimpleDecoratingHttpService
io.evitadb.externalApi.http.ExternalApiExceptionHandler
io.evitadb.externalApi.http.JsonApiExceptionHandler
io.evitadb.externalApi.graphql.io.GraphQLExceptionHandler
- All Implemented Interfaces:
com.linecorp.armeria.common.util.Unwrappable,com.linecorp.armeria.server.HttpService,com.linecorp.armeria.server.Service<com.linecorp.armeria.common.HttpRequest,com.linecorp.armeria.common.HttpResponse>
public class GraphQLExceptionHandler
extends io.evitadb.externalApi.http.JsonApiExceptionHandler
Handles exception that occurred in GraphQL API outside of actual GraphQL execution.
- Author:
- Lukáš Hornych, FG Forrest a.s. (c) 2022
-
Constructor Summary
ConstructorsConstructorDescriptionGraphQLExceptionHandler(com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.linecorp.armeria.server.HttpService next) -
Method Summary
Methods inherited from class io.evitadb.externalApi.http.JsonApiExceptionHandler
renderErrorMethods inherited from class io.evitadb.externalApi.http.ExternalApiExceptionHandler
buildResponse, serveMethods inherited from class com.linecorp.armeria.server.SimpleDecoratingHttpService
exchangeType, optionsMethods inherited from class com.linecorp.armeria.server.DecoratingService
serviceAdded, shouldCachePathMethods inherited from class com.linecorp.armeria.common.util.AbstractUnwrappable
as, toString, unwrap, unwrapAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.linecorp.armeria.server.HttpService
decorate, decorateMethods inherited from interface com.linecorp.armeria.server.Service
as, serviceAdded, shouldCachePath, unwrapMethods inherited from interface com.linecorp.armeria.common.util.Unwrappable
equalsIgnoreWrapper, unwrapAll
-
Constructor Details
-
GraphQLExceptionHandler
public GraphQLExceptionHandler(@Nonnull com.fasterxml.jackson.databind.ObjectMapper objectMapper, @Nonnull com.linecorp.armeria.server.HttpService next)
-
-
Method Details
-
getExternalApiCode
- Specified by:
getExternalApiCodein classio.evitadb.externalApi.http.ExternalApiExceptionHandler
-