@Singleton @Path(value="/core/theme") public class ThemeRestService extends AbstractRestService implements IRestService
NO_LOGGED_IN_USER
Constructor and Description |
---|
ThemeRestService() |
Modifier and Type | Method and Description |
---|---|
protected org.slf4j.Logger |
getLogger()
Gets the logger.
|
javax.ws.rs.core.Response |
getStyle(String path,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Gets the style.
|
javax.ws.rs.core.Response |
getTheme(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Gets the theme.
|
Class<? extends IRestService> |
getType()
Gets the type.
|
sendErrorBadRequest, sendErrorForbidden, sendErrorInternalServerError, sendErrorNotFound, sendErrorUnathorized
@GET @Path(value="/") public javax.ws.rs.core.Response getTheme(@Context javax.servlet.http.HttpServletRequest request, @Context javax.servlet.http.HttpServletResponse response) throws IOException
request
- the requestresponse
- the responseIOException
- Signals that an I/O exception has occurred.@GET @Path(value="/{path:.*}") public javax.ws.rs.core.Response getStyle(@PathParam(value="path") String path, @Context javax.servlet.http.HttpServletRequest request, @Context javax.servlet.http.HttpServletResponse response) throws IOException
path
- the pathrequest
- the requestresponse
- the responseIOException
- Signals that an I/O exception has occurred.public Class<? extends IRestService> getType()
IRestService
getType
in interface IRestService
protected org.slf4j.Logger getLogger()
AbstractRestService
getLogger
in class AbstractRestService
Copyright © 2010–2018 Eclipse Foundation. All rights reserved.