public final class PsChain extends Object implements Pass
The class is immutable and thread-safe.
Constructor and Description |
---|
PsChain(Iterable<Pass> list)
Ctor.
|
PsChain(Pass... list)
Ctor.
|
public PsChain(Pass... list)
list
- Passespublic Opt<Identity> enter(Request req) throws IOException
Pass
enter
in interface Pass
req
- The requestIOException
- If failspublic Response exit(Response response, Identity identity) throws IOException
Pass
exit
in interface Pass
response
- Responseidentity
- IdentityIOException
- If failsCopyright © 2015 Take. All rights reserved.