Package | Description |
---|---|
ej.rest.web |
Modifier and Type | Class and Description |
---|---|
class |
FormContent
Encapsulates form-data sent to web services.
|
Modifier and Type | Method and Description |
---|---|
static Content |
Resty.content(byte[] bytes)
Create a content object from a byte array.
|
static Content |
Resty.content(org.json.me.JSONArray someJson)
Create a content object from a JSON array.
|
static Content |
Resty.content(org.json.me.JSONObject someJson)
Create a content object from a JSON object.
|
static Content |
Resty.content(java.lang.String somePlainText)
Create a content object from plain text.
|
Modifier and Type | Method and Description |
---|---|
JSONResource |
JSONResource.json(JSONPathQuery path,
Content content)
Execute the given path query on the json and POST to the returned URI expecting JSON
|
static AbstractContent |
Resty.put(Content someContent)
Tell Resty to replace the specified content on the server, resulting in a
PUT operation instead of a POST operation.
|
Constructor and Description |
---|
Replacement(Content someContent) |