Class XLReleaseStaticResource
java.lang.Object
com.xebialabs.xlrelease.api.internal.XLReleaseStaticResource
Static web resources (images, stylesheets...) used by the Digital.ai Release UI.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Responsejakarta.ws.rs.core.ResponsegetEotFont(String path) jakarta.ws.rs.core.ResponsegetFavicon(String path) jakarta.ws.rs.core.Responsejakarta.ws.rs.core.Responsejakarta.ws.rs.core.Responsejakarta.ws.rs.core.Responsejakarta.ws.rs.core.Responsejakarta.ws.rs.core.ResponsegetOtfFont(String path) jakarta.ws.rs.core.Responsejakarta.ws.rs.core.Responsejakarta.ws.rs.core.Responsejakarta.ws.rs.core.ResponsegetTtfFont(String path) jakarta.ws.rs.core.ResponsegetWoff2Font(String path) jakarta.ws.rs.core.ResponsegetWoffFont(String path) jakarta.ws.rs.core.Response
-
Constructor Details
-
XLReleaseStaticResource
public XLReleaseStaticResource()
-
-
Method Details
-
redirectToRoot
@GET @Produces("text/html;charset=UTF-8") public jakarta.ws.rs.core.Response redirectToRoot() throws IOException- Throws:
IOException
-
getRoot
@GET @Path("{path : static/.*\\.html}") @Produces("text/html;charset=UTF-8") public jakarta.ws.rs.core.Response getRoot(@PathParam("path") String path) throws IOException - Throws:
IOException
-
getOtfFont
@GET @Path("{path : static/.*\\.otf}") @Produces("font/opentype") public jakarta.ws.rs.core.Response getOtfFont(@PathParam("path") String path) throws IOException - Throws:
IOException
-
getEotFont
@GET @Path("{path : static/.*\\.eot}") @Produces("application/vnd.ms-fontobject") public jakarta.ws.rs.core.Response getEotFont(@PathParam("path") String path) throws IOException - Throws:
IOException
-
getWoffFont
@GET @Path("{path : .*\\.woff}") @Produces("application/font-woff") public jakarta.ws.rs.core.Response getWoffFont(@PathParam("path") String path) throws IOException - Throws:
IOException
-
getWoff2Font
@GET @Path("{path : .*\\.woff2}") @Produces("application/font-woff2") public jakarta.ws.rs.core.Response getWoff2Font(@PathParam("path") String path) throws IOException - Throws:
IOException
-
getTtfFont
@GET @Path("{path : static/.*\\.ttf}") @Produces("application/x-font-ttf") public jakarta.ws.rs.core.Response getTtfFont(@PathParam("path") String path) throws IOException - Throws:
IOException
-
getSvg
@GET @Path("{path : static/.*\\.svg}") @Produces("image/svg+xml") public jakarta.ws.rs.core.Response getSvg(@PathParam("path") String path) throws IOException - Throws:
IOException
-
getPng
@GET @Path("{path : static/.*\\.png}") @Produces("image/png") public jakarta.ws.rs.core.Response getPng(@PathParam("path") String path) throws IOException - Throws:
IOException
-
getGif
@GET @Path("{path : static/.*\\.gif}") @Produces("image/gif") public jakarta.ws.rs.core.Response getGif(@PathParam("path") String path) throws IOException - Throws:
IOException
-
getJpg
@GET @Path("{path : static/.*\\.jpg}") @Produces("image/jpg") public jakarta.ws.rs.core.Response getJpg(@PathParam("path") String path) throws IOException - Throws:
IOException
-
getFavicon
@GET @Path("{path : static/.*\\.ico}") @Produces("image/x-icon") public jakarta.ws.rs.core.Response getFavicon(@PathParam("path") String path) throws IOException - Throws:
IOException
-
getJsMap
@GET @Path("{path : static/.*\\.map}") @Produces("application/json") public jakarta.ws.rs.core.Response getJsMap(@PathParam("path") String path) throws IOException - Throws:
IOException
-
getJson
@GET @Path("{path : static/.*\\.json}") @Produces("application/json") public jakarta.ws.rs.core.Response getJson(@PathParam("path") String path) throws IOException - Throws:
IOException
-
getJs
@GET @Path("{path : static/.*\\.js}") @Produces("application/javascript") public jakarta.ws.rs.core.Response getJs(@PathParam("path") String path, @Context jakarta.servlet.http.HttpServletRequest request) throws IOException - Throws:
IOException
-
getCss
@GET @Path("{path : static/.*\\.css}") @Produces("text/css") public jakarta.ws.rs.core.Response getCss(@PathParam("path") String path) throws IOException - Throws:
IOException
-