Package io.trino.server.ui
Class WebUiStaticResource
- java.lang.Object
-
- io.trino.server.ui.WebUiStaticResource
-
@Path("") public class WebUiStaticResource extends Object
-
-
Constructor Summary
Constructors Constructor Description WebUiStaticResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsegetAssetsFile(String path, javax.servlet.ServletContext servletContext)javax.ws.rs.core.ResponsegetFile(String path, javax.servlet.ServletContext servletContext)javax.ws.rs.core.ResponsegetRoot()javax.ws.rs.core.ResponsegetUi()javax.ws.rs.core.ResponsegetVendorFile(String path, javax.servlet.ServletContext servletContext)javax.ws.rs.core.ResponsepostFile(String path)
-
-
-
Method Detail
-
getRoot
@ResourceSecurity(PUBLIC) @GET @Path("/") public javax.ws.rs.core.Response getRoot()
-
getUi
@ResourceSecurity(PUBLIC) @GET @Path("/ui") public javax.ws.rs.core.Response getUi()
-
postFile
@ResourceSecurity(WEB_UI) @POST @Path("/ui/{path: .*}") public javax.ws.rs.core.Response postFile(@PathParam("path") String path)
-
getAssetsFile
@ResourceSecurity(PUBLIC) @GET @Path("/ui/assets/{path: .*}") public javax.ws.rs.core.Response getAssetsFile(@PathParam("path") String path, @Context javax.servlet.ServletContext servletContext) throws IOException
- Throws:
IOException
-
getVendorFile
@ResourceSecurity(PUBLIC) @GET @Path("/ui/vendor/{path: .*}") public javax.ws.rs.core.Response getVendorFile(@PathParam("path") String path, @Context javax.servlet.ServletContext servletContext) throws IOException
- Throws:
IOException
-
getFile
@ResourceSecurity(WEB_UI) @GET @Path("/ui/{path: .*}") public javax.ws.rs.core.Response getFile(@PathParam("path") String path, @Context javax.servlet.ServletContext servletContext) throws IOException
- Throws:
IOException
-
-