@Path(value="/sessions") public class SessionsResource extends AbstractResource
locatorBridge, logger, requestHeaders, securityContext, serviceLocator, subjectRef, uriInfo| Constructor and Description |
|---|
SessionsResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
create(HashMap<String,String> data)
Get a new session with GlassFish Rest service
If a request lands here when authentication has been turned on => it has been authenticated.
|
SessionResource |
getSessionResource(String sessionId) |
getAuthenticatedUser, getSubject@POST
@Consumes(value={"application/json","application/xml","application/x-www-form-urlencoded"})
@Produces(value={"text/html","application/json","application/xml"})
public javax.ws.rs.core.Response create(HashMap<String,String> data)
@Path(value="{sessionId}/")
public SessionResource getSessionResource(@PathParam(value="sessionId")
String sessionId)
Copyright © 2017. All rights reserved.