Class JSONEncodedInput

java.lang.Object
com.iizix.prop.GProp<GProp<?>[]>
com.iizix.prop.PropCnr
com.iizix.ws.prop.json.JSONEncodedInput
All Implemented Interfaces:
EventListener, IGProp<GProp<?>[]>, IPropCnr, IRequestContentEncoding, Cloneable

public class JSONEncodedInput extends PropCnr implements IRequestContentEncoding
RESTful JSON Encoded input for the request of a Web Service transaction.
Author:
Christopher Mindus
  • Constructor Details

    • JSONEncodedInput

      public JSONEncodedInput()
      Creates the property container without a name.
    • JSONEncodedInput

      public JSONEncodedInput(Atom propertyAtom)
      Creates the property container.
      Parameters:
      propertyAtom - the name of the component, unique within it's parent.
  • Method Details

    • clone

      public JSONEncodedInput clone()
      Clones the ModuleApp.
      Overrides:
      clone in class PropCnr
    • getInput

      public RESTfulInputProps getInput()
      Gets the RESTful input properties.
      Returns:
      The properties for REST input.
    • getWebServiceProp

      public WebServiceProp getWebServiceProp()
      Gets the Web Service property.
      Returns:
      The Web Service property, or null if not attached to it.
    • getVirtualSpace

      public VirtualSpace getVirtualSpace()
      Gets the VirtualSpace.
      Returns:
      The VirtualSpace connected the the variable input, or null for none.
    • createRequestContent

      public IRequestContent createRequestContent()
      Creates a new instance of the request content encoder.
      Specified by:
      createRequestContent in interface IRequestContentEncoding
      Returns:
      The request JSON content encoder instance.