Package | Description |
---|---|
org.takes |
Take, Java web development framework.
|
org.takes.facets.auth |
Auth.
|
org.takes.facets.auth.social |
Social authenticators.
|
org.takes.facets.cookies |
Cookies.
|
org.takes.facets.fallback |
Fallback.
|
org.takes.facets.flash |
Flash messages.
|
org.takes.facets.fork |
Fork.
|
org.takes.facets.forward |
Forward.
|
org.takes.facets.hamcrest |
Matchers.
|
org.takes.facets.previous |
Previous.
|
org.takes.facets.ret |
Returns.
|
org.takes.rq |
Requests.
|
org.takes.rq.form |
This package contains implementations of the interface
RqForm . |
org.takes.rq.multipart |
Implementations of the interface
RqMultipart . |
org.takes.rs.xe |
Xembly responses.
|
org.takes.servlet |
Servlet (javax) integration.
|
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 |
TkAuth.act(Request request) |
Response |
TkSecure.act(Request request) |
Opt<Identity> |
PsToken.enter(Request req) |
Opt<Identity> |
PsEmpty.enter(Request request) |
Opt<Identity> |
Pass.enter(Request request)
Authenticate the user by the request.
|
Opt<Identity> |
PsBasic.enter(Request request) |
Opt<Identity> |
PsLogout.enter(Request request) |
Opt<Identity> |
PsCookie.enter(Request req) |
Opt<Identity> |
PsFixed.enter(Request request) |
Opt<Identity> |
PsAll.enter(Request request) |
Opt<Identity> |
PsByFlag.enter(Request req) |
Opt<Identity> |
PsChain.enter(Request req) |
Opt<Identity> |
PsFake.enter(Request request) |
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> |
PsLinkedin.enter(Request request) |
Opt<Identity> |
PsGoogle.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 |
RqCookies
HTTP cookies parsing.
|
Modifier and Type | Class and Description |
---|---|
static class |
RqCookies.Base
Request decorator, for HTTP cookies parsing.
|
Constructor and Description |
---|
Base(Request req)
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 |
---|
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) |
Response |
TkRegex.Fake.act(Request req) |
Opt<Response> |
FkAuthenticated.route(Request req) |
Opt<Response> |
FkRegex.route(Request req) |
Opt<Response> |
Fork.route(Request req)
Process this request or ignore it.
|
Opt<Response> |
FkAnonymous.route(Request req) |
Opt<Response> |
FkMethods.route(Request req) |
Opt<Response> |
FkEncoding.route(Request req) |
Opt<Response> |
FkWrap.route(Request req) |
Opt<Response> |
FkChain.route(Request request) |
Opt<Response> |
FkContentType.route(Request req) |
Opt<Response> |
FkHitRefresh.route(Request req) |
Opt<Response> |
FkAgent.route(Request req) |
Opt<Response> |
FkTypes.route(Request req) |
Opt<Response> |
FkParams.route(Request req) |
Constructor and Description |
---|
Fake(Request req,
Matcher matcher)
Ctor.
|
Fake(Request req,
String ptn,
CharSequence 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 |
---|---|
InputStream |
HmRqTextBody.itemBody(Request item) |
Modifier and Type | Method and Description |
---|---|
Response |
TkPrevious.act(Request req) |
Modifier and Type | Method and Description |
---|---|
Response |
TkReturn.act(Request request) |
Modifier and Type | Interface and Description |
---|---|
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.
|
interface |
RqRequestLine
HTTP Request-Line parsing.
|
Modifier and Type | Class and Description |
---|---|
class |
RequestOf
|
class |
RqBuffered
Request with a buffered body.
|
class |
RqChunk
Request decorator that limits its body, according to
the chunk sizes when it is a chunked Transfer-Encoding.
|
class |
RqFake
Fake request (for unit tests).
|
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.
|
class |
RqOnce
Request decorator, to prevent multiple calls to
body() method. |
class |
RqPrint
Request decorator, to print it all.
|
static class |
RqRequestLine.Base
Request decorator for Request-Line header validation
|
class |
RqSimple
Simple request.
|
class |
RqSocket
Request decorator to get custom socket headers.
|
class |
RqWithBody
Request with body.
|
class |
RqWithDefaultHeader
Request with default header.
|
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 |
---|---|
Iterable<Request> |
RqMultipart.part(CharSequence name)
Get single part.
|
Constructor and Description |
---|
Base(Request req)
Ctor.
|
Base(Request req)
Ctor.
|
Base(Request req)
Ctor.
|
Base(Request req)
Ctor.
|
RqBuffered(Request req)
Ctor.
|
RqChunk(Request req)
Ctor.
|
RqGreedy(Request req)
Ctor.
|
RqLengthAware(Request req)
Ctor.
|
RqOnce(Request req)
Ctor.
|
RqPrint(Request req)
Ctor.
|
RqSocket(Request req)
Ctor.
|
RqWithBody(Request req,
CharSequence bdy)
Ctor.
|
RqWithDefaultHeader(Request req,
String hdr,
String val)
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.
|
Smart(Request req)
Ctor.
|
Smart(Request req)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
RqFormBase
Base implementation of
RqForm . |
class |
RqFormFake
RqFormFake accepts parameters in the constructor.
|
class |
RqFormSmart
Smart decorator, with extra features.
|
Constructor and Description |
---|
RqFormBase(Request request)
Ctor.
|
RqFormFake(Request req,
String... params)
Ctor.
|
RqFormSmart(Request req)
Ctor.
|
Modifier and Type | Class and Description |
---|---|
class |
RqMtBase
Request decorator, that decodes FORM data from
multipart/form-data format (RFC 2045). |
class |
RqMtFake
Fake decorator.
|
class |
RqMtSmart
Smart decorator.
|
Modifier and Type | Method and Description |
---|---|
Request |
RqMtSmart.single(CharSequence name)
Get single part.
|
Modifier and Type | Method and Description |
---|---|
Iterable<Request> |
RqMtBase.part(CharSequence name) |
Iterable<Request> |
RqMtSmart.part(CharSequence name) |
Iterable<Request> |
RqMtFake.part(CharSequence name) |
Constructor and Description |
---|
RqMtBase(Request req)
Ctor.
|
RqMtFake(Request req,
Request... dispositions)
Fake ctor.
|
RqMtFake(Request req,
Request... dispositions)
Fake ctor.
|
RqMtSmart(Request req)
Ctor.
|
Constructor and Description |
---|
XeLinkHome(Request req)
Ctor.
|
XeLinkSelf(Request req)
Ctor.
|
Constructor and Description |
---|
HttpServletRequestFake(Request req)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Response |
TkCors.act(Request req) |
Response |
TkSlf4j.act(Request req) |
Response |
TkSslOnly.act(Request req) |
Response |
TkReadAlways.act(Request req) |
Response |
TkWrap.act(Request req) |
Response |
TkRetry.act(Request req) |
Response |
TkProxy.act(Request req) |
Response |
TkEmpty.act(Request req) |
Copyright © 2015–2019 Take. All rights reserved.