|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AbstractContent | |
---|---|
us.monoid.web | Welcome to Resty! This is the main package of Resty. |
Uses of AbstractContent in us.monoid.web |
---|
Subclasses of AbstractContent in us.monoid.web | |
---|---|
class |
Content
Class to encapsulate content being sent as payload of a POST or PUT request. |
class |
Deletion
Used for deleting contents on a server with the DELETE method. |
class |
FormContent
Encapsulates form-data sent to web services. |
class |
FormData
Wrapper for content to be sent as form-data. |
class |
Replacement
Used in PUT operations. |
Methods in us.monoid.web that return AbstractContent | |
---|---|
static AbstractContent |
Resty.delete()
Tell Resty to delete the URL content on the server, resulting in a DELETE. |
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. |
Methods in us.monoid.web with parameters of type AbstractContent | |
---|---|
BinaryResource |
Resty.bytes(String anUri,
AbstractContent someContent)
POST to the URI and get the resource as binary resource. |
BinaryResource |
Resty.bytes(URI anUri,
AbstractContent someContent)
POST to the URI and get the resource as binary resource. |
static FormData |
Resty.data(String name,
AbstractContent content)
Create a form data entry for a multipart form with any kind of content type. |
JSONResource |
Resty.json(String anUri,
AbstractContent content)
|
JSONResource |
Resty.json(URI anUri,
AbstractContent requestContent)
POST to a URI and parse the result as JSON |
TextResource |
Resty.text(String anUri,
AbstractContent content)
Get a plain text resource for the specified URI by POSTing to it. |
TextResource |
Resty.text(URI anUri,
AbstractContent content)
Get a plain text resource for the specified URI by POSTing to it. |
XMLResource |
Resty.xml(String anUri,
AbstractContent content)
|
XMLResource |
Resty.xml(URI anUri,
AbstractContent requestContent)
POST to a URI and parse the result as XML |
Constructors in us.monoid.web with parameters of type AbstractContent | |
---|---|
FormData(String aControlName,
AbstractContent content)
|
|
FormData(String aControlName,
String aFileName,
AbstractContent content)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |