public final class FkMethods extends Object implements Fork.AtTake
The class is immutable and thread-safe.
Fork.AtResponse, Fork.AtTake
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<Take>
req
- RequestIOException
- If failsCopyright © 2015 Takes. All rights reserved.