public class Request extends Object
Constructor and Description |
---|
Request(DbName dbName,
RequestType requestType,
String path)
Deprecated.
Use
Request(String, RequestType, String) instead |
Request(String database,
RequestType requestType,
String path) |
Modifier and Type | Method and Description |
---|---|
com.arangodb.velocypack.VPackSlice |
getBody() |
String |
getDatabase() |
DbName |
getDbName()
Deprecated.
Use
getDatabase() instead |
Map<String,String> |
getHeaderParam() |
Map<String,String> |
getQueryParam() |
String |
getRequest() |
RequestType |
getRequestType() |
int |
getType() |
int |
getVersion() |
Request |
putHeaderParam(String key,
String value) |
Request |
putQueryParam(String key,
Object value) |
Request |
setBody(com.arangodb.velocypack.VPackSlice body) |
Request |
setType(int type) |
Request |
setVersion(int version) |
public Request(String database, RequestType requestType, String path)
@Deprecated public Request(DbName dbName, RequestType requestType, String path)
Request(String, RequestType, String)
insteadpublic int getVersion()
public Request setVersion(int version)
public int getType()
public Request setType(int type)
public String getDatabase()
@Deprecated public DbName getDbName()
getDatabase()
insteadpublic RequestType getRequestType()
public String getRequest()
public com.arangodb.velocypack.VPackSlice getBody()
public Request setBody(com.arangodb.velocypack.VPackSlice body)
Copyright © 2016–2023 ArangoDB GmbH. All rights reserved.