| Constructor and Description |
|---|
JdkWebUtil(String foremanUrl,
String apiToken,
int socketTimeout,
TimeUnit socketTimeoutUnits)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
get(String uri)
Performs a
GET operation against the provided URI. |
Optional<String> |
get(String uri,
boolean auth)
Performs a
GET operation against the provided URI. |
Optional<String> |
get(String uri,
Map<String,String> params)
Performs a
GET operation against the provided URI. |
Optional<String> |
post(String uri)
Performs a
POST operation against the provided URI. |
Optional<String> |
post(String uri,
String body,
boolean compress)
Performs a
POST operation against the provided URI with
content. |
Optional<String> |
put(String uri,
String body,
boolean compress)
Performs a
PUT operation against the provided URI. |
public Optional<String> get(String uri)
WebUtilGET operation against the provided URI.public Optional<String> get(String uri, boolean auth)
WebUtilGET operation against the provided URI.public Optional<String> get(String uri, Map<String,String> params)
WebUtilGET operation against the provided URI.public Optional<String> post(String uri)
WebUtilPOST operation against the provided URI.public Optional<String> post(String uri, String body, boolean compress)
WebUtilPOST operation against the provided URI with
content.Copyright © 2025 OBM, LLC. All rights reserved.