Package | Description |
---|---|
org.takes.facets.auth |
Auth.
|
org.takes.facets.fallback |
Fallback.
|
org.takes.facets.flash |
Flash messages.
|
org.takes.facets.fork |
Fork.
|
org.takes.facets.forward |
Forward.
|
org.takes.facets.ret |
Returns.
|
org.takes.http |
HTTP server.
|
org.takes.tk |
Take.
|
Modifier and Type | Class and Description |
---|---|
class |
TkAuth
Authenticating take.
|
class |
TkSecure
Take available for authenticated users.
|
Constructor and Description |
---|
TkAuth(Take take,
Pass pss)
Ctor.
|
TkAuth(Take take,
Pass pss,
String hdr)
Ctor.
|
TkSecure(Take take)
Ctor.
|
TkSecure(Take take,
String location)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
TkFallback
Fallback.
|
Constructor and Description |
---|
FbFixed(Take take)
Ctor.
|
FbStatus(int code,
Take take)
Ctor.
|
TkFallback(Take take,
Fallback fbk)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
TkFlash
Take that understands Flash cookie and converts it into a HTTP header.
|
Constructor and Description |
---|
TkFlash(Take take)
Ctor.
|
TkFlash(Take take,
String name)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
TkConsumes
Take that acts on request with specified "Content-Type" HTTP headers only.
|
class |
TkFork
Fork take.
|
class |
TkMethods
Take that acts on request with specified methods only.
|
class |
TkProduces
Take that acts on request with specified "Accept" HTTP headers only.
|
static class |
TkRegex.Fake
|
Constructor and Description |
---|
FkAgent(Take take,
AgentMatch match)
Ctor.
|
FkAnonymous(Take tke)
Ctor.
|
FkAuthenticated(Take tke)
Ctor.
|
FkContentType(String atype,
Take take)
Ctor.
|
FkFixed(Take take)
Ctor.
|
FkHitRefresh(File file,
List<String> cmd,
Take tke)
Ctor.
|
FkHitRefresh(File file,
Runnable cmd,
Take tke)
Ctor.
|
FkHitRefresh(File file,
String cmd,
Take tke)
Ctor.
|
FkHost(String host,
Take take)
Ctor.
|
FkMethods(Collection<String> mtds,
Take tke)
Ctor.
|
FkMethods(String mtd,
Take tke)
Ctor.
|
FkParams(String param,
Pattern ptn,
Take tke)
Ctor.
|
FkParams(String param,
String ptn,
Take tke)
Ctor.
|
FkRegex(Pattern ptn,
Take tke)
Ctor.
|
FkRegex(String ptn,
Take tke)
Ctor.
|
FkTypes(String list,
Take tke)
Ctor.
|
TkConsumes(Take take,
String type)
Ctor.
|
TkMethods(Take take,
String... methods)
Ctor.
|
TkProduces(Take take,
String types)
Ctor.
|
Constructor and Description |
---|
FkAnonymous(Scalar<Take> tke)
Ctor.
|
FkAuthenticated(Scalar<Take> tke)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
TkForward
Redirect on exception.
|
Constructor and Description |
---|
TkForward(Take take)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
TkReturn
Take that understands Return cookie.
|
Constructor and Description |
---|
TkReturn(Take take)
Ctor.
|
TkReturn(Take take,
String name)
Ctor.
|
Constructor and Description |
---|
BkBasic(Take tks)
Ctor.
|
FtBasic(Take tks)
Ctor.
|
FtBasic(Take tks,
int prt)
Ctor.
|
FtCli(Take tks,
Iterable<String> args)
Ctor.
|
FtCli(Take tks,
String... args)
Ctor.
|
FtRemote(Take tks)
Ctor.
|
FtSecure(Take tks)
Ctor.
|
FtSecure(Take tks,
int prt)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
TkClasspath
Take reading resources from classpath.
|
class |
TkCors
CORS take.
|
class |
TkEmpty
Empty take.
|
class |
TkFailure
Take that always fails.
|
class |
TkFiles
Take reading resources from directory.
|
class |
TkFixed
Take with fixed response.
|
class |
TkGreedy
Take with a greedy request.
|
class |
TkGzip
Take that compresses responses with GZIP.
|
class |
TkHtml
HTML take.
|
class |
TkMeasured
Take that measures response printing time and adds HTTP header
"X-Take-Millis" with the amount of milliseconds.
|
class |
TkOnce
Take with a read-only-once request.
|
class |
TkProxy
Take that proxies requests to another destination.
|
class |
TkReadAlways
A Take decorator which reads and ignores the request body.
|
class |
TkRedirect
Take that redirects.
|
class |
TkRetry
Decorator TkRetry, which will not fail immediately on IOException, but
will retry a few times.
|
class |
TkSlf4j
Logs Take.act() calls.
|
class |
TkSmartRedirect
Take that redirects, passing all query arguments and the fragment through.
|
class |
TkSslOnly
Take that redirects to HTTPS if it's HTTP.
|
class |
TkText
Text take.
|
class |
TkVerbose
Take that makes all not-found exceptions location aware.
|
class |
TkVersioned
Take that adds an HTTP header to each response with a version
of Take framework.
|
class |
TkWithCookie
Take that headers.
|
class |
TkWithHeader
Take with an extra header.
|
class |
TkWithHeaders
Take that headers.
|
class |
TkWithType
Plain text take.
|
class |
TkWrap
Wrap of take.
|
Constructor and Description |
---|
TkCors(Take take,
String... domains)
Ctor.
|
TkGreedy(Take take)
Ctor.
|
TkGzip(Take take)
Ctor.
|
TkMeasured(Take take)
Ctor.
|
TkMeasured(Take take,
String header)
Ctor.
|
TkOnce(Take take)
Ctor.
|
TkReadAlways(Take take)
Ctor.
|
TkRetry(int retries,
int wait,
Take original)
Constructor.
|
TkSlf4j(Take take)
Ctor.
|
TkSlf4j(Take take,
Class<?> tgt)
Ctor.
|
TkSlf4j(Take take,
String tgt)
Ctor.
|
TkSslOnly(Take take)
Ctor.
|
TkVerbose(Take take)
Ctor.
|
TkVersioned(Take take)
Ctor.
|
TkVersioned(Take take,
String header)
Ctor.
|
TkWithCookie(Take take,
String key,
String value)
Ctor.
|
TkWithHeader(Take take,
String header)
Ctor.
|
TkWithHeader(Take take,
String key,
String value)
Ctor.
|
TkWithHeaders(Take take,
Collection<String> headers)
Ctor.
|
TkWithHeaders(Take take,
String... headers)
Ctor.
|
TkWithType(Take take,
String type)
Ctor.
|
TkWrap(Take take)
Ctor.
|
Copyright © 2015–2018 Take. All rights reserved.