public class FullResponseFindCommand extends AbstractCommand implements CouchCommand
body, commandHandler, handlerException, method, url
HTTP_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, with
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asDelete, asHead, asPut
public FullResponseFindCommand(HttpBuilder httpBuilder, Queryable queryable)
public <T> T execute()
Command
Command
or a Query
public String getBody()
getBody
in interface CouchCommand
public HttpMethod asGet()
asGet
in interface CouchCommand
asGet
in class AbstractCommand
public HttpMethod asPost()
asPost
in interface CouchCommand
asPost
in class AbstractCommand
Copyright © 2012–2020 jkniv, copyleft code. All rights reserved.