public class Response
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
@Nullable Backtrace |
backtrace |
java.util.List<java.lang.Object> |
data |
@Nullable ErrorType |
errorType |
java.util.List<ResponseNote> |
notes |
@Nullable Profile |
profile |
long |
token |
ResponseType |
type |
| Constructor and Description |
|---|
Response(long token,
ResponseType responseType) |
Response(long token,
ResponseType responseType,
java.util.List<java.lang.Object> data,
java.util.List<ResponseNote> responseNotes,
@Nullable Profile profile,
@Nullable Backtrace backtrace,
@Nullable ErrorType errorType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFeed() |
ReqlError |
makeError(Query query) |
static java.util.function.Supplier<Response> |
readFromSocket(ConnectionSocket socket) |
java.lang.String |
toString() |
public final long token
public final ResponseType type
public final java.util.List<ResponseNote> notes
public final java.util.List<java.lang.Object> data
@Nullable public final @Nullable Profile profile
@Nullable public final @Nullable Backtrace backtrace
@Nullable public final @Nullable ErrorType errorType
public Response(long token,
ResponseType responseType,
java.util.List<java.lang.Object> data,
java.util.List<ResponseNote> responseNotes,
@Nullable
@Nullable Profile profile,
@Nullable
@Nullable Backtrace backtrace,
@Nullable
@Nullable ErrorType errorType)
public Response(long token,
ResponseType responseType)
public boolean isFeed()
public java.lang.String toString()
toString in class java.lang.Objectpublic static java.util.function.Supplier<Response> readFromSocket(ConnectionSocket socket)