Package io.smallrye.graphql.execution
Class JsonObjectResponseWriter
- java.lang.Object
-
- io.smallrye.graphql.execution.JsonObjectResponseWriter
-
- All Implemented Interfaces:
ExecutionResponseWriter
public class JsonObjectResponseWriter extends Object implements ExecutionResponseWriter
A default implementation for Execution Response Writer- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.jboss.logging.LoggerLOG
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfail(Throwable t)ExecutionResponsegetExecutionResponse()jakarta.json.JsonObjectgetInput()jakarta.json.JsonObjectgetOutput()voidlogInput()voidlogOutput()voidwrite(ExecutionResponse er)
-
-
-
Method Detail
-
write
public void write(ExecutionResponse er)
- Specified by:
writein interfaceExecutionResponseWriter
-
fail
public void fail(Throwable t)
- Specified by:
failin interfaceExecutionResponseWriter
-
logInput
public void logInput()
-
logOutput
public void logOutput()
-
getInput
public jakarta.json.JsonObject getInput()
-
getOutput
public jakarta.json.JsonObject getOutput()
-
getExecutionResponse
public ExecutionResponse getExecutionResponse()
-
-