public class GetCommand extends AbstractCommand implements CouchCommand
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 |
---|
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, with
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asDelete, asHead, asPost, asPut
public GetCommand(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
Copyright © 2012–2020 jkniv, copyleft code. All rights reserved.