public class ResponseMXBeanImpl extends Object implements ResponseMXBean
ResponseMXBean
MXBean interface.Constructor and Description |
---|
ResponseMXBeanImpl() |
Modifier and Type | Method and Description |
---|---|
Integer |
getLastResponseCode()
Returns the response code of a last response written by the application.
|
Map<Integer,Long> |
getResponseCodesToCountMap()
Returns statistics of response codes produces by the application.
|
void |
updateResponseStatistics(ResponseStatistics responseStatistics)
Update the statistics exposed by the MXBean.
|
public void updateResponseStatistics(ResponseStatistics responseStatistics)
responseStatistics
- public Map<Integer,Long> getResponseCodesToCountMap()
ResponseMXBean
getResponseCodesToCountMap
in interface ResponseMXBean
public Integer getLastResponseCode()
ResponseMXBean
getLastResponseCode
in interface ResponseMXBean
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.