|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Content | |
|---|---|
| us.monoid.web | Welcome to Resty! This is the main package of Resty. |
| Uses of Content in us.monoid.web |
|---|
| Subclasses of Content in us.monoid.web | |
|---|---|
class |
FormContent
Encapsulates form-data sent to web services. |
| Methods in us.monoid.web that return Content | |
|---|---|
static Content |
Resty.content(byte[] bytes)
Create a content object from a byte array. |
static Content |
Resty.content(JSONObject someJson)
Create a content object from JSON. |
static Content |
Resty.content(String somePlainText)
Create a content object from plain text. |
| Methods in us.monoid.web with parameters of type Content | |
|---|---|
JSONResource |
JSONResource.json(JSONPathQuery path,
Content content)
Execute the given path query on the json and POST to the returned URI expecting JSON |
JSONResource |
XMLResource.json(XPathQuery path,
Content aContent)
Execute the given path query on the XML, POST 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. |
TextResource |
XMLResource.text(XPathQuery path,
Content aContent)
Execute the given path query on the XML, POST the returned URI expecting text/* |
XMLResource |
JSONResource.xml(JSONPathQuery path,
Content content)
Execute the given path query on the json and POST to the returned URI expecting text/* |
XMLResource |
XMLResource.xml(XPathQuery path,
Content aContent)
Execute the given path query on the XML, POST the returned URI expecting XML |
| Constructors in us.monoid.web with parameters of type Content | |
|---|---|
Replacement(Content someContent)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||