Package org.takes.facets.cookies
Class TkJoinedCookies
- java.lang.Object
-
- org.takes.tk.TkWrap
-
- org.takes.facets.cookies.TkJoinedCookies
-
- All Implemented Interfaces:
Take
public final class TkJoinedCookies extends TkWrap
Set-Cookie headers will be joined.This may be useful for some browsers. When you drop a few cookies, the RFC-6265 requires them to be joined in one Set-Cookie header. However, most browsers don't support that. They want to see separate headers. This class may be useful, but in some very specific cases.
The class is immutable and thread-safe.
- Since:
- 0.11
-
-
Constructor Detail
-
TkJoinedCookies
public TkJoinedCookies(Take take)
Ctor.- Parameters:
take
- The take to wrap
-
-