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.
|
class |
RqWithAuth
Request with already authenticated identity.
|
Modifier and Type | Method and Description |
---|---|
Response |
TkSecure.act(Request request) |
Response |
TkAuth.act(Request request) |
Opt<Identity> |
PsLogout.enter(Request request) |
Opt<Identity> |
PsChain.enter(Request req) |
Opt<Identity> |
PsCookie.enter(Request req) |
Opt<Identity> |
PsFake.enter(Request request) |
Opt<Identity> |
PsEmpty.enter(Request request) |
Opt<Identity> |
Pass.enter(Request request)
Authenticate the user by the request.
|
Opt<Identity> |
PsFixed.enter(Request request) |
Opt<Identity> |
PsByFlag.enter(Request req) |
Constructor and Description |
---|
RqAuth(Request request)
Ctor.
|
RqAuth(Request request,
String hdr)
Ctor.
|
RqWithAuth(Identity identity,
Request req)
Ctor.
|
RqWithAuth(Identity identity,
String header,
Request req)
Ctor.
|
RqWithAuth(String urn,
Request req)
Ctor.
|
XeIdentity(Request req)
Ctor.
|
XeLogoutLink(Request req)
Ctor.
|
XeLogoutLink(Request req,
String rel,
String flag)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Opt<Identity> |
PsFacebook.enter(Request trequest) |
Opt<Identity> |
PsGithub.enter(Request request) |
Opt<Identity> |
PsTwitter.enter(Request request) |
Opt<Identity> |
PsGoogle.enter(Request request) |
Opt<Identity> |
PsLinkedin.enter(Request request) |
Constructor and Description |
---|
XeFacebookLink(Request req,
CharSequence app)
Ctor.
|
XeFacebookLink(Request req,
CharSequence app,
CharSequence rel,
CharSequence flag)
Ctor.
|
XeGithubLink(Request req,
CharSequence app)
Ctor.
|
XeGithubLink(Request req,
CharSequence app,
CharSequence rel,
CharSequence flag)
Ctor.
|
XeGoogleLink(Request req,
CharSequence app)
Ctor.
|
XeGoogleLink(Request req,
CharSequence app,
CharSequence redir)
Ctor.
|
XeGoogleLink(Request req,
CharSequence app,
CharSequence rel,
CharSequence redir)
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) |
Opt<Response> |
FkMethods.route(Request req) |
Opt<Response> |
FkEncoding.route(Request req) |
Opt<Response> |
FkAnonymous.route(Request req) |
Opt<Response> |
FkContentType.route(Request req) |
Opt<Response> |
FkRegex.route(Request req) |
Opt<Response> |
FkAuthenticated.route(Request req) |
Opt<Response> |
FkHitRefresh.route(Request req) |
Opt<Response> |
FkParams.route(Request req) |
Opt<Response> |
FkWrap.route(Request req) |
Opt<Response> |
Fork.route(Request req)
Process this request or ignore it.
|
Opt<Response> |
FkTypes.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 |
RqCookies
HTTP cookies parsing.
|
interface |
RqForm
Request decorator that decodes FORM data from
application/x-www-form-urlencoded format (RFC 1738). |
interface |
RqHeaders
HTTP headers parsing
|
interface |
RqHref
HTTP URI query parsing.
|
interface |
RqMethod
HTTP method parsing.
|
interface |
RqMultipart
HTTP multipart FORM data decoding.
|
Modifier and Type | Class and Description |
---|---|
class |
RqBuffered
Request with a buffered body.
|
static class |
RqCookies.Base
Request decorator, for HTTP cookies parsing.
|
class |
RqFake
Fake request (for unit tests).
|
static class |
RqForm.Base
Base implementation of @link RqForm.
|
static class |
RqForm.Smart
Smart decorator, with extra features.
|
class |
RqGreedy
Request decorator, for HTTP request caching.
|
static class |
RqHeaders.Base
Request decorator, for HTTP headers parsing.
|
static class |
RqHeaders.Smart
Smart decorator, with extra features.
|
static class |
RqHref.Base
Request decorator, for HTTP URI query parsing.
|
static class |
RqHref.Smart
Smart decorator, with extra features.
|
class |
RqLengthAware
Request decorator that limits its body, according to
the Content-Length header in its head.
|
class |
RqLive
Live request.
|
static class |
RqMethod.Base
Request decorator, for HTTP method parsing.
|
static class |
RqMultipart.Base
Request decorator, that decodes FORM data from
multipart/form-data format (RFC 2045). |
static class |
RqMultipart.Fake
Fake decorator.
|
static class |
RqMultipart.Smart
Smart decorator.
|
class |
RqPrint
Request decorator, to print it all.
|
class |
RqSimple
Simple request.
|
class |
RqSocket
Request decorator to get custom socket headers.
|
class |
RqWithHeader
Request with extra header.
|
class |
RqWithHeaders
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 |
---|---|
Request |
RqMultipart.Smart.single(CharSequence name)
Get single part.
|
Modifier and Type | Method and Description |
---|---|
Iterable<Request> |
RqMultipart.part(CharSequence name)
Get single part.
|
Iterable<Request> |
RqMultipart.Base.part(CharSequence name) |
Iterable<Request> |
RqMultipart.Smart.part(CharSequence name) |
Iterable<Request> |
RqMultipart.Fake.part(CharSequence name) |
Constructor and Description |
---|
RqBuffered(Request req)
Ctor.
|
RqCookies.Base(Request req)
Ctor.
|
RqForm.Base(Request req)
Ctor.
|
RqGreedy(Request req)
Ctor.
|
RqHeaders.Base(Request req)
Ctor.
|
RqHref.Base(Request req)
Ctor.
|
RqLengthAware(Request req)
Ctor.
|
RqMethod.Base(Request req)
Ctor.
|
RqMultipart.Base(Request req)
Ctor.
|
RqMultipart.Fake(Request req,
String... dispositions)
Fake ctor.
|
RqPrint(Request req)
Ctor.
|
RqSocket(Request req)
Ctor.
|
RqWithHeader(Request req,
CharSequence header)
Ctor.
|
RqWithHeader(Request req,
CharSequence name,
CharSequence value)
Ctor.
|
RqWithHeaders(Request req,
CharSequence... headers)
Ctor.
|
RqWithHeaders(Request req,
Iterable<? extends CharSequence> headers)
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 |
TkWrap.act(Request req) |
Response |
TkEmpty.act(Request req) |
Copyright © 2015 Take. All rights reserved.