public final class RsJSON extends Object implements Response
Modifier and Type | Class and Description |
---|---|
static interface |
RsJSON.Source
Source with JSON.
|
Constructor and Description |
---|
RsJSON(javax.json.JsonStructure json)
Ctor.
|
RsJSON(RsJSON.Source src)
Ctor.
|
public RsJSON(javax.json.JsonStructure json)
json
- JSON objectpublic RsJSON(RsJSON.Source src)
src
- Sourcepublic List<String> head() throws IOException
Response
head
in interface Response
IOException
- If something goes wrongpublic InputStream body() throws IOException
Response
body
in interface Response
IOException
- If something goes wrongCopyright © 2015 Takes. All rights reserved.