Class ApiLogMessage.Request
java.lang.Object
de.qytera.qtaf.apitesting.log.model.message.ApiLogMessage.Request
- Enclosing class:
- ApiLogMessage
One part of the API log message is the request.
It's data format is defined in this class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanio.restassured.http.HeadersinthashCode()voidsetBasePath(String basePath) voidsetBaseUri(String baseUri) voidsetBodyAsString(String bodyAsString) voidsetContentType(String contentType) voidsetFormParams(Map<String, String> formParams) voidsetHeaders(io.restassured.http.Headers headers) voidsetPathParams(Map<String, String> pathParams) voidsetQueryParams(Map<String, String> queryParams) voidsetRequestAttributes(io.restassured.specification.QueryableRequestSpecification request) Set the corresponding values in the Request-Api-LogMessage.voidsetRequestMethod(String requestMethod) toString()
-
Constructor Details
-
Request
public Request()
-
-
Method Details
-
setRequestAttributes
public void setRequestAttributes(io.restassured.specification.QueryableRequestSpecification request) Set the corresponding values in the Request-Api-LogMessage. Depending on the response of the API request from RESTAssured.- Parameters:
request- queryable request specification of RESTassured
-
setRequestMethod
-
setBaseUri
-
setBasePath
-
setPathParams
-
setQueryParams
-
setFormParams
-
setBodyAsString
-
setContentType
-
setHeaders
public void setHeaders(io.restassured.http.Headers headers) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getRequestMethod
-
getBaseUri
-
getBasePath
-
getPathParams
-
getQueryParams
-
getFormParams
-
getBodyAsString
-
getContentType
-
getHeaders
public io.restassured.http.Headers getHeaders()
-