See Also 

Specify Resource Classes (Client-Item)

Container-Item RESTful web services consist of an item resource class and its container resource class. Both item and container use Java API for RESTful Web Service (JSR-311).

There are two ways to add an item resource to a container-item RESTful service. One way is to use the POST method on the container resource class. In this case, the URI for the newly created item resource is determined by the container resource. The other way to add an item resource is to use the PUT method on the item resource class. This approach is called the Client-Controlled Container-Item pattern, because the URI for the item resource is determined by the client and not the container resource.

This panel contains the following fields, which specify the class name, URI, and representation type of the resource.

See Also
About RESTful Web Services

Legal Notices