Interface IServerBridgeRequest

    • Method Detail

      • get

        String get​(String p_strKey)
        Get a request variable.
        Parameters:
        p_strKey - The key.
        Returns:
        The value that is referenced by p_strKey, or null if there is no such request variable.
      • get

        String get​(String p_strKey,
                   String p_strFallback)
        Get a request variable.
        Parameters:
        p_strKey - The key.
        p_strFallback - The fallback value.
        Returns:
        The value that is referenced by p_strKey, or p_objFallback if there is no such request variable.
      • put

        void put​(String p_strKey,
                 String p_strValue)
        Set a request variable.
        Parameters:
        p_strKey - The name of the request variable.
        p_strValue - The value of the request variable.
      • remove

        void remove​(String p_strKey)
        Remove the specified variable from the request.
        Parameters:
        p_strKey - The name of the variable to remove.
      • containsKey

        boolean containsKey​(String p_strKey)
        Test if the request contains the specified variable.
        Parameters:
        p_strKey - The name of the variable.
        Returns:
        true if the request contains the specified variable.
      • getEntrySet

        Set<Map.Entry<String,​String>> getEntrySet()
        Get an unmodifiable set that contains all request variables.
        Returns:
        A set containing Map.Entrys that contain requests variable name-value-pairs.
      • pushVariables

        void pushVariables()
        Push request variables on the stack.
      • popVariables

        void popVariables()
        Pop request variables from the stack.
      • createCopy

        IServerBridgeRequest createCopy()
        Create a copy of the topmost state of this request.

        The request created will have an empty stack.

        Returns:
        The copy.
      • size

        int size()
        Returns:
        Returns the number of request parameters in this request.
      • getHttpBody

        @Deprecated
        byte[] getHttpBody()
        Deprecated.
        This method does not work.
        This method was experimental only.
      • setHttpBody

        @Deprecated
        void setHttpBody​(byte[] p_buf)
        Deprecated.
        This method does not work.
        This method was experimental only.
      • hasUploadFiles

        boolean hasUploadFiles()
        Check if files were uploaded with this request.
        Returns:
        true if files were uploaded with this request, or false otherwise.
      • getUploadFiles

        de.uplanet.lucy.server.connector.IUploadFiles getUploadFiles()
        Get the files that were uploaded with this request.
        Returns:
        The files that were uploaded with this request, or null.