public class CommandResult
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CommandResult.Status |
Modifier | Constructor and Description |
---|---|
protected |
CommandResult(CommandResult.Status st,
java.lang.String msg) |
protected |
CommandResult(CommandResult.Status st,
java.lang.String msg,
io.vertx.core.buffer.Buffer buf) |
Modifier and Type | Method and Description |
---|---|
static CommandResult |
bad(java.lang.String msg) |
static CommandResult |
error(java.lang.Throwable msg) |
static CommandResult |
fromBuffer(io.vertx.core.buffer.Buffer buf) |
boolean |
hasFullResponse() |
static CommandResult |
no(java.lang.String msg) |
io.vertx.core.buffer.Buffer |
responseBuffer() |
java.lang.String |
responseString() |
static CommandResult |
success() |
static CommandResult |
success(java.lang.String string) |
java.lang.String |
toString() |
protected CommandResult(CommandResult.Status st, java.lang.String msg, io.vertx.core.buffer.Buffer buf)
protected CommandResult(CommandResult.Status st, java.lang.String msg)
public static CommandResult fromBuffer(io.vertx.core.buffer.Buffer buf)
public static CommandResult success()
public static CommandResult success(java.lang.String string)
public static CommandResult no(java.lang.String msg)
public static CommandResult bad(java.lang.String msg)
public static CommandResult error(java.lang.Throwable msg)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean hasFullResponse()
public java.lang.String responseString()
public io.vertx.core.buffer.Buffer responseBuffer()
Copyright © 2021. All Rights Reserved.