forked from yegor256/takes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRequest.java
More file actions
29 lines (28 loc) · 875 Bytes
/
Copy pathRequest.java
File metadata and controls
29 lines (28 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
* SPDX-FileCopyrightText: Copyright (c) 2014-2026 Yegor Bugayenko
* SPDX-License-Identifier: MIT
*/
package org.takes;
/**
* HTTP request.
*
* <p>An object implementing this interface can be "parsed" using one
* of the decorators available in {@link org.takes.rq} package. For example,
* in order to fetch a query parameter you can use
* {@link org.takes.rq.RqHref}:
*
* <pre> final Iterable<String> params =
* new RqHref(request).href().param("name");</pre>
*
* <p>All implementations of this interface must be immutable and thread-safe.
*
* @see Response
* @see Take
* @see org.takes.facets.fork.RqRegex
* @see org.takes.rq.RqHref
* @see <a href="http://www.yegor256.com/2015/02/26/composable-decorators.html">
* Composable Decorators vs. Imperative Utility Methods</a>
* @since 0.1
*/
public interface Request extends Head, Body {
}