public final class TsMethods extends Object implements Takes
Takes.NotFoundException
Constructor and Description |
---|
TsMethods()
Ctor.
|
TsMethods(Map<String,Takes> tks)
Ctor.
|
public Take route(Request request) throws IOException
Takes
route
in interface Takes
request
- The request to dispatchIOException
- If failspublic TsMethods with(String mtd, Take take)
mtd
- Methodtake
- The takeCopyright © 2015 Takes. All rights reserved.