Deprecated
Use io. instead
// ExampleHttpResponseres = ...; res.setHeader("Set-Cookie",ServerCookieEncoder.encode("JSESSIONID", "1234"));
ServerCookieDecoder
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static String | |
| public static List | |
| public static List | Returns: the corresponding bunch of Set-Cookie headersa bunch of cookies cookies)
Deprecated
Batch encodes cookies into Set-Cookie header values.
|
| public static List |
| ServerCookieEncoder | back to summary |
|---|---|
| private ServerCookieEncoder() | |
| encode | back to summary |
|---|---|
| public static String encode(String name, String value)
Deprecated
Encodes the specified cookie name-value pair into a Set-Cookie header value.
| |
| encode | back to summary |
|---|---|
| public static String encode(Cookie cookie)
Deprecated
Encodes the specified cookie into a Set-Cookie header value. | |
| encode | back to summary |
|---|---|
| public static List Deprecated
Batch encodes cookies into Set-Cookie header values. | |
| encode | back to summary |
|---|---|
| public static List Deprecated
Batch encodes cookies into Set-Cookie header values.
| |
| encode | back to summary |
|---|---|
| public static List Deprecated
Batch encodes cookies into Set-Cookie header values. | |