Package io.trino.server.ui
Class WebUiStaticResource
java.lang.Object
io.trino.server.ui.WebUiStaticResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsegetAssetsFile(String path, jakarta.servlet.ServletContext servletContext) jakarta.ws.rs.core.Responsejakarta.ws.rs.core.ResponsegetRoot()jakarta.ws.rs.core.ResponsegetUi()jakarta.ws.rs.core.ResponsegetVendorFile(String path, jakarta.servlet.ServletContext servletContext) jakarta.ws.rs.core.Response
-
Constructor Details
-
WebUiStaticResource
public WebUiStaticResource()
-
-
Method Details
-
getRoot
-
getUi
-
postFile
@ResourceSecurity(WEB_UI) @POST @Path("/ui/{path: .*}") public jakarta.ws.rs.core.Response postFile(@PathParam("path") String path) -
getAssetsFile
@ResourceSecurity(PUBLIC) @GET @Path("/ui/assets/{path: .*}") public jakarta.ws.rs.core.Response getAssetsFile(@PathParam("path") String path, @Context jakarta.servlet.ServletContext servletContext) throws IOException - Throws:
IOException
-
getVendorFile
@ResourceSecurity(PUBLIC) @GET @Path("/ui/vendor/{path: .*}") public jakarta.ws.rs.core.Response getVendorFile(@PathParam("path") String path, @Context jakarta.servlet.ServletContext servletContext) throws IOException - Throws:
IOException
-
getFile
@ResourceSecurity(WEB_UI) @GET @Path("/ui/{path: .*}") public jakarta.ws.rs.core.Response getFile(@PathParam("path") String path, @Context jakarta.servlet.ServletContext servletContext) throws IOException - Throws:
IOException
-