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 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)