Class HttpStatusReturningLogoutSuccessHandler
java.lang.Object
com.codename1.backend.security.HttpStatusReturningLogoutSuccessHandler
- All Implemented Interfaces:
LogoutSuccessHandler
public final class HttpStatusReturningLogoutSuccessHandler
extends Object
implements LogoutSuccessHandler
After sign-out, answers with a status and no page: for an API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiononLogoutSuccess(HttpServer.Request request, Authentication authentication)
-
Constructor Details
-
HttpStatusReturningLogoutSuccessHandler
public HttpStatusReturningLogoutSuccessHandler()Answers 200. -
HttpStatusReturningLogoutSuccessHandler
public HttpStatusReturningLogoutSuccessHandler(int status)
-
-
Method Details
-
onLogoutSuccess
public HttpServer.Response onLogoutSuccess(HttpServer.Request request, Authentication authentication) - Specified by:
onLogoutSuccessin interfaceLogoutSuccessHandler- Parameters:
authentication- who signed out; null when nobody was signed in
-