Uses of Interface
org.eclipse.jetty.http.HttpCookie
Package
Description
Jetty Server : Modular Servlet Integration
Jetty Http : Tools for Http processing
Jetty Server : Core Server API
Jetty Server : Session Management Implementations
-
Uses of HttpCookie in org.eclipse.jetty.client
-
Uses of HttpCookie in org.eclipse.jetty.client.transport
-
Uses of HttpCookie in org.eclipse.jetty.ee10.servlet
-
Uses of HttpCookie in org.eclipse.jetty.http
Modifier and TypeClassDescriptionstatic class
Immutable implementation ofHttpCookie
.static class
AHttpCookie
that wraps aHttpCookie
.static class
A wrapper forHttpCookie
instances.Modifier and TypeMethodDescriptionHttpCookie.Builder.build()
static HttpCookie
Creates a newHttpCookie
from the given name and value.static HttpCookie
Creates a newHttpCookie
from the given name, value, version and attributes.static HttpCookie
Creates a newHttpCookie
from the given name, value and attributes.static HttpCookie
HttpCookie.from
(HttpCookie httpCookie) Creates a newHttpCookie
copied from the givenHttpCookie
.static HttpCookie
HttpCookie.from
(HttpCookie cookie, String... additionalAttributes) HttpCookie.Wrapper.getWrapped()
Returns anHttpCookie
obtained by parsing the givenSet-Cookie
value.Modifier and TypeMethodDescriptionHttpCookieStore.all()
HttpCookieStore.Default.all()
HttpCookieStore.Empty.all()
CookieCache.getCookies
(HttpFields headers) Deprecated, for removal: This API element is subject to removal in a future version.CookieCache.getCookies
(HttpFields headers, ComplianceViolation.Listener complianceViolationListener) Deprecated, for removal: This API element is subject to removal in a future version.Returns the cookies that match the givenURI
.Modifier and TypeMethodDescriptionboolean
HttpCookieStore.add
(URI uri, HttpCookie cookie) Adds a cookie to this store, if possible.boolean
HttpCookieStore.Default.add
(URI uri, HttpCookie cookie) boolean
HttpCookieStore.Empty.add
(URI uri, HttpCookie cookie) static HttpCookie
HttpCookie.asJavaNetHttpCookie
(HttpCookie httpCookie) Converts aHttpCookie
to aHttpCookie
.static HttpCookie.Builder
HttpCookie.build
(HttpCookie httpCookie) Creates aHttpCookie.Builder
to build aHttpCookie
.static boolean
HttpCookie.equals
(HttpCookie cookie1, Object obj) Implementation ofObject.equals(Object)
compatible with RFC 6265.static HttpCookie
HttpCookie.from
(HttpCookie cookie, String... additionalAttributes) static int
HttpCookie.hashCode
(HttpCookie httpCookie) Implementation ofObject.hashCode()
compatible with RFC 6265.boolean
HttpCookieStore.Default.remove
(URI uri, HttpCookie cookie) boolean
HttpCookieStore.Empty.remove
(URI uri, HttpCookie cookie) boolean
HttpCookieStore.remove
(URI uri, HttpCookie cookie) Removes the cookie associated with the givenURI
.static String
HttpCookie.toString
(HttpCookie httpCookie) Formats this cookie into a string suitable to be used for logging.Modifier and TypeMethodDescriptionvoid
CookieCache.replaceCookieList
(List<HttpCookie> cookies) Deprecated, for removal: This API element is subject to removal in a future version.Replace the cookie list with -
Uses of HttpCookie in org.eclipse.jetty.server
Modifier and TypeMethodDescriptionstatic HttpCookie
HttpCookieUtils.checkSameSite
(HttpCookie cookie, Attributes attributes) Check that samesite is set on the cookie.CookieCache.get
(int index) HttpCookieUtils.SetCookieHttpField.getHttpCookie()
Modifier and TypeMethodDescriptionstatic List<HttpCookie>
CookieCache.getCookies
(Request request) Get the core HttpCookies for a request.static List<HttpCookie>
Request.getCookies
(Request request) Modifier and TypeMethodDescriptionstatic void
Response.addCookie
(Response response, HttpCookie cookie) Adds an HTTPHttpHeader.SET_COOKIE
header to the response.static HttpCookie
HttpCookieUtils.checkSameSite
(HttpCookie cookie, Attributes attributes) Check that samesite is set on the cookie.static String
HttpCookieUtils.getRFC2965SetCookie
(HttpCookie httpCookie) static String
HttpCookieUtils.getRFC6265SetCookie
(HttpCookie httpCookie) static String
HttpCookieUtils.getSetCookie
(HttpCookie httpCookie, CookieCompliance compliance) static boolean
HttpCookieUtils.match
(HttpCookie cookie, String name, String domain, String path) Check if the HttpCookie is for the given name, domain and path.static void
Response.putCookie
(Response response, HttpCookie cookie) Put a HTTPHttpHeader.SET_COOKIE
header to the response.static void
Response.replaceCookie
(Response response, HttpCookie cookie) Deprecated.Modifier and TypeMethodDescription<C> C[]
CookieCache.getApiCookies
(Class<C> apiClass, Function<HttpCookie, C> convertor) static <C> C[]
CookieCache.getApiCookies
(Request request, Class<C> cookieClass, Function<HttpCookie, C> convertor) Get the API specific cookies for a request. -
Uses of HttpCookie in org.eclipse.jetty.session
Modifier and TypeMethodDescriptionAbstractSessionManager.access
(ManagedSession session, boolean secure) Called when a session is first accessed by request processing.ManagedSession.generateSetCookie
(String name, Map<String, String> attributes) AbstractSessionManager.getSessionCookie
(ManagedSession session, boolean requestIsSecure) A session cookie is marked as secure IFF any of the following conditions are true: SessionCookieConfig.setSecure == true SessionCookieConfig.setSecure == false && _secureRequestOnly==true && request is HTTPS According to SessionCookieConfig javadoc, case 1 can be used when: "...SessionManager.getSessionCookie
(ManagedSession session, boolean requestIsSecure) -
Uses of HttpCookie in org.eclipse.jetty.websocket.core.client
Response.putCookie(Response, HttpCookie)