Package de.presti.ree6.utils.external
Class RequestUtility.Request
java.lang.Object
de.presti.ree6.utils.external.RequestUtility.Request
- Enclosing class:
- RequestUtility
Utility class for Requests.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class for a Request class. -
Constructor Summary
-
Method Summary
-
Constructor Details
-
Request
public Request()
-
-
Method Details
-
builder
Create a new Request builder.- Returns:
- a new Request builder.
-
getUrl
Get the Request URL.- Returns:
- the URL.
-
getUri
Get the URL as URI.- Returns:
- the URL as
URI
-
getBearerAuth
Get the AuthToken.- Returns:
- authToken.
-
getMethod
Get the HTTP Method.- Returns:
- the Method.
-
getBodyPublisher
Get the Body Publisher.- Returns:
- the Body Publisher.
-
getHeaders
Get the Headers.- Returns:
- the Headers.
-