Class CookieHeaderDelegate
java.lang.Object
io.micronaut.jaxrs.runtime.ext.impl.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
-
fromString
- Specified by:
fromString
in interfaceRuntimeDelegate.HeaderDelegate<Cookie>
- Throws:
IllegalArgumentException
-
toString
- Specified by:
toString
in interfaceRuntimeDelegate.HeaderDelegate<Cookie>
-
parseCookies
Parse cookies from the header.- Parameters:
cookieHeader
- The header- Returns:
- The list of cookies
-