Package io.trino.server.ui
Class WebUiStaticResource
java.lang.Object
io.trino.server.ui.WebUiStaticResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsegetAssetsFile(String path, javax.servlet.ServletContext servletContext) javax.ws.rs.core.Responsejavax.ws.rs.core.ResponsegetRoot()javax.ws.rs.core.ResponsegetUi()javax.ws.rs.core.ResponsegetVendorFile(String path, javax.servlet.ServletContext servletContext) javax.ws.rs.core.Response
-
Constructor Details
-
WebUiStaticResource
public WebUiStaticResource()
-
-
Method Details
-
getRoot
-
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
-