Package com.minlessika.rq
Interface RqJson
-
- All Superinterfaces:
org.takes.Body,org.takes.Head,org.takes.Request
- All Known Implementing Classes:
RqJsonBase
public interface RqJson extends org.takes.RequestRequest decorator that decodes JSON data fromapplication/jsonformat (RFC 1738).It is highly recommended to use
RqGreedydecorator before passing request to this class.The class is immutable and thread-safe.
- Since:
- 0.9
- Version:
- $Id: cc33fbc2754cc24ab18b1fc55858f9d9082eb8bf $
- Author:
- Olivier B. OURA (baudolivier7@gmail.com)
- See Also:
-
Forms in HTML,
RqGreedy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.json.JsonStructurepayload()Get request payload.
-
-
-
Method Detail
-
payload
javax.json.JsonStructure payload() throws IOExceptionGet request payload.- Returns:
- JsonStructure
- Throws:
IOException- if no json format
-
-