public final class PsCookie extends Object implements Pass
The class is immutable and thread-safe.
Constructor and Description |
---|
PsCookie(Codec cdc)
Ctor.
|
PsCookie(Codec cdc,
String name)
Ctor.
|
PsCookie(Codec cdc,
String name,
long sec)
Ctor.
|
public PsCookie(Codec cdc)
cdc
- Codecpublic Opt<Identity> enter(Request req) throws IOException
Pass
enter
in interface Pass
req
- The requestIOException
- If failspublic Response exit(Response res, Identity idt) throws IOException
Pass
exit
in interface Pass
res
- Responseidt
- IdentityIOException
- If failsCopyright © 2015 Take. All rights reserved.