public class InfoApiRequests
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.net.URL |
baseUrl |
protected static java.lang.String |
CLOSE |
protected static java.lang.String |
CONTENT_TYPE_HEADER |
protected static java.lang.String |
JSON_MEDIA_TYPE |
protected static java.lang.String |
OCTET_STREAM_MEDIA_TYPE |
protected java.lang.String |
token |
| Modifier and Type | Method and Description |
|---|---|
protected HttpResponse |
get(io.gatling.plugin.client.http.ApiPath path,
LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse,EnterprisePluginException> validateResponse) |
protected <T> T |
getJson(io.gatling.plugin.client.http.ApiPath path,
java.lang.Class<T> valueType) |
protected <T> T |
getJson(io.gatling.plugin.client.http.ApiPath path,
java.lang.Class<T> valueType,
LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse,EnterprisePluginException> validateResponse) |
protected <T> T |
getJson(io.gatling.plugin.client.http.ApiPath path,
com.fasterxml.jackson.core.type.TypeReference<T> valueTypeRef) |
protected <T> T |
getJson(io.gatling.plugin.client.http.ApiPath path,
com.fasterxml.jackson.core.type.TypeReference<T> valueTypeRef,
LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse,EnterprisePluginException> validateResponse) |
protected HttpResponse |
post(io.gatling.plugin.client.http.ApiPath path,
LambdaExceptionUtil.ConsumerWithExceptions<java.net.HttpURLConnection,EnterprisePluginException> beforeRequest,
LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse,EnterprisePluginException> validateResponse) |
protected HttpResponse |
postJson(io.gatling.plugin.client.http.ApiPath path,
java.lang.Object body) |
protected <T> T |
postJson(io.gatling.plugin.client.http.ApiPath path,
java.lang.Object body,
java.lang.Class<T> valueType) |
protected <T> T |
postJson(io.gatling.plugin.client.http.ApiPath path,
java.lang.Object body,
java.lang.Class<T> valueType,
LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse,EnterprisePluginException> validateResponse) |
protected HttpResponse |
postJson(io.gatling.plugin.client.http.ApiPath path,
java.lang.Object body,
LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse,EnterprisePluginException> validateResponse) |
protected HttpResponse |
put(io.gatling.plugin.client.http.ApiPath path,
LambdaExceptionUtil.ConsumerWithExceptions<java.net.HttpURLConnection,EnterprisePluginException> beforeRequest,
LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse,EnterprisePluginException> validateResponse) |
protected HttpResponse |
putJson(io.gatling.plugin.client.http.ApiPath path,
java.lang.Object body) |
protected <T> T |
putJson(io.gatling.plugin.client.http.ApiPath path,
java.lang.Object body,
java.lang.Class<T> valueType) |
protected <T> T |
putJson(io.gatling.plugin.client.http.ApiPath path,
java.lang.Object body,
java.lang.Class<T> valueType,
LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse,EnterprisePluginException> validateResponse) |
protected HttpResponse |
putJson(io.gatling.plugin.client.http.ApiPath path,
java.lang.Object body,
LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse,EnterprisePluginException> validateResponse) |
protected static final java.lang.String CONTENT_TYPE_HEADER
protected static final java.lang.String OCTET_STREAM_MEDIA_TYPE
protected static final java.lang.String JSON_MEDIA_TYPE
protected static final java.lang.String CLOSE
protected final java.net.URL baseUrl
protected final java.lang.String token
protected HttpResponse get(io.gatling.plugin.client.http.ApiPath path, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse,EnterprisePluginException> validateResponse) throws EnterprisePluginException
EnterprisePluginExceptionprotected <T> T getJson(io.gatling.plugin.client.http.ApiPath path,
java.lang.Class<T> valueType,
LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse,EnterprisePluginException> validateResponse)
throws EnterprisePluginException
EnterprisePluginExceptionprotected <T> T getJson(io.gatling.plugin.client.http.ApiPath path,
java.lang.Class<T> valueType)
throws EnterprisePluginException
EnterprisePluginExceptionprotected <T> T getJson(io.gatling.plugin.client.http.ApiPath path,
com.fasterxml.jackson.core.type.TypeReference<T> valueTypeRef,
LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse,EnterprisePluginException> validateResponse)
throws EnterprisePluginException
EnterprisePluginExceptionprotected <T> T getJson(io.gatling.plugin.client.http.ApiPath path,
com.fasterxml.jackson.core.type.TypeReference<T> valueTypeRef)
throws EnterprisePluginException
EnterprisePluginExceptionprotected HttpResponse post(io.gatling.plugin.client.http.ApiPath path, LambdaExceptionUtil.ConsumerWithExceptions<java.net.HttpURLConnection,EnterprisePluginException> beforeRequest, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse,EnterprisePluginException> validateResponse) throws EnterprisePluginException
EnterprisePluginExceptionprotected HttpResponse postJson(io.gatling.plugin.client.http.ApiPath path, java.lang.Object body, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse,EnterprisePluginException> validateResponse) throws EnterprisePluginException
EnterprisePluginExceptionprotected HttpResponse postJson(io.gatling.plugin.client.http.ApiPath path, java.lang.Object body) throws EnterprisePluginException
EnterprisePluginExceptionprotected <T> T postJson(io.gatling.plugin.client.http.ApiPath path,
java.lang.Object body,
java.lang.Class<T> valueType,
LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse,EnterprisePluginException> validateResponse)
throws EnterprisePluginException
EnterprisePluginExceptionprotected <T> T postJson(io.gatling.plugin.client.http.ApiPath path,
java.lang.Object body,
java.lang.Class<T> valueType)
throws EnterprisePluginException
EnterprisePluginExceptionprotected HttpResponse put(io.gatling.plugin.client.http.ApiPath path, LambdaExceptionUtil.ConsumerWithExceptions<java.net.HttpURLConnection,EnterprisePluginException> beforeRequest, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse,EnterprisePluginException> validateResponse) throws EnterprisePluginException
EnterprisePluginExceptionprotected HttpResponse putJson(io.gatling.plugin.client.http.ApiPath path, java.lang.Object body, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse,EnterprisePluginException> validateResponse) throws EnterprisePluginException
EnterprisePluginExceptionprotected HttpResponse putJson(io.gatling.plugin.client.http.ApiPath path, java.lang.Object body) throws EnterprisePluginException
EnterprisePluginExceptionprotected <T> T putJson(io.gatling.plugin.client.http.ApiPath path,
java.lang.Object body,
java.lang.Class<T> valueType,
LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse,EnterprisePluginException> validateResponse)
throws EnterprisePluginException
EnterprisePluginExceptionprotected <T> T putJson(io.gatling.plugin.client.http.ApiPath path,
java.lang.Object body,
java.lang.Class<T> valueType)
throws EnterprisePluginException
EnterprisePluginException