Package org.jolokia.server.core.request
Class JolokiaNotificationRequest
java.lang.Object
org.jolokia.server.core.request.JolokiaRequest
org.jolokia.server.core.request.JolokiaNotificationRequest
A request dealing with notification requests.
- Since:
- 19.03.13
- Author:
- roland
-
Method Summary
Modifier and TypeMethodDescription<T extends NotificationCommand>
TCommand encapsulating the concrete notification requestorg.json.simple.JSONObjecttoJSON()Convert this request to a JSON object, which can be used as a part of a return value.Methods inherited from class org.jolokia.server.core.request.JolokiaRequest
getHttpMethod, getInfo, getOption, getParameter, getParameterAsBool, getParameterAsInt, getPath, getPathParts, getType, getValueFaultHandler, isExclusive, useReturnValueWithPath
-
Method Details
-
getCommand
Command encapsulating the concrete notification request- Returns:
- notification command
-
toJSON
public org.json.simple.JSONObject toJSON()Convert this request to a JSON object, which can be used as a part of a return value.- Overrides:
toJSONin classJolokiaRequest- Returns:
- JSON object representing this base request object
-