-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Description
Rossen Stoyanchev opened SPR-14160 and commented
Provide common abstraction for access to HTTP cookies to avoid direct dependency on underlying runtime APIs (Servlet 3.1, Reactor IO, RxNetty, Undertow) for the same. The abstractions should clearly separate HttpCookie
(a basic name-value pair) from a ResponseCookie
(the cookie sent in a server response with additional policy attributes).
To reflect the asymmetry of HttpCookie
(sent by clients and received by servers) vs ResponseCookie
(sent by servers and received clients) it may be best to expose them through the client and server HTTP request and response. Furthermore that reflects the fact we are not directly parsing cookie headers but rather adapting to underlying client and server cookie-related APIs. In turn, HttpEntity
and ResponseEntity
will also need to expose cookie information.
Affects: 4.2.5