@ThreadSafe public final class CookieHandlerX extends Object
Modifier and Type | Method and Description |
---|---|
static String |
newRequestHeader(URI requestURI,
Map<String,List<String>> requestHeaders,
CookieHandler handler)
Constructs a Cookie header value for a request.
|
public static String newRequestHeader(URI requestURI, Map<String,List<String>> requestHeaders, CookieHandler handler) throws IOException
requestHeaders
- a map of all other cookie-related request headers. It
will not be modified.IOException