Interface ResourceSupplier

    • Method Detail

      • getResource

        Resource getResource​(HttpServerExchange exchange,
                             java.lang.String path)
                      throws java.io.IOException
        Parameters:
        exchange - The current exchange
        path - The path to resolve
        Returns:
        A resource to serve
        Throws:
        java.io.IOException - if an error ocured resolving the resource