...
The following table shows the Atom Feed data models and the representations in which it the Atom data models can be serialized and de-serialized.
| Supported | Media Types | Data Model | Provider registration |
---|---|---|---|---|
Read | Yes | application/atom+xml | org.apache.wink | Not required. Registered by default |
Write | Yes | application/atom+xml | org.apache.wink | Not required. Registered by default |
...
The following code example demonstrates the consumption of an Atom Feed.
Code Block |
---|
@POST
@Consumes(MediaType.APPLICATION_ATOM_XML)
public void setFeed(AtomFeed feed) {
...
return;
}
|
...