Package org.takes
Interface Request
-
- All Known Subinterfaces:
RqCookies
,RqFallback
,RqForm
,RqHeaders
,RqHref
,RqMethod
,RqMultipart
,RqRegex
,RqRequestLine
- All Known Implementing Classes:
RequestOf
,RqAuth
,RqBuffered
,RqChunk
,RqCookies.Base
,RqEmpty
,RqFake
,RqFallback.Fake
,RqFormBase
,RqFormFake
,RqFormSmart
,RqGreedy
,RqHeaders.Base
,RqHeaders.Smart
,RqHref.Base
,RqHref.Smart
,RqLengthAware
,RqLive
,RqMethod.Base
,RqMtBase
,RqMtFake
,RqMtSmart
,RqOnce
,RqPrint
,RqRegex.Fake
,RqRequestLine.Base
,RqSimple
,RqSocket
,RqWithAuth
,RqWithBody
,RqWithDefaultHeader
,RqWithHeader
,RqWithHeaders
,RqWithoutHeader
,RqWrap
public interface Request extends Head, Body
HTTP request.An object implementing this interface can be "parsed" using one of the decorators available in
org.takes.rq
package. For example, in order to fetch a query parameter you can useRqHref
:final Iterable<String> params = new RqHref(request).href().param("name");
All implementations of this interface must be immutable and thread-safe.
- Since:
- 0.1
- See Also:
Response
,Take
,RqRegex
,RqHref
, Composable Decorators vs. Imperative Utility Methods