SessionCookieOptions.Builder

public static class SessionCookieOptions.Builder extends Object

Public Method Summary

SessionCookieOptions
build()
Creates a new SessionCookieOptions instance.
SessionCookieOptions.Builder
setExpiresIn(long expiresInMillis)
Sets the duration until the cookie is expired in milliseconds.

Inherited Method Summary

Public Methods

public SessionCookieOptions build ()

Creates a new SessionCookieOptions instance.

public SessionCookieOptions.Builder setExpiresIn (long expiresInMillis)

Sets the duration until the cookie is expired in milliseconds. Must be between 5 minutes and 14 days.

Parameters
expiresInMillis Time duration in milliseconds.
Returns
  • This builder.

Send feedback about...

Need help? Visit our support page.