Package org.jboss.resteasy.utils
Class CookieUtil
java.lang.Object
org.jboss.resteasy.utils.CookieUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <S extends jakarta.ws.rs.core.Cookie>
StringTest utility to replace deprecated methodCookie.toString()
.static <S extends jakarta.ws.rs.core.Cookie>
STest utility to replace deprecated methodCookie.valueOf(String)
.
-
Constructor Details
-
CookieUtil
public CookieUtil()
-
-
Method Details
-
valueOf
Test utility to replace deprecated methodCookie.valueOf(String)
.- Parameters:
clazz
- the type of cookie you want to createvalue
- the string value of the cookie- Returns:
- the newly create cookie
-
toString
Test utility to replace deprecated methodCookie.toString()
.- Parameters:
clazz
- the type of cookie you being passed invalue
- the cookie- Returns:
- the string value of the cookie
-