Class SmallRyeGraphQLExecutionHandler.VertxExecutionResponseWriter

  • All Implemented Interfaces:
    io.smallrye.graphql.execution.ExecutionResponseWriter
    Enclosing class:
    SmallRyeGraphQLExecutionHandler

    class SmallRyeGraphQLExecutionHandler.VertxExecutionResponseWriter
    extends Object
    implements io.smallrye.graphql.execution.ExecutionResponseWriter
    • Field Detail

      • response

        io.vertx.core.http.HttpServerResponse response
      • requestedCharset

        String requestedCharset
      • ctx

        io.vertx.ext.web.RoutingContext ctx
    • Constructor Detail

      • VertxExecutionResponseWriter

        VertxExecutionResponseWriter​(io.vertx.core.http.HttpServerResponse response,
                                     io.vertx.ext.web.RoutingContext ctx,
                                     String requestedCharset)
    • Method Detail

      • write

        public void write​(io.smallrye.graphql.execution.ExecutionResponse er)
        Specified by:
        write in interface io.smallrye.graphql.execution.ExecutionResponseWriter
      • fail

        public void fail​(Throwable t)
        Specified by:
        fail in interface io.smallrye.graphql.execution.ExecutionResponseWriter