Interface UriIndex

    • Method Detail

      • clear

        void clear()
        Clear the index
      • getSize

        int getSize()
        Gets size of index (i.e. number of Uris indexed)
        Returns:
        index size
      • registerUri

        void registerUri​(WebScript script,
                         java.lang.String uri)
        Register a URI with a Web Script
        Parameters:
        script - WebScript
        uri - String
      • findWebScript

        Match findWebScript​(java.lang.String method,
                            java.lang.String uri)
        Gets a Web Script given an HTTP Method and URI
        Parameters:
        method - http method
        uri - uri
        Returns:
        script match (pair of script and uri that matched)