Uses of Class
org.apache.tinkerpop.gremlin.driver.message.ResponseStatusCode
-
-
Uses of ResponseStatusCode in org.apache.tinkerpop.gremlin.driver.exception
Methods in org.apache.tinkerpop.gremlin.driver.exception that return ResponseStatusCode Modifier and Type Method Description ResponseStatusCode
ResponseException. getResponseStatusCode()
Constructors in org.apache.tinkerpop.gremlin.driver.exception with parameters of type ResponseStatusCode Constructor Description ResponseException(ResponseStatusCode responseStatusCode, String serverMessage)
ResponseException(ResponseStatusCode responseStatusCode, String serverMessage, List<String> remoteExceptionHierarchy, String remoteStackTrace)
ResponseException(ResponseStatusCode responseStatusCode, String serverMessage, List<String> remoteExceptionHierarchy, String remoteStackTrace, Map<String,Object> statusAttributes)
-
Uses of ResponseStatusCode in org.apache.tinkerpop.gremlin.driver.message
Methods in org.apache.tinkerpop.gremlin.driver.message that return ResponseStatusCode Modifier and Type Method Description ResponseStatusCode
ResponseStatus. getCode()
Gets theResponseStatusCode
that describes how the server responded to the request.static ResponseStatusCode
ResponseStatusCode. getFromValue(int codeValue)
static ResponseStatusCode
ResponseStatusCode. valueOf(String name)
Returns the enum constant of this type with the specified name.static ResponseStatusCode[]
ResponseStatusCode. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.tinkerpop.gremlin.driver.message with parameters of type ResponseStatusCode Modifier and Type Method Description ResponseMessage.Builder
ResponseMessage.Builder. code(ResponseStatusCode code)
Constructors in org.apache.tinkerpop.gremlin.driver.message with parameters of type ResponseStatusCode Constructor Description ResponseStatus(ResponseStatusCode code, String message, Map<String,Object> attributes)
-
Uses of ResponseStatusCode in org.apache.tinkerpop.gremlin.server
Methods in org.apache.tinkerpop.gremlin.server with parameters of type ResponseStatusCode Modifier and Type Method Description void
Context. write(ResponseStatusCode code, Object responseMessage)
void
Context. writeAndFlush(ResponseStatusCode code, Object responseMessage)
Writes a response message to the underlying channel while ensuring that at most onefinal
response is written. -
Uses of ResponseStatusCode in org.apache.tinkerpop.gremlin.server.handler
Methods in org.apache.tinkerpop.gremlin.server.handler with parameters of type ResponseStatusCode Modifier and Type Method Description protected Map<String,Object>
AbstractSession. generateResponseMetaData(SessionTask sessionTask, ResponseStatusCode code, Iterator<?> itty)
Generates response result meta-data to put on aResponseMessage
.protected Map<String,Object>
AbstractSession. generateStatusAttributes(SessionTask sessionTask, ResponseStatusCode code, Iterator<?> itty)
Generates response status meta-data to put on aResponseMessage
.protected Frame
AbstractSession. makeFrame(SessionTask sessionTask, List<Object> aggregate, ResponseStatusCode code, Iterator<?> itty)
-
Uses of ResponseStatusCode in org.apache.tinkerpop.gremlin.server.op
Methods in org.apache.tinkerpop.gremlin.server.op with parameters of type ResponseStatusCode Modifier and Type Method Description protected Map<String,Object>
AbstractOpProcessor. generateResultMetaData(io.netty.channel.ChannelHandlerContext ctx, RequestMessage msg, ResponseStatusCode code, Iterator itty, Settings settings)
Generates response result meta-data to put on aResponseMessage
.protected Map<String,Object>
AbstractOpProcessor. generateStatusAttributes(io.netty.channel.ChannelHandlerContext ctx, RequestMessage msg, ResponseStatusCode code, Iterator itty, Settings settings)
Generates response status meta-data to put on aResponseMessage
.protected static Frame
AbstractOpProcessor. makeFrame(Context ctx, RequestMessage msg, MessageSerializer<?> serializer, boolean useBinary, List<Object> aggregate, ResponseStatusCode code, Map<String,Object> responseMetaData, Map<String,Object> statusAttributes)
-