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
Object |
clone()
|
boolean |
equals(Object arg0)
|
void |
finalize()
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
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.