Interface HttpApplicationState

    • Method Detail

      • getContextPath

        java.lang.String getContextPath()
        Obtains the context path for the application.
        Returns:
        Context path for the application.
      • createApplicationClientUrl

        java.lang.String createApplicationClientUrl​(boolean isSecure,
                                                    java.lang.String path,
                                                    ServerHttpConnection connection)

        Creates the client URL for this application.

        This includes protocol, domain and port.

        Parameters:
        isSecure - Indicates if the URL is secure.
        path - Path including query string and fragment for the URL.
        connection - ServerHttpConnection.
        Returns:
        Client URL for the application.
      • createApplicationClientPath

        java.lang.String createApplicationClientPath​(java.lang.String path)

        Creates the client path for this application.

        This is the public path on the server, and does NOT protocol, domain nor port.

        Parameters:
        path - Path including query string and fragment for the path.
        Returns:
        Client path for the application.
      • getAttribute

        java.lang.Object getAttribute​(java.lang.String name)
        Obtains the Object that is bound to the name.
        Parameters:
        name - Name.
        Returns:
        Object bound to the name or null if no Object bound by the name.
      • getAttributeNames

        java.util.Iterator<java.lang.String> getAttributeNames()
        Obtains an Iterator to the names of the bound Object instances.
        Returns:
        Iterator to the names of the bound Object instances.
      • setAttribute

        void setAttribute​(java.lang.String name,
                          java.lang.Object object)
        Binds the Object to the name.
        Parameters:
        name - Name.
        object - Object.
      • removeAttribute

        void removeAttribute​(java.lang.String name)
        Removes the bound Object by the name.
        Parameters:
        name - Name of bound Object to remove.