| Package | Description |
|---|---|
| com.linecorp.armeria.common |
Common types.
|
| Modifier and Type | Method and Description |
|---|---|
Cookie |
CookieBuilder.build()
Returns a newly created
Cookie with the properties set so far. |
static Cookie |
Cookie.fromSetCookieHeader(boolean strict,
String setCookieHeader)
Decodes the specified
"Set-Cookie" header value into a Cookie. |
static Cookie |
Cookie.fromSetCookieHeader(String setCookieHeader)
Decodes the specified
"Set-Cookie" header value into a Cookie. |
static Cookie |
Cookie.of(String name,
String value)
Returns a newly created
Cookie. |
default Cookie |
Cookie.withMutations(Consumer<CookieBuilder> mutator)
|
| Modifier and Type | Method and Description |
|---|---|
default int |
Cookie.compareTo(Cookie c) |
static Cookies |
Cookies.of(Cookie... cookies)
Creates an instance with a copy of the specified set of
Cookies. |
static String |
Cookie.toCookieHeader(boolean strict,
Cookie... cookies)
Encodes the specified
Cookies into a "Cookie" header value. |
static String |
Cookie.toCookieHeader(Cookie... cookies)
Encodes the specified
Cookies into a "Cookie" header value. |
static List<String> |
Cookie.toSetCookieHeaders(boolean strict,
Cookie... cookies)
Encodes the specified
Cookies into "Set-Cookie" header values. |
static List<String> |
Cookie.toSetCookieHeaders(Cookie... cookies)
Encodes the specified
Cookies into "Set-Cookie" header values. |
| Modifier and Type | Method and Description |
|---|---|
static Cookies |
Cookies.copyOf(Iterable<? extends Cookie> cookies)
Deprecated.
Use
Cookies.of(Iterable). |
static Cookies |
Cookies.of(Iterable<? extends Cookie> cookies)
Creates an instance with a copy of the specified set of
Cookies. |
static String |
Cookie.toCookieHeader(boolean strict,
Collection<? extends Cookie> cookies)
Encodes the specified
Cookies into a "Cookie" header value. |
static String |
Cookie.toCookieHeader(boolean strict,
Iterable<? extends Cookie> cookies)
Encodes the specified
Cookies into a "Cookie" header value. |
static String |
Cookie.toCookieHeader(Collection<? extends Cookie> cookies)
Encodes the specified
Cookies into a "Cookie" header value. |
static String |
Cookie.toCookieHeader(Iterable<? extends Cookie> cookies)
Encodes the specified
Cookies into a "Cookie" header value. |
static List<String> |
Cookie.toSetCookieHeaders(boolean strict,
Collection<? extends Cookie> cookies)
Encodes the specified
Cookies into "Set-Cookie" header values. |
static List<String> |
Cookie.toSetCookieHeaders(boolean strict,
Iterable<? extends Cookie> cookies)
Encodes the specified
Cookies into "Set-Cookie" header values. |
static List<String> |
Cookie.toSetCookieHeaders(Collection<? extends Cookie> cookies)
Encodes the specified
Cookies into "Set-Cookie" header values. |
static List<String> |
Cookie.toSetCookieHeaders(Iterable<? extends Cookie> cookies)
Encodes the specified
Cookies into "Set-Cookie" header values. |
Copyright © 2020 LeanCloud. All rights reserved.