Class DirectivesResponse

  • All Implemented Interfaces:
    JSONEnabled

    public class DirectivesResponse
    extends Object
    implements JSONEnabled
    A 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.

    • Constructor Detail

      • DirectivesResponse

        public DirectivesResponse()
      • DirectivesResponse

        public DirectivesResponse​(DMXObject object)
    • Method Detail

      • getDirectives

        public Directives getDirectives()
      • toJSON

        public org.codehaus.jettison.json.JSONObject toJSON()
        Specified by:
        toJSON in interface JSONEnabled