public class GetCommand extends AbstractCommand implements CouchCommand
commandHandler, handlerException, method, urlHTTP_ACCEPTED, HTTP_BAD_REQUEST, HTTP_CREATED, HTTP_EXPECTATION_FAILED, HTTP_NO_CONTENT, HTTP_NOT_FOUND, HTTP_NOT_MODIFIED, HTTP_OK, HTTP_RESET_CONTENT| Constructor and Description |
|---|
GetCommand(HttpBuilder httpBuilder,
Queryable queryable) |
| Modifier and Type | Method and Description |
|---|---|
HttpMethod |
asGet() |
<T> T |
execute()
Execute the database statement could be a
Command or a Query |
String |
getBody() |
asDelete, asHead, asPost, asPut, errorFormat, getContentEncode, getContentType, getEntity, getRevision, injectAutoIdentity, injectIdentity, isAccepted, isCreated, isExpectationFailed, isNotFound, isOk, printRequest, printResponse, setBookmark, with, with, withclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasDelete, asHead, asPost, asPutpublic GetCommand(HttpBuilder httpBuilder, Queryable queryable)
public <T> T execute()
CommandCommand or a Querypublic String getBody()
getBody in interface CouchCommandpublic HttpMethod asGet()
asGet in interface CouchCommandasGet in class AbstractCommandCopyright © 2012–2020 jkniv, copyleft code. All rights reserved.