Package systems.dmx.core.service
Class DirectivesResponse
- java.lang.Object
-
- systems.dmx.core.service.DirectivesResponse
-
- All Implemented Interfaces:
JSONEnabled
public class DirectivesResponse extends Object implements JSONEnabled
ADMXObject
/Directives
pair to be sent as response.The DMXObject is injected via constructor. It is optional. The Directives are the thread-local ones assembled while request processing.
-
-
Constructor Summary
Constructors Constructor Description DirectivesResponse()
DirectivesResponse(DMXObject object)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Directives
getDirectives()
DMXObject
getObject()
org.codehaus.jettison.json.JSONObject
toJSON()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface systems.dmx.core.JSONEnabled
dump
-
-
-
-
Constructor Detail
-
DirectivesResponse
public DirectivesResponse()
-
DirectivesResponse
public DirectivesResponse(DMXObject object)
-
-
Method Detail
-
getObject
public DMXObject getObject()
-
getDirectives
public Directives getDirectives()
-
toJSON
public org.codehaus.jettison.json.JSONObject toJSON()
- Specified by:
toJSON
in interfaceJSONEnabled
-
-