public class SessionResource
extends ch.software_atelier.simpleflex.rest.DefaultRestResource
| Constructor and Description |
|---|
SessionResource(DataHandler dh,
TokenHandler th,
TokenParser tp) |
| Modifier and Type | Method and Description |
|---|---|
void |
docPOST(ch.software_atelier.simpleflex.rest.swagger.MethodDocumentation request) |
void |
docPUT(ch.software_atelier.simpleflex.rest.swagger.MethodDocumentation request) |
ch.software_atelier.simpleflex.rest.RestResponse |
onPOST(ch.software_atelier.simpleflex.rest.RestRequest request)
The Login function.
|
ch.software_atelier.simpleflex.rest.RestResponse |
onPUT(ch.software_atelier.simpleflex.rest.RestRequest request)
Updates the SessionToken.
|
static org.json.JSONArray |
realmsToArray(HashMap<String,String> realms) |
public SessionResource(DataHandler dh, TokenHandler th, TokenParser tp)
public ch.software_atelier.simpleflex.rest.RestResponse onPUT(ch.software_atelier.simpleflex.rest.RestRequest request)
onPUT in interface ch.software_atelier.simpleflex.rest.RestResourceonPUT in class ch.software_atelier.simpleflex.rest.DefaultRestResourcepublic void docPUT(ch.software_atelier.simpleflex.rest.swagger.MethodDocumentation request)
docPUT in interface ch.software_atelier.simpleflex.rest.RestResourcedocPUT in class ch.software_atelier.simpleflex.rest.DefaultRestResourcepublic ch.software_atelier.simpleflex.rest.RestResponse onPOST(ch.software_atelier.simpleflex.rest.RestRequest request)
onPOST in interface ch.software_atelier.simpleflex.rest.RestResourceonPOST in class ch.software_atelier.simpleflex.rest.DefaultRestResourcepublic void docPOST(ch.software_atelier.simpleflex.rest.swagger.MethodDocumentation request)
docPOST in interface ch.software_atelier.simpleflex.rest.RestResourcedocPOST in class ch.software_atelier.simpleflex.rest.DefaultRestResourceCopyright © 2021 Software Atelier Kamber. All rights reserved.