Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public final class HttpStatusReturningLogoutSuccessHandler

  1. Object
  2. 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

request HttpServer.Request
Not documented.
authentication Authentication
who signed out; null when nobody was signed in