public final class WebSessionCookieConfig extends SessionCookieConfigImpl
| Modifier and Type | Class and Description |
|---|---|
static class |
WebSessionCookieConfig.CookieSecureType |
| Constructor and Description |
|---|
WebSessionCookieConfig(StandardContext context) |
| Modifier and Type | Method and Description |
|---|---|
WebSessionCookieConfig.CookieSecureType |
getSecure() |
void |
setSecure(boolean secure) |
void |
setSecure(String secure) |
getComment, getDomain, getMaxAge, getName, getPath, isHttpOnly, isSecure, setComment, setDomain, setHttpOnly, setMaxAge, setName, setPathpublic WebSessionCookieConfig(StandardContext context)
public void setSecure(boolean secure)
setSecure in interface javax.servlet.SessionCookieConfigsetSecure in class SessionCookieConfigImplsecure - true if the session tracking cookies created on
behalf of the ServletContext from which this
SessionCookieConfig was acquired shall be marked as
secure even if the request that initiated the corresponding
session is using plain HTTP instead of HTTPS, and false if they
shall be marked as secure only if the request that initiated
the corresponding session was also securepublic void setSecure(String secure)
public WebSessionCookieConfig.CookieSecureType getSecure()
Copyright © 2019. All rights reserved.