Class ApiCallSection
java.lang.Object
org.elasticsearch.test.rest.yaml.section.ApiCallSection
Represents a test fragment that contains the information needed to call an api
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addHeaders
(Map<String, String> otherHeaders) void
getApi()
Selects the node on which to run this request.boolean
hasBody()
void
setNodeSelector
(NodeSelector nodeSelector) Set the selector that decides which node can run this request.
-
Constructor Details
-
ApiCallSection
-
-
Method Details
-
getApi
-
getParams
-
addParam
-
addHeaders
-
getHeaders
-
getBodies
-
addBody
-
hasBody
public boolean hasBody() -
getNodeSelector
Selects the node on which to run this request. -
setNodeSelector
Set the selector that decides which node can run this request.
-