Package io.micronaut.jaxrs.common
Class CookieHeaderDelegate
java.lang.Object
io.micronaut.jaxrs.common.CookieHeaderDelegate
- All Implemented Interfaces:
RuntimeDelegate.HeaderDelegate<Cookie>
@Internal
public final class CookieHeaderDelegate
extends Object
implements RuntimeDelegate.HeaderDelegate<Cookie>
Forked from RESTEasy.
- Author:
- Bill Burke
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromString
(String value) parseCookies
(String cookieHeader) Parse cookies from the header.
-
Constructor Details
-
CookieHeaderDelegate
public CookieHeaderDelegate()
-
-
Method Details
-
parseCookies
Parse cookies from the header.- Parameters:
cookieHeader
- The header- Returns:
- The list of cookies
-
fromString
- Specified by:
fromString
in interfaceRuntimeDelegate.HeaderDelegate<Cookie>
- Throws:
IllegalArgumentException
-
toString
- Specified by:
toString
in interfaceRuntimeDelegate.HeaderDelegate<Cookie>
-