public class DirectivesResponse extends Object implements JSONEnabled
DMXObject/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.
| Modifier and Type | Field and Description |
|---|---|
private Directives |
directives |
private DMXObject |
object |
| Constructor and Description |
|---|
DirectivesResponse() |
DirectivesResponse(DMXObject object) |
| Modifier and Type | Method and Description |
|---|---|
Directives |
getDirectives() |
DMXObject |
getObject() |
private void |
initDirectives() |
org.codehaus.jettison.json.JSONObject |
toJSON() |
private Directives directives
public DirectivesResponse()
public DirectivesResponse(DMXObject object)
public Directives getDirectives()
public org.codehaus.jettison.json.JSONObject toJSON()
toJSON in interface JSONEnabledprivate void initDirectives()
Copyright © 2018. All Rights Reserved.