Class CookieHandler
java.lang.Object
org.eclipse.rdf4j.workbench.proxy.CookieHandler
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
CookieHandler
(String maxAge) protected
CookieHandler
(javax.servlet.ServletConfig config) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addNewCookie
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String name, String value) protected String
getCookie
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String name) protected String
getCookieNullIfEmpty
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String name)
-
Field Details
-
COOKIE_AGE_PARAM
- See Also:
-
-
Constructor Details
-
CookieHandler
-
CookieHandler
protected CookieHandler(javax.servlet.ServletConfig config)
-
-
Method Details
-
getCookieNullIfEmpty
-
getCookie
-
addNewCookie
-
getMaxAge
- Returns:
- the maximum age allowed for cookies
-