|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ektorp.Options
public class Options
Constructor Summary | |
---|---|
Options()
|
Method Summary | |
---|---|
Map<String,String> |
getOptions()
|
Options |
includeConflicts()
The loaded doc will include the special field '_conflicts' that contains all the conflicting revisions of the document. |
Options |
includeRevisions()
The loaded doc will include the special field '_revisions' that describes all document revisions that exists in the database. |
boolean |
isEmpty()
|
Options |
param(String name,
String value)
Adds a parameter to the GET request sent to the database. |
Options |
revision(String rev)
Retrieve a specific revision of the document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Options()
Method Detail |
---|
public Options includeConflicts()
public Options includeRevisions()
public Options revision(String rev)
public Options param(String name, String value)
name
- value
-
public Map<String,String> getOptions()
public boolean isEmpty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |