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.ws.rs.core.Responsejakarta.ws.rs.core.ResponsegetRoot(ExternalUriInfo externalUriInfo) jakarta.ws.rs.core.ResponsegetUi(ExternalUriInfo externalUriInfo) jakarta.ws.rs.core.ResponsegetVendorFile(String path) jakarta.ws.rs.core.ResponsepostFile()
-
Constructor Details
-
WebUiStaticResource
public WebUiStaticResource()
-
-
Method Details
-
getRoot
@ResourceSecurity(PUBLIC) @GET public jakarta.ws.rs.core.Response getRoot(@BeanParam ExternalUriInfo externalUriInfo) -
getUi
@ResourceSecurity(PUBLIC) @GET @Path("/ui") public jakarta.ws.rs.core.Response getUi(@BeanParam ExternalUriInfo externalUriInfo) -
postFile
@ResourceSecurity(WEB_UI) @POST @Path("/ui/{path: .*}") public jakarta.ws.rs.core.Response postFile() -
getAssetsFile
@ResourceSecurity(PUBLIC) @GET @Path("/ui/assets/{path: .*}") public jakarta.ws.rs.core.Response getAssetsFile(@PathParam("path") String path) throws IOException - Throws:
IOException
-
getVendorFile
@ResourceSecurity(PUBLIC) @GET @Path("/ui/vendor/{path: .*}") public jakarta.ws.rs.core.Response getVendorFile(@PathParam("path") String path) throws IOException - Throws:
IOException
-
getFile
@ResourceSecurity(WEB_UI) @GET @Path("/ui/{path: .*}") public jakarta.ws.rs.core.Response getFile(@PathParam("path") String path) throws IOException - Throws:
IOException
-