Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public final class HttpStatusReturningLogoutSuccessHandler
- Object
- HttpStatusReturningLogoutSuccessHandler
ImplementsLogoutSuccessHandler
After sign-out, answers with a status and no page: for an API.
Constructors
public HttpStatusReturningLogoutSuccessHandler() | Answers 200. |
public HttpStatusReturningLogoutSuccessHandler(int status) |
Methods
public HttpServer.Response onLogoutSuccess(HttpServer.Request request, Authentication authentication) |
Inherited methods
Constructor details
HttpStatusReturningLogoutSuccessHandler
public HttpStatusReturningLogoutSuccessHandler()Answers 200.
HttpStatusReturningLogoutSuccessHandler
public HttpStatusReturningLogoutSuccessHandler(int status)Method details
onLogoutSuccess
public HttpServer.Response onLogoutSuccess(HttpServer.Request request, Authentication authentication)Parameters
requestHttpServer.Request- Not documented.
authenticationAuthentication- who signed out; null when nobody was signed in