public class Request extends Object
Constructor and Description |
---|
Request(DbName dbName,
RequestType requestType,
String path) |
Request(String database,
RequestType requestType,
String path)
Deprecated.
Use
Request(DbName, RequestType, String) instead |
Modifier and Type | Method and Description |
---|---|
com.arangodb.velocypack.VPackSlice |
getBody() |
String |
getDatabase()
Deprecated.
Use
getDbName() instead |
DbName |
getDbName() |
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) |
@Deprecated public Request(String database, RequestType requestType, String path)
Request(DbName, RequestType, String)
insteadpublic Request(DbName dbName, RequestType requestType, String path)
public int getVersion()
public Request setVersion(int version)
public int getType()
public Request setType(int type)
@Deprecated public String getDatabase()
getDbName()
insteadpublic DbName getDbName()
public 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.