Class ClientCookieStore
java.lang.Object
com.sun.enterprise.admin.cli.remote.ClientCookieStore
- All Implemented Interfaces:
CookieStore
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(URI uri, HttpCookie cookie) getURIs()voidload()Load the persisted cookies into the CookieStore.booleanremove(URI uri, HttpCookie cookie) booleanvoidstore()Store the cookies in the CookieStore to the provided location.boolean
-
Field Details
-
uri
-
-
Constructor Details
-
ClientCookieStore
-
-
Method Details
-
add
- Specified by:
addin interfaceCookieStore
-
get
- Specified by:
getin interfaceCookieStore
-
getCookies
- Specified by:
getCookiesin interfaceCookieStore
-
getURIs
- Specified by:
getURIsin interfaceCookieStore
-
remove
- Specified by:
removein interfaceCookieStore
-
removeAll
public boolean removeAll()- Specified by:
removeAllin interfaceCookieStore
-
getStaticURI
-
load
Load the persisted cookies into the CookieStore. The store has this schema: COOKIE1=xxx; ... COOKIE2=yyy; ...- Throws:
IOException
-
store
Store the cookies in the CookieStore to the provided location. This method will overwrite the contents of the target file.- Throws:
IOException
-
touchStore
public boolean touchStore()
-