Interface IPathHandler

    • Method Detail

      • addSubhandler

        void addSubhandler​(java.lang.String vhost,
                           java.lang.String path,
                           IRequestHandler subhandler)
        Adds a new subhandler.
        Parameters:
        vhost - Virtual host specification.
        path - Path being handled.
        subhandler - The subhandler.
      • removeSubhandler

        void removeSubhandler​(java.lang.String vhost,
                              java.lang.String path)
        Remove a subhandler.
        Parameters:
        vhost - Virtual host specification.
        path - Path being handled.
      • containsSubhandlerForExactUri

        boolean containsSubhandlerForExactUri​(java.lang.String vhost,
                                              java.lang.String path)
        Tests if a handler for the exact URI is currently published.
        Parameters:
        vhost - Virtual host specification.
        path - Path being handled.
        Returns:
        True, if a handler was found.
      • getSubhandlers

        java.util.Map<Tuple2<java.lang.String,​java.lang.String>,​Tuple2<java.lang.String,​IRequestHandler>> getSubhandlers()
        Get the subhandlers.
        Returns:
        The subhandlers