Package | Description |
---|---|
org.takes |
Takes Framework.
|
org.takes.facets.auth |
Auth.
|
org.takes.facets.fallback |
Fallback.
|
org.takes.facets.flash |
Flash.
|
org.takes.facets.forward |
Forward.
|
org.takes.tk |
Take.
|
org.takes.ts |
Takes.
|
org.takes.ts.fork |
Fork.
|
Modifier and Type | Method and Description |
---|---|
Take |
Takes.route(Request request)
Dispatch this request.
|
Modifier and Type | Method and Description |
---|---|
Take |
TsSecure.route(Request request) |
Take |
TsAuth.route(Request request) |
Modifier and Type | Class and Description |
---|---|
class |
TkFallback
Fallback.
|
Modifier and Type | Method and Description |
---|---|
Take |
TsFallback.route(Request request) |
Take |
Fallback.take(RqFallback req)
Get a take.
|
Constructor and Description |
---|
TkFallback(Take org,
Fallback fbk,
Request req)
Ctor.
|
TsFallback(Takes org,
Take fbk)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Take |
TsFlash.route(Request request) |
Modifier and Type | Class and Description |
---|---|
class |
TkForward
Redirect on exception.
|
Modifier and Type | Method and Description |
---|---|
Take |
TsForward.route(Request request) |
Constructor and Description |
---|
TkForward(Take take)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
TkEmpty
Empty take.
|
class |
TkFixed
Take with fixed response.
|
class |
TkHTML
HTML take.
|
class |
TkMeasured
Take that measures response printing time and adds HTTP header
"X-Takes-Millis" with the amount of milliseconds.
|
class |
TkRedirect
Take that redirects.
|
class |
TkText
Text take.
|
class |
TkWithCookie
Take that headers.
|
class |
TkWithHeaders
Take that headers.
|
class |
TkWithType
Plain text take.
|
class |
TkWrap
Wrap of take.
|
Constructor and Description |
---|
TkMeasured(Take take)
Ctor.
|
TkMeasured(Take take,
String header)
Ctor.
|
TkWithCookie(Take take,
String key,
String value)
Ctor.
|
TkWithHeaders(Take take)
Ctor.
|
TkWithHeaders(Take take,
Collection<String> hdrs)
Ctor.
|
TkWithHeaders(Take take,
String... hdrs)
Ctor.
|
TkWithType(Take take,
String type)
Ctor.
|
TkWrap(Take take)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Take |
TsWrap.route(Request request) |
Take |
TsClasspath.route(Request request) |
Take |
TsWithHeaders.route(Request request) |
Take |
TsEmpty.route(Request request) |
Constructor and Description |
---|
TsFixed(Take take)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Take |
TsFork.route(Request request) |
Take |
Target.route(T req)
Route this request.
|
Modifier and Type | Method and Description |
---|---|
Iterable<Take> |
FkMethods.route(Request req) |
Iterable<Take> |
Fork.route(Request req)
Process this request or ignore it.
|
Iterable<Take> |
FkParams.route(Request req) |
Iterable<Take> |
FkRegex.route(Request req) |
Constructor and Description |
---|
FkMethods(String mtd,
Take take)
Ctor.
|
FkParams(String param,
Pattern ptn,
Take take)
Ctor.
|
FkParams(String param,
String ptn,
Take take)
Ctor.
|
FkRegex(String ptn,
Take take)
Ctor.
|
Copyright © 2015 Takes. All rights reserved.