public class SessionController extends Object
Constructor and Description |
---|
SessionController() |
Modifier and Type | Method and Description |
---|---|
String |
draw(javax.servlet.http.HttpServletRequest request,
String id)
Utility to get session attributes
|
javax.ws.rs.core.Response |
save(javax.servlet.http.HttpServletRequest request,
String buffer)
Store session attributes
|
public String draw(@Context javax.servlet.http.HttpServletRequest request, String id)
request
- is HTTP request objectid
- is session keypublic javax.ws.rs.core.Response save(@Context javax.servlet.http.HttpServletRequest request, String buffer)
request
- is HTTP request objectbuffer
- is session key value pairs in JSONCopyright © 2016 Apache Software Foundation. All Rights Reserved.