Package | Description |
---|---|
org.takes |
Take, Java web development framework.
|
org.takes.facets.auth |
Auth.
|
org.takes.facets.auth.social |
Social authenticators.
|
org.takes.facets.fallback |
Fallback.
|
org.takes.facets.flash |
Flash messages.
|
org.takes.facets.fork |
Fork.
|
org.takes.facets.forward |
Forward.
|
org.takes.facets.slf4j |
Slf4j.
|
org.takes.rs |
Responses.
|
org.takes.rs.xe |
Xembly responses.
|
org.takes.tk |
Take.
|
Modifier and Type | Method and Description |
---|---|
Response |
Take.act(Request req)
Convert request to response.
|
Modifier and Type | Class and Description |
---|---|
class |
RsLogout
Logout response.
|
Modifier and Type | Method and Description |
---|---|
Response |
TkAuth.act(Request request) |
Response |
TkSecure.act(Request request) |
Response |
PsCookie.exit(Response res,
Identity idt) |
Response |
PsFake.exit(Response response,
Identity identity) |
Response |
Pass.exit(Response response,
Identity identity)
Wrap the response with the user.
|
Response |
PsEmpty.exit(Response response,
Identity identity) |
Response |
PsChain.exit(Response response,
Identity identity) |
Response |
PsLogout.exit(Response response,
Identity identity) |
Response |
PsByFlag.exit(Response response,
Identity identity) |
Response |
PsFixed.exit(Response response,
Identity identity) |
Modifier and Type | Method and Description |
---|---|
Response |
PsCookie.exit(Response res,
Identity idt) |
Response |
PsFake.exit(Response response,
Identity identity) |
Response |
Pass.exit(Response response,
Identity identity)
Wrap the response with the user.
|
Response |
PsEmpty.exit(Response response,
Identity identity) |
Response |
PsChain.exit(Response response,
Identity identity) |
Response |
PsLogout.exit(Response response,
Identity identity) |
Response |
PsByFlag.exit(Response response,
Identity identity) |
Response |
PsFixed.exit(Response response,
Identity identity) |
Constructor and Description |
---|
RsLogout(Response res)
Ctor.
|
RsLogout(Response res,
String cookie)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Response |
PsLinkedin.exit(Response response,
Identity identity) |
Response |
PsGithub.exit(Response response,
Identity identity) |
Response |
PsGoogle.exit(Response response,
Identity identity) |
Response |
PsFacebook.exit(Response response,
Identity identity) |
Modifier and Type | Method and Description |
---|---|
Response |
PsLinkedin.exit(Response response,
Identity identity) |
Response |
PsGithub.exit(Response response,
Identity identity) |
Response |
PsGoogle.exit(Response response,
Identity identity) |
Response |
PsFacebook.exit(Response response,
Identity identity) |
Modifier and Type | Method and Description |
---|---|
Iterator<Response> |
FbWrap.route(RqFallback req) |
Iterator<Response> |
Fallback.route(RqFallback req)
Dispatch this request and either swallow it or ignore.
|
Constructor and Description |
---|
FbFixed(Response response)
Ctor.
|
FbStatus(int code,
Response response)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
RsFlash
Forwarding response.
|
Modifier and Type | Method and Description |
---|---|
Response |
TkFlash.act(Request request) |
Modifier and Type | Class and Description |
---|---|
class |
RsFork
Response based on forks.
|
Modifier and Type | Method and Description |
---|---|
Response |
TkFork.act(Request request) |
Response |
TkRegex.act(RqRegex req)
Route this request.
|
Modifier and Type | Method and Description |
---|---|
Opt<Response> |
FkMethods.route(Request req) |
Opt<Response> |
Fork.route(Request req)
Process this request or ignore it.
|
Opt<Response> |
FkParams.route(Request req) |
Opt<Response> |
FkRegex.route(Request req) |
Opt<Response> |
FkEncoding.route(Request req) |
Opt<Response> |
FkAnonymous.route(Request req) |
Opt<Response> |
FkHitRefresh.route(Request req) |
Opt<Response> |
FkTypes.route(Request req) |
Opt<Response> |
FkWrap.route(Request req) |
Opt<Response> |
FkAuthenticated.route(Request req) |
Constructor and Description |
---|
FkEncoding(String enc,
Response response)
Ctor.
|
FkTypes(String list,
Response response)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
RsForward
Forwarding response.
|
Modifier and Type | Method and Description |
---|---|
Response |
TkForward.act(Request req) |
Constructor and Description |
---|
RsForward(Response res)
Ctor.
|
RsForward(Response res,
CharSequence loc)
Ctor.
|
RsForward(Response res,
int code,
CharSequence loc)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Response |
TkLogged.act(Request req) |
Modifier and Type | Class and Description |
---|---|
class |
RsEmpty
Empty response.
|
class |
RsFluent
Fluent response.
|
class |
RsGzip
Response compressed with GZIP, according to RFC 1952.
|
class |
RsHTML
HTML response decorator.
|
class |
RsJSON
Response that converts Java object to JSON.
|
class |
RsPrint
Response decorator that can print an entire response in HTTP format.
|
class |
RsRedirect
Redirect.
|
class |
RsText
Plain text response decorator.
|
class |
RsVelocity
Response that converts Velocity template to text.
|
class |
RsWithBody
Response decorator, with body.
|
class |
RsWithCookie
Response decorator, with an additional cookie.
|
class |
RsWithHeader
Response decorator, with an additional header.
|
class |
RsWithHeaders
Response decorator, with an additional headers.
|
class |
RsWithoutHeader
Response decorator, without a header.
|
class |
RsWithStatus
Response decorator, with status code.
|
class |
RsWithType
Response decorator, with content type.
|
class |
RsWrap
Response decorator.
|
class |
RsXSLT
Response that converts XML into HTML using attached XSL stylesheet.
|
Modifier and Type | Class and Description |
---|---|
class |
RsXembly
Response that converts Xembly object to XML.
|
Modifier and Type | Method and Description |
---|---|
Response |
TkEmpty.act(Request req) |
Response |
TkWrap.act(Request req) |
Constructor and Description |
---|
TkFixed(Response res)
Ctor.
|
Copyright © 2015 Take. All rights reserved.