public class DefaultCookieManager extends Object implements CookieManager
Modifier and Type | Field and Description |
---|---|
private byte[] |
cookie
Control cookie.
|
Constructor and Description |
---|
DefaultCookieManager()
Creates a new default cookie manager.
|
DefaultCookieManager(byte[] b)
Creates a new default cookie manager.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
readCookie()
Read and return a cookie from storage.
|
void |
writeCookie(byte[] b)
Writes a cookie to storage.
|
public DefaultCookieManager()
public DefaultCookieManager(byte[] b)
b
- control cookiepublic byte[] readCookie()
CookieManager
readCookie
in interface CookieManager
public void writeCookie(byte[] b)
CookieManager
writeCookie
in interface CookieManager
b
- to writeCopyright © 2003-2019 Virginia Tech. All Rights Reserved.