public interface ActuatorOperations
| Modifier and Type | Method and Description |
|---|---|
default String |
getFromActuator(String deploymentId,
String guid,
String endpoint)
Get a resource from an actuator path.
|
default <T> T |
getFromActuator(String deploymentId,
String guid,
String endpoint,
Class<T> responseType)
Get a resource from an actuator path.
|
<T> T |
getFromActuator(String deploymentId,
String guid,
String endpoint,
Class<T> responseType,
Optional<org.springframework.http.HttpHeaders> requestHeaders)
Get a resource from an actuator path.
|
default String |
getFromActuator(String deploymentId,
String guid,
String endpoint,
Optional<org.springframework.http.HttpHeaders> requestHeaders)
Get a resource from an actuator path.
|
default <T,R> R |
postToActuator(String deploymentId,
String guid,
String endpoint,
T body,
Class<R> responseType)
Post to resource on actuator path.
|
<T,R> R |
postToActuator(String deploymentId,
String guid,
String endpoint,
T body,
Class<R> responseType,
Optional<org.springframework.http.HttpHeaders> requestHeaders)
Post to resource on actuator path.
|
<T> T getFromActuator(String deploymentId, String guid, String endpoint, Class<T> responseType, Optional<org.springframework.http.HttpHeaders> requestHeaders)
T - type of the response.deploymentId - the deployment ID of the deployed app.guid - unique id for the app instance.endpoint - the endpoint path relative to the base actuator URL for the instance, with or without preceding '/'.responseType - the expected response type.requestHeaders - optional request headers.default <T> T getFromActuator(String deploymentId, String guid, String endpoint, Class<T> responseType)
T - type of the responsedeploymentId - the deployment ID of the deployed app.guid - unique id for the app instance.endpoint - the endpoint path relative to the base actuator URL for the instance, with or without preceding '/'.responseType - the expected response type.default String getFromActuator(String deploymentId, String guid, String endpoint, Optional<org.springframework.http.HttpHeaders> requestHeaders)
deploymentId - the deployment ID of the deployed app.guid - unique id for the app instance.endpoint - the endpoint path relative to the base actuator URL for the instance, with or without preceding '/'.requestHeaders - optional request headers.String.default String getFromActuator(String deploymentId, String guid, String endpoint)
deploymentId - the deployment ID of the deployed app.guid - unique id for the app instance.endpoint - the endpoint path relative to the base actuator URL for the instance, with or without preceding '/'.String.<T,R> R postToActuator(String deploymentId, String guid, String endpoint, T body, Class<R> responseType, Optional<org.springframework.http.HttpHeaders> requestHeaders)
T - type of the body.R - type of the response.deploymentId - the deployment ID of the deployed app.guid - unique id for the app instance.endpoint - the endpoint path relative to the base actuator URL for the instance, with or without preceding '/'.body - the request body.responseType - the expected response type.requestHeaders - optional request headers.default <T,R> R postToActuator(String deploymentId, String guid, String endpoint, T body, Class<R> responseType)
R - the type of the response.T - the type of the body.deploymentId - the deployment ID of the deployed app.guid - unique id for the app instance.endpoint - the endpoint path relative to the base actuator URL for the instance, with or without preceding '/'.body - the request body.responseType - the expected response type.Copyright © 2023 Pivotal Software, Inc.. All rights reserved.