Uses of Interface
org.eclipse.jetty.http.HttpCookie
Packages that use HttpCookie
Package
Description
Jetty Server : Modular Servlet Integration
Jetty Server : Core Handler API
Jetty Server : Core Handler API
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.ee8.nested
Classes in org.eclipse.jetty.ee8.nested that implement HttpCookieMethods in org.eclipse.jetty.ee8.nested with parameters of type HttpCookieModifier and TypeMethodDescriptionvoidResponse.addCookie(HttpCookie cookie) voidResponse.replaceCookie(HttpCookie cookie) Replace (or add) a cookie. -
Uses of HttpCookie in org.eclipse.jetty.ee9.nested
Classes in org.eclipse.jetty.ee9.nested that implement HttpCookieMethods in org.eclipse.jetty.ee9.nested with parameters of type HttpCookieModifier and TypeMethodDescriptionvoidResponse.addCookie(HttpCookie cookie) voidResponse.replaceCookie(HttpCookie cookie) Replace (or add) a cookie. -
Uses of HttpCookie in org.eclipse.jetty.http
Classes in org.eclipse.jetty.http that implement HttpCookieModifier and TypeClassDescriptionstatic classImmutable implementation ofHttpCookie.static classAHttpCookiethat wraps aHttpCookie.static classA wrapper forHttpCookieinstances.Methods in org.eclipse.jetty.http that return HttpCookieModifier and TypeMethodDescriptionHttpCookie.Builder.build()static HttpCookieCreates a newHttpCookiefrom the given name and value.static HttpCookieCreates a newHttpCookiefrom the given name, value, version and attributes.static HttpCookieCreates a newHttpCookiefrom the given name, value and attributes.static HttpCookieHttpCookie.from(HttpCookie httpCookie) Creates a newHttpCookiecopied from the givenHttpCookie.static HttpCookieHttpCookie.from(HttpCookie cookie, String... additionalAttributes) HttpCookie.Wrapper.getWrapped()Returns anHttpCookieobtained by parsing the givenSet-Cookievalue.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 TypeMethodDescriptionbooleanHttpCookieStore.add(URI uri, HttpCookie cookie) Adds a cookie to this store, if possible.booleanHttpCookieStore.Default.add(URI uri, HttpCookie cookie) booleanHttpCookieStore.Empty.add(URI uri, HttpCookie cookie) static HttpCookieHttpCookie.asJavaNetHttpCookie(HttpCookie httpCookie) Converts aHttpCookieto aHttpCookie.static HttpCookie.BuilderHttpCookie.build(HttpCookie httpCookie) Creates aHttpCookie.Builderto build aHttpCookie.static booleanHttpCookie.equals(HttpCookie cookie1, Object obj) Implementation ofObject.equals(Object)compatible with RFC 6265.static HttpCookieHttpCookie.from(HttpCookie cookie, String... additionalAttributes) static intHttpCookie.hashCode(HttpCookie httpCookie) Implementation ofObject.hashCode()compatible with RFC 6265.booleanHttpCookieStore.Default.remove(URI uri, HttpCookie cookie) booleanHttpCookieStore.Empty.remove(URI uri, HttpCookie cookie) booleanHttpCookieStore.remove(URI uri, HttpCookie cookie) Removes the cookie associated with the givenURI.static StringHttpCookie.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 TypeMethodDescriptionvoidCookieCache.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
Subclasses with type arguments of type HttpCookie in org.eclipse.jetty.serverMethods in org.eclipse.jetty.server that return HttpCookieModifier and TypeMethodDescriptionstatic HttpCookieHttpCookieUtils.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 voidResponse.addCookie(Response response, HttpCookie cookie) Adds an HTTPHttpHeader.SET_COOKIEheader to the response.static HttpCookieHttpCookieUtils.checkSameSite(HttpCookie cookie, Attributes attributes) Check that samesite is set on the cookie.static StringHttpCookieUtils.getRFC2965SetCookie(HttpCookie httpCookie) static StringHttpCookieUtils.getRFC6265SetCookie(HttpCookie httpCookie) static StringHttpCookieUtils.getSetCookie(HttpCookie httpCookie, CookieCompliance compliance) static booleanHttpCookieUtils.match(HttpCookie cookie, String name, String domain, String path) Check if the HttpCookie is for the given name, domain and path.static voidResponse.putCookie(Response response, HttpCookie cookie) Put a HTTPHttpHeader.SET_COOKIEheader to the response.static voidResponse.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: "... even though the request that initiated the session came over HTTP, is to support a topology where the web container is front-ended by an SSL offloading load balancer.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)