Class RESTfulInputProps

    • Field Detail


        public static final java.lang.String PN_URI_PATH_PARAMS
        The property name for URI path parameterized with curly bracket enclosed variables.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RESTfulInputProps

        public RESTfulInputProps()
        Creates a Input Properties container with the specified name with a null value.
      • RESTfulInputProps

        public RESTfulInputProps​(Atom propertyAtom)
        Creates a Input Properties container with the specified name with a null value.
        propertyAtom - the property atom.
    • Method Detail

      • getURI

        public java.lang.String getURI()
        Gets the URI for the request without the parameters.
        The URI.
      • isURIPathParameterized

        public boolean isURIPathParameterized()
        Returns whether the URI path should be used as is (false = default), or if it contains parameters that are enclosed in curly brackets.
        The flag, default false.
      • getMethod

        public Method getMethod()
        Gets the method.
        The method used.
      • getOverrideMethod

        public Method getOverrideMethod()
        Gets the override method.
        The overridden method in "X-HTTP-Method-Override", null for none.
      • getEncoding

        public java.lang.String getEncoding()
        Gets the encoding.
        The encoding, default "UTF-8".
      • getRequestEncoding

        public IRequestContentEncoding getRequestEncoding()
        Gets the encoding.
        The request encoding instance, or null for none.
      • doExecute

        public IReplyContent doExecute​(IAppSessionGyro appGyro,
                                       boolean doPerform)
                                throws PropException,
        Executes the Web Service request.
        Specified by:
        doExecute in interface IExecuteWebService
        Specified by:
        doExecute in class AbstractInputProps
        appGyro - The application session gyro, null for Designer.
        doPerform - Execution flag when true, test when false.
        The contents reply instance, or null when testing.
        PropException - For property errors. - For I/O errors. - For unsupported encodings. - When URI syntax is invalid.
      • onVirtualSpaceVirtualized

        public void onVirtualSpaceVirtualized​(IAppSessionGyro appGyro,
                                              VirtualSpace virtualizedVirtualSpace)
        Called when the VirtualSpace has been virtualized, giving the opportunity for e.g. data connectors to prepare it's virtualized counterparts if this is required.

        This call is done to the non-virtualized instance of the VirtualSpace participant.

        appGyro - The application gyro instance.
        virtualizedVirtualSpace - The virtualized VirtualSpace instance.