public class FullResponseFindCommand extends AbstractCommand implements CouchCommand
body, 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 |
|---|
FullResponseFindCommand(HttpBuilder httpBuilder,
Queryable queryable) |
| Modifier and Type | Method and Description |
|---|---|
HttpMethod |
asGet() |
HttpMethod |
asPost() |
<T> T |
execute()
Execute the database statement could be a
Command or a Query |
String |
getBody() |
asDelete, asHead, 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, asPutpublic FullResponseFindCommand(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 AbstractCommandpublic HttpMethod asPost()
asPost in interface CouchCommandasPost in class AbstractCommandCopyright © 2012–2020 jkniv, copyleft code. All rights reserved.