public class JmxReadRequest extends JmxObjectNameRequest
read
operations, i.e. for reading JMX attributes
on MBeans.Modifier and Type | Method and Description |
---|---|
String |
getAttributeName()
Get a single attribute name.
|
List<String> |
getAttributeNames()
Get the list of all attribute names.
|
boolean |
hasAttribute()
Whether this request has not multiple attribute names associated (which normally means, that all attributes should be fetched).
|
boolean |
isMultiAttributeMode()
Whether this is a multi-attribute request, i.e.
|
JSONObject |
toJSON()
Convert this request to a JSON object, which can be used as a part of a return value.
|
String |
toString() |
getInfo, getObjectName, getObjectNameAsString, getOrderedObjectName
getHttpMethod, getParameter, getParameterAsBool, getParameterAsInt, getPath, getPathParts, getTargetConfig, getType, getValueFaultHandler
public String getAttributeName()
IllegalStateException
- if this request was initialized with more than one attribute.public List<String> getAttributeNames()
public boolean isMultiAttributeMode()
public boolean hasAttribute()
public JSONObject toJSON()
toJSON
in class JmxObjectNameRequest
Copyright © 2019. All rights reserved.