Class: SessionHandler

vertx-web-js/session_handler~ SessionHandler

new SessionHandler()

Source:

Methods

handle(arg0)

Parameters:
Name Type Description
arg0 RoutingContext
Source:

setNagHttps(nag) → {SessionHandler}

Set whether a nagging log warning should be written if the session handler is accessed over HTTP, not HTTPS
Parameters:
Name Type Description
nag boolean true to nag
Source:
Returns:
a reference to this, so the API can be used fluently
Type
SessionHandler

setSessionCookieName(sessionCookieName) → {SessionHandler}

Set the session cookie name
Parameters:
Name Type Description
sessionCookieName string the session cookie name
Source:
Returns:
a reference to this, so the API can be used fluently
Type
SessionHandler

setSessionTimeout(timeout) → {SessionHandler}

Set the session timeout
Parameters:
Name Type Description
timeout number the timeout, in ms.
Source:
Returns:
a reference to this, so the API can be used fluently
Type
SessionHandler