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.rq |
Requests.
|
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 |
RqAuth
Request with auth information.
|
Modifier and Type | Method and Description |
---|---|
Response |
TkAuth.act(Request request) |
Response |
TkSecure.act(Request request) |
Iterator<Identity> |
PsCookie.enter(Request req) |
Iterator<Identity> |
PsFake.enter(Request request) |
Iterator<Identity> |
Pass.enter(Request request)
Authenticate the user by the request.
|
Iterator<Identity> |
PsChain.enter(Request req) |
Iterator<Identity> |
PsLogout.enter(Request request) |
Iterator<Identity> |
PsByFlag.enter(Request req) |
Iterator<Identity> |
PsFixed.enter(Request request) |
Constructor and Description |
---|
RqAuth(Request request)
Ctor.
|
RqAuth(Request request,
String hdr)
Ctor.
|
XeIdentity(Request req)
Ctor.
|
XeLogoutLink(Request req)
Ctor.
|
XeLogoutLink(Request req,
String rel,
String flag)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Identity> |
PsLinkedin.enter(Request request) |
Iterator<Identity> |
PsGithub.enter(Request request) |
Iterator<Identity> |
PsGoogle.enter(Request request) |
Iterator<Identity> |
PsFacebook.enter(Request request) |
Constructor and Description |
---|
XeFacebookLink(Request req,
String app)
Ctor.
|
XeFacebookLink(Request req,
String app,
String rel,
String flag)
Ctor.
|
XeGithubLink(Request req,
String app)
Ctor.
|
XeGithubLink(Request req,
String app,
String rel,
String flag)
Ctor.
|
XeGoogleLink(Request req,
String app)
Ctor.
|
XeGoogleLink(Request req,
String app,
String rel,
String flag)
Ctor.
|
Modifier and Type | Interface and Description |
---|---|
interface |
RqFallback
Request with an error inside.
|
Modifier and Type | Class and Description |
---|---|
static class |
RqFallback.Fake
Fake implementation, for unit tests mostly.
|
Constructor and Description |
---|
RqFallback.Fake(Request req,
int code,
Throwable error)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Response |
TkFlash.act(Request request) |
Constructor and Description |
---|
XeFlash(Request request)
Ctor.
|
XeFlash(Request request,
String name)
Ctor.
|
Modifier and Type | Interface and Description |
---|---|
interface |
RqRegex
Request with a matcher of URI.
|
Modifier and Type | Class and Description |
---|---|
static class |
RqRegex.Fake
Fake implementation, for unit tests mostly.
|
Modifier and Type | Method and Description |
---|---|
Response |
TkFork.act(Request request) |
Iterator<Response> |
FkMethods.route(Request req) |
Iterator<Response> |
Fork.route(Request req)
Process this request or ignore it.
|
Iterator<Response> |
FkParams.route(Request req) |
Iterator<Response> |
FkRegex.route(Request req) |
Iterator<Response> |
FkEncoding.route(Request req) |
Iterator<Response> |
FkAnonymous.route(Request req) |
Iterator<Response> |
FkHitRefresh.route(Request req) |
Iterator<Response> |
FkFixed.route(Request req) |
Iterator<Response> |
FkTypes.route(Request req) |
Iterator<Response> |
FkAuthenticated.route(Request req) |
Constructor and Description |
---|
RqRegex.Fake(Request req,
String ptn,
String query)
Ctor.
|
RsFork(Request req,
Fork... list)
Ctor.
|
RsFork(Request req,
Iterable<Fork> list)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Response |
TkForward.act(Request req) |
Modifier and Type | Method and Description |
---|---|
Response |
TkLogged.act(Request req) |
Modifier and Type | Interface and Description |
---|---|
interface |
RqHref
HTTP URI query parsing.
|
Modifier and Type | Class and Description |
---|---|
class |
RqCookies
Request decorator, for HTTP headers parsing.
|
class |
RqFake
Fake request (for unit tests).
|
class |
RqForm
Request decorator that decodes FORM data from
application/x-www-form-urlencoded format (RFC 1738). |
class |
RqGreedy
Request decorator, for HTTP request caching.
|
class |
RqHeaders
Request decorator, for HTTP headers parsing.
|
static class |
RqHref.Base
Request decorator, for HTTP URI query parsing.
|
class |
RqLive
Live request.
|
class |
RqMethod
Request decorator, for HTTP method parsing.
|
class |
RqMultipart
Request decorator that decodes FORM data from
multipart/form-data format (RFC 2045). |
class |
RqPrint
Request decorator, to print it all.
|
class |
RqWithHeader
Request with extra header.
|
class |
RqWithoutHeader
Request without a header (even if it was absent).
|
class |
RqWrap
Request wrap.
|
Modifier and Type | Method and Description |
---|---|
Iterable<Request> |
RqMultipart.part(CharSequence name)
Get single part.
|
Constructor and Description |
---|
RqCookies(Request req)
Ctor.
|
RqForm(Request req)
Ctor.
|
RqGreedy(Request req)
Ctor.
|
RqHeaders(Request req)
Ctor.
|
RqHref.Base(Request req)
Ctor.
|
RqMethod(Request req)
Ctor.
|
RqMultipart(Request req)
Ctor.
|
RqPrint(Request req)
Ctor.
|
RqWithHeader(Request req,
CharSequence header)
Ctor.
|
RqWithHeader(Request req,
CharSequence name,
CharSequence value)
Ctor.
|
RqWithoutHeader(Request req,
CharSequence name)
Ctor.
|
RqWrap(Request req)
Ctor.
|
Constructor and Description |
---|
XeLinkHome(Request req)
Ctor.
|
XeLinkSelf(Request req)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Response |
TkEmpty.act(Request req) |
Response |
TkWrap.act(Request req) |
Copyright © 2015 Take. All rights reserved.