Modifier and Type | Field and Description |
---|---|
private static ThreadLocal<com.sun.jersey.spi.container.ContainerRequest> |
threadLocalRequest |
private Map<String,String> |
values |
Modifier | Constructor and Description |
---|---|
private |
Cookies() |
private |
Cookies(Collection<javax.ws.rs.core.Cookie> cookies) |
Modifier and Type | Method and Description |
---|---|
static Cookies |
get() |
String |
get(String name)
Returns the value of the cookie for the given name, or throws an exception if no such cookie exists.
|
long |
getLong(String name)
Convenience method to access a long value of the cookie for the given name, or throws an exception
if no such cookie exists.
|
boolean |
has(String name)
Checks if there is a cookie with the given name.
|
static void |
set(com.sun.jersey.spi.container.ContainerRequest request) |
String |
toString() |
private static final ThreadLocal<com.sun.jersey.spi.container.ContainerRequest> threadLocalRequest
private Cookies()
private Cookies(Collection<javax.ws.rs.core.Cookie> cookies)
public String get(String name)
public long getLong(String name)
public static void set(com.sun.jersey.spi.container.ContainerRequest request)
Copyright © 2018. All Rights Reserved.