Class URLEncodedInput

All Implemented Interfaces:
EventListener, IGProp<GProp<?>[]>, IPropCnr, IRequestContentEncoding, Cloneable
Direct Known Subclasses:
EditorJSONEncodedInput, EditorURLEncodedInput

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

    • URLEncodedInput

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

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

    • clone

      public URLEncodedInput clone()
      Clones the ModuleApp.
      Overrides:
      clone in class VSVariables
    • getInput

      public RESTfulInputProps getInput()
      Gets the RESTful input properties.
      Returns:
      The input properties.
    • 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 URLEncodedContent createRequestContent()
      Creates a new instance of the request content encoder.
      Specified by:
      createRequestContent in interface IRequestContentEncoding
      Returns:
      The request URL content encoder instance.
    • getInputParameters

      public URLInputParameter[] getInputParameters()
      Gets the input parameters. This list will include all parameters used for the URL, some may be used to format the URI and some for the query part.
      Returns:
      An array of input parameters.
    • getParameters

      public void getParameters(IAppSessionGyro appGyro, List<WSParameter> list)
      Gets all the parameters.
      Parameters:
      appGyro - The application session gyro, null in Designer.
      list - The list that will be filled with the parameter.