public final class FkMethods extends Object implements Fork
The class is immutable and thread-safe.
public FkMethods(String mtd, Target<Request> tgt)
mtd
- Methodtgt
- Takespublic FkMethods(Collection<String> mtds, Target<Request> tgt)
mtds
- Methodstgt
- Takespublic Iterable<Take> route(Request req) throws IOException
Fork
route
in interface Fork
req
- RequestIOException
- If failsCopyright © 2015 Takes. All rights reserved.