Uses of Interface
org.eclipse.jetty.http.HttpCookie
Packages that use 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
Methods in org.eclipse.jetty.client that return types with arguments of type HttpCookieMethods in org.eclipse.jetty.client with parameters of type HttpCookie -
Uses of HttpCookie in org.eclipse.jetty.client.transport
Methods in org.eclipse.jetty.client.transport that return types with arguments of type HttpCookieMethods in org.eclipse.jetty.client.transport with parameters of type HttpCookie -
Uses of HttpCookie in org.eclipse.jetty.ee10.servlet
Methods in org.eclipse.jetty.ee10.servlet with parameters of type HttpCookie -
Uses of HttpCookie in org.eclipse.jetty.http
Classes in org.eclipse.jetty.http that implement HttpCookieModifier and TypeClassDescriptionstatic class
Immutable implementation ofHttpCookie
.static class
AHttpCookie
that wraps aHttpCookie
.static class
A wrapper forHttpCookie
instances.Methods in org.eclipse.jetty.http that return HttpCookieModifier 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.Methods in org.eclipse.jetty.http that return types with arguments of type HttpCookieModifier 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
.Methods in org.eclipse.jetty.http with parameters of type HttpCookieModifier 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.Method parameters in org.eclipse.jetty.http with type arguments of type HttpCookieModifier 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 withConstructors in org.eclipse.jetty.http with parameters of type HttpCookie -
Uses of HttpCookie in org.eclipse.jetty.server
Methods in org.eclipse.jetty.server that return HttpCookieModifier and TypeMethodDescriptionstatic HttpCookie
HttpCookieUtils.checkSameSite
(HttpCookie cookie, Attributes attributes) Check that samesite is set on the cookie.CookieCache.get
(int index) HttpCookieUtils.SetCookieHttpField.getHttpCookie()
Methods in org.eclipse.jetty.server that return types with arguments of type HttpCookieModifier and TypeMethodDescriptionstatic List<HttpCookie>
CookieCache.getCookies
(Request request) Get the core HttpCookies for a request.static List<HttpCookie>
Request.getCookies
(Request request) Methods in org.eclipse.jetty.server with parameters of type HttpCookieModifier 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.Method parameters in org.eclipse.jetty.server with type arguments of type HttpCookieModifier 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.Constructors in org.eclipse.jetty.server with parameters of type HttpCookie -
Uses of HttpCookie in org.eclipse.jetty.session
Methods in org.eclipse.jetty.session that return HttpCookieModifier 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
Methods in org.eclipse.jetty.websocket.core.client that return types with arguments of type HttpCookie
Response.putCookie(Response, HttpCookie)