public class DefaultService extends AbstractRestService
web.xml.
Note that it offers both means to treat login requests via application/json and application/html.
That is needed in order to treat session timeouts in the client application.
Rather than rendering the presented views directly, the task is delegated to a
TemplateMessageBodyWriter.| Constructor and Description |
|---|
DefaultService() |
| Modifier and Type | Method and Description |
|---|---|
UserDTO |
currentUser(javax.servlet.http.HttpServletRequest request) |
badRequest, internalServerError, notAllowed, notFound, redirectTopublic UserDTO currentUser(@Context javax.servlet.http.HttpServletRequest request)
Copyright © 2015. All rights reserved.