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 ([email protected])
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.jboss.logging.Logger
LOG
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fail(Throwable t)
ExecutionResponse
getExecutionResponse()
javax.json.JsonObject
getInput()
javax.json.JsonObject
getOutput()
void
logInput()
void
logOutput()
void
write(ExecutionResponse er)
-
-
-
Method Detail
-
write
public void write(ExecutionResponse er)
- Specified by:
write
in interfaceExecutionResponseWriter
-
fail
public void fail(Throwable t)
- Specified by:
fail
in interfaceExecutionResponseWriter
-
logInput
public void logInput()
-
logOutput
public void logOutput()
-
getInput
public javax.json.JsonObject getInput()
-
getOutput
public javax.json.JsonObject getOutput()
-
getExecutionResponse
public ExecutionResponse getExecutionResponse()
-
-