public class PsAll extends Object implements Pass
Constructor and Description |
---|
PsAll(List<? extends Pass> passes,
int identity)
Ctor.
|
public PsAll(List<? extends Pass> passes, int identity)
passes
- All Passes to be checked.identity
- Index of a Pass whose Identity to return on successful
enter(Request)
public final Opt<Identity> enter(Request request) throws IOException
Pass
enter
in interface Pass
request
- The requestIOException
- If failspublic final Response exit(Response response, Identity identity) throws IOException
Pass
exit
in interface Pass
response
- Responseidentity
- IdentityIOException
- If failsCopyright © 2015–2016 Take. All rights reserved.