Package glair.vision.model
Class Request
java.lang.Object
glair.vision.model.Request
Represents an HTTP request configuration.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class for creating instances of HTTP request configurations. -
Method Summary
-
Method Details
-
getPath
Gets the path of the HTTP request.- Returns:
- The request path.
-
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.
-