Class JolokiaWriteRequest


public class JolokiaWriteRequest extends JolokiaObjectNameRequest
A JMX request for a write operation
Since:
15.03.11
Author:
roland
  • Method Details

    • getValue

      public Object getValue()
      Value to set for a write request
      Returns:
      the value to set
    • getAttributeName

      public String getAttributeName()
      Name of the attribute to set the value on
      Returns:
      the attribute name
    • useReturnValueWithPath

      public boolean useReturnValueWithPath()
      The old value is returned directly, hence we do not want any path conversion on this value
      Overrides:
      useReturnValueWithPath in class JolokiaRequest
      Returns:
      false;
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toJSON

      public org.json.simple.JSONObject toJSON()
      Description copied from class: JolokiaObjectNameRequest
      Convert this request to a JSON object, which can be used as a part of a return value.
      Overrides:
      toJSON in class JolokiaObjectNameRequest
      Returns:
      JSON object representing this base request object