Class Request

java.lang.Object
glair.vision.model.Request

public class Request extends Object
Represents an HTTP request configuration.
  • Method Details

    • getPath

      public String getPath()
      Gets the path of the HTTP request.
      Returns:
      The request path.
    • getMethod

      public String getMethod()
      Gets the HTTP method (e.g., GET, POST) of the request.
      Returns:
      The request method.
    • getBody

      public okhttp3.RequestBody getBody()
      Gets the HTTP request body, if present.
      Returns:
      The request body as an HttpEntity.