Interface SessionRestOpenApi
-
- All Known Implementing Classes:
SessionRestController
@RequestMapping("/v2.1.1/session-manager/") public interface SessionRestOpenApi
Swagger documentation for session manager.- Author:
- Mauricio Ruiz Beltrán <mauricio.ruiz@kuwaiba.org>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
closeSession(@NotNull @Valid String sessionId)
Session
createSession(@NotNull @Valid String user, @NotNull @Valid String password, @javax.validation.constraints.NotNull,@javax.validation.Valid int sessionType)
-
-
-
Field Detail
-
PATH
static final String PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
createSession
@RequestMapping(method=PUT, value="createSession/{user}/{password}/{sessionType}", produces="application/json") Session createSession(@NotNull @Valid @PathVariable(value="user",required=true) @NotNull @Valid String user, @NotNull @Valid @PathVariable(value="password",required=true) @NotNull @Valid String password, @NotNull @Valid @PathVariable(value="sessionType",required=true) @javax.validation.constraints.NotNull,@javax.validation.Valid int sessionType)
-
closeSession
@RequestMapping(method=DELETE, value="closeSession/{sessionId}", produces="application/json") void closeSession(@NotNull @Valid @PathVariable(value="sessionId",required=true) @NotNull @Valid String sessionId)
-
-