类 JacksonJmxOperationResponseMapper
java.lang.Object
org.springframework.boot.actuate.endpoint.jmx.JacksonJmxOperationResponseMapper
- 所有已实现的接口:
JmxOperationResponseMapper
JmxOperationResponseMapper
that delegates to a Jackson ObjectMapper
to
return a JSON response.- 从以下版本开始:
- 2.0.0
- 作者:
- Stephane Nicoll
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明mapResponse
(Object response) Map the operation's response so that it can be consumed by a JMX compliant client.Class
<?> mapResponseType
(Class<?> responseType) Map the response type to its JMX compliant counterpart.
-
构造器详细资料
-
JacksonJmxOperationResponseMapper
public JacksonJmxOperationResponseMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
方法详细资料
-
mapResponseType
从接口复制的说明:JmxOperationResponseMapper
Map the response type to its JMX compliant counterpart.- 指定者:
mapResponseType
在接口中JmxOperationResponseMapper
- 参数:
responseType
- the operation's response type- 返回:
- the JMX compliant type
-
mapResponse
从接口复制的说明:JmxOperationResponseMapper
Map the operation's response so that it can be consumed by a JMX compliant client.- 指定者:
mapResponse
在接口中JmxOperationResponseMapper
- 参数:
response
- the operation's response- 返回:
- the
response
, in a JMX compliant format
-