public HttpServerBuilder contentFrom ( final String path , final URL resource ) { resources . put ( path , resource ) ; return this ; }
Defines a file to be hosted on the specified path . The file s content is provided by the specified URL .