Class ApiLogMessage.Request

java.lang.Object
de.qytera.qtaf.apitesting.log.model.message.ApiLogMessage.Request
Enclosing class:
ApiLogMessage

public static class ApiLogMessage.Request extends Object
One part of the API log message is the request. It's data format is defined in this class
  • 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

      public void setRequestMethod(String requestMethod)
    • setBaseUri

      public void setBaseUri(String baseUri)
    • setBasePath

      public void setBasePath(String basePath)
    • setPathParams

      public void setPathParams(Map<String,String> pathParams)
    • setQueryParams

      public void setQueryParams(Map<String,String> queryParams)
    • setFormParams

      public void setFormParams(Map<String,String> formParams)
    • setBodyAsString

      public void setBodyAsString(String bodyAsString)
    • setContentType

      public void setContentType(String contentType)
    • setHeaders

      public void setHeaders(io.restassured.http.Headers headers)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getRequestMethod

      public String getRequestMethod()
    • getBaseUri

      public String getBaseUri()
    • getBasePath

      public String getBasePath()
    • getPathParams

      public Map<String,String> getPathParams()
    • getQueryParams

      public Map<String,String> getQueryParams()
    • getFormParams

      public Map<String,String> getFormParams()
    • getBodyAsString

      public String getBodyAsString()
    • getContentType

      public String getContentType()
    • getHeaders

      public io.restassured.http.Headers getHeaders()