Class XLReleaseStaticResource
- java.lang.Object
-
- com.xebialabs.xlrelease.api.internal.XLReleaseStaticResource
-
@Path("/") @Controller public class XLReleaseStaticResource extends java.lang.ObjectStatic web resources (images, stylesheets...) used by the Digital.ai Release UI.
-
-
Constructor Summary
Constructors Constructor Description XLReleaseStaticResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsegetCss(java.lang.String path)javax.ws.rs.core.ResponsegetEotFont(java.lang.String path)javax.ws.rs.core.ResponsegetFavicon(java.lang.String path)javax.ws.rs.core.ResponsegetGif(java.lang.String path)javax.ws.rs.core.ResponsegetJpg(java.lang.String path)javax.ws.rs.core.ResponsegetJs(java.lang.String path, javax.servlet.http.HttpServletRequest request)javax.ws.rs.core.ResponsegetJsMap(java.lang.String path)javax.ws.rs.core.ResponsegetJson(java.lang.String path)javax.ws.rs.core.ResponsegetOtfFont(java.lang.String path)javax.ws.rs.core.ResponsegetPng(java.lang.String path)javax.ws.rs.core.ResponsegetRoot(java.lang.String path)javax.ws.rs.core.ResponsegetSvg(java.lang.String path)javax.ws.rs.core.ResponsegetTtfFont(java.lang.String path)javax.ws.rs.core.ResponsegetWoff2Font(java.lang.String path)javax.ws.rs.core.ResponsegetWoffFont(java.lang.String path)javax.ws.rs.core.ResponseredirectToRoot()
-
-
-
Method Detail
-
redirectToRoot
@GET @Produces("text/html;charset=UTF-8") public javax.ws.rs.core.Response redirectToRoot() throws java.io.IOException- Throws:
java.io.IOException
-
getRoot
@GET @Timed @Path("{path : static/.*\\.html}") @Produces("text/html;charset=UTF-8") public javax.ws.rs.core.Response getRoot(@PathParam("path") java.lang.String path) throws java.io.IOException- Throws:
java.io.IOException
-
getOtfFont
@GET @Timed @Path("{path : static/.*\\.otf}") @Produces("font/opentype") public javax.ws.rs.core.Response getOtfFont(@PathParam("path") java.lang.String path) throws java.io.IOException- Throws:
java.io.IOException
-
getEotFont
@GET @Timed @Path("{path : static/.*\\.eot}") @Produces("application/vnd.ms-fontobject") public javax.ws.rs.core.Response getEotFont(@PathParam("path") java.lang.String path) throws java.io.IOException- Throws:
java.io.IOException
-
getWoffFont
@GET @Timed @Path("{path : .*\\.woff}") @Produces("application/font-woff") public javax.ws.rs.core.Response getWoffFont(@PathParam("path") java.lang.String path) throws java.io.IOException- Throws:
java.io.IOException
-
getWoff2Font
@GET @Timed @Path("{path : .*\\.woff2}") @Produces("application/font-woff2") public javax.ws.rs.core.Response getWoff2Font(@PathParam("path") java.lang.String path) throws java.io.IOException- Throws:
java.io.IOException
-
getTtfFont
@GET @Timed @Path("{path : static/.*\\.ttf}") @Produces("application/x-font-ttf") public javax.ws.rs.core.Response getTtfFont(@PathParam("path") java.lang.String path) throws java.io.IOException- Throws:
java.io.IOException
-
getSvg
@GET @Timed @Path("{path : static/.*\\.svg}") @Produces("image/svg+xml") public javax.ws.rs.core.Response getSvg(@PathParam("path") java.lang.String path) throws java.io.IOException- Throws:
java.io.IOException
-
getPng
@GET @Timed @Path("{path : static/.*\\.png}") @Produces("image/png") public javax.ws.rs.core.Response getPng(@PathParam("path") java.lang.String path) throws java.io.IOException- Throws:
java.io.IOException
-
getGif
@GET @Timed @Path("{path : static/.*\\.gif}") @Produces("image/gif") public javax.ws.rs.core.Response getGif(@PathParam("path") java.lang.String path) throws java.io.IOException- Throws:
java.io.IOException
-
getJpg
@GET @Timed @Path("{path : static/.*\\.jpg}") @Produces("image/jpg") public javax.ws.rs.core.Response getJpg(@PathParam("path") java.lang.String path) throws java.io.IOException- Throws:
java.io.IOException
-
getFavicon
@GET @Timed @Path("{path : static/.*\\.ico}") @Produces("image/x-icon") public javax.ws.rs.core.Response getFavicon(@PathParam("path") java.lang.String path) throws java.io.IOException- Throws:
java.io.IOException
-
getJsMap
@GET @Timed @Path("{path : static/.*\\.map}") @Produces("application/json") public javax.ws.rs.core.Response getJsMap(@PathParam("path") java.lang.String path) throws java.io.IOException- Throws:
java.io.IOException
-
getJson
@GET @Timed @Path("{path : static/.*\\.json}") @Produces("application/json") public javax.ws.rs.core.Response getJson(@PathParam("path") java.lang.String path) throws java.io.IOException- Throws:
java.io.IOException
-
getJs
@GET @Timed @Path("{path : static/.*\\.js}") @Produces("application/javascript") public javax.ws.rs.core.Response getJs(@PathParam("path") java.lang.String path, @Context javax.servlet.http.HttpServletRequest request) throws java.io.IOException- Throws:
java.io.IOException
-
getCss
@GET @Timed @Path("{path : static/.*\\.css}") @Produces("text/css") public javax.ws.rs.core.Response getCss(@PathParam("path") java.lang.String path) throws java.io.IOException- Throws:
java.io.IOException
-
-