Package | Description |
---|---|
ej.rest.web |
Modifier and Type | Class and Description |
---|---|
class |
BinaryResource
All-purpose resource which is used to access application/octet-stream content or any content in that respect.
|
class |
JSONResource
A resource presentation in JSON format.
|
class |
TextResource
This is a text/* representation of a resource.
|
Modifier and Type | Method and Description |
---|---|
protected <T extends AbstractResource> |
Resty.addStandardHeaders(java.net.URLConnection con,
T resource)
Add all standard headers (User-Agent, Accept) to the URLConnection.
|
protected <T extends AbstractResource> |
Resty.doGET(java.net.URI anUri,
T resource) |
protected <T extends AbstractResource> |
Resty.doPOSTOrPUT(java.net.URI anUri,
AbstractContent requestContent,
T resource) |
protected <T extends AbstractResource> |
Resty.fillResourceFromURL(java.net.URLConnection con,
T resource)
Get the content from the URLConnection, create a Resource representing
the content and carry over some metadata like HTTP Result and location
header.
|
protected <T extends AbstractResource> |
Resty.openConnection(java.net.URI anUri,
T resource) |