Class Jackson2JmxOperationResponseMapper
java.lang.Object
org.springframework.boot.actuate.endpoint.jmx.Jackson2JmxOperationResponseMapper
- All Implemented Interfaces:
JmxOperationResponseMapper
@Deprecated(since="4.0.0",
forRemoval=true)
public class Jackson2JmxOperationResponseMapper
extends Object
implements JmxOperationResponseMapper
Deprecated, for removal: This API element is subject to removal in a future version.
JmxOperationResponseMapper that delegates to a Jackson 2 ObjectMapper
to return a JSON response.- Since:
- 4.0.0
- Author:
- Stephane Nicoll
-
Constructor Summary
ConstructorsConstructorDescriptionJackson2JmxOperationResponseMapper(@Nullable com.fasterxml.jackson.databind.ObjectMapper objectMapper) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescription@Nullable ObjectmapResponse(@Nullable Object response) Deprecated, for removal: This API element is subject to removal in a future version.Map the operation's response so that it can be consumed by a JMX compliant client.Class<?> mapResponseType(Class<?> responseType) Deprecated, for removal: This API element is subject to removal in a future version.Map the response type to its JMX compliant counterpart.
-
Constructor Details
-
Jackson2JmxOperationResponseMapper
public Jackson2JmxOperationResponseMapper(@Nullable com.fasterxml.jackson.databind.ObjectMapper objectMapper) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
mapResponseType
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:JmxOperationResponseMapperMap the response type to its JMX compliant counterpart.- Specified by:
mapResponseTypein interfaceJmxOperationResponseMapper- Parameters:
responseType- the operation's response type- Returns:
- the JMX compliant type
-
mapResponse
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:JmxOperationResponseMapperMap the operation's response so that it can be consumed by a JMX compliant client.- Specified by:
mapResponsein interfaceJmxOperationResponseMapper- Parameters:
response- the operation's response- Returns:
- the
response, in a JMX compliant format
-
JacksonJmxOperationResponseMapper.