Your Atom feed implementation class contains code that performs actions in response to Atom HTTP requests.
To create an Atom feed implementation class, complete the following steps:
| Method | Description |
|---|---|
| deleteEntry | Delete an entry from a collection. |
| deleteMedia | Delete a media resource from a collection. |
| destroy | The destroy method is called when the feed is being taken out of service. This can occur when the WSRR application is being stopped or when the configuration for a feed has been changed. In the case of a configuration change, all the feeds running within the feed container are taken out of service and replaced with new instances that reflect the most recent configuration data. |
| extensionRequest | Any request that is not covered by the other methods in this table is passed to the extensionRequest method. |
| getCategories | Return an Atom categories document. |
| getEntry | Return an entry from a collection. |
| getFeed | Return an Atom feed document for a collection. |
| getMedia | Return a media resource. |
| getWorkspaces | Return the list of workspaces that the feed contributes to the service document. |
| headEntry | Return metadata for an entry in a collection. |
| headMedia | Return metadata for a media resource. |
| init | The init method is called just after the feed has been created and prior to it going into service. The FeedConfig object is passed to the init method; if the feed is to make use of information contained within the FeedConfig object at some point during its lifetime, then it must store a reference to the object. |
| optionsEntry | Return the options for an entry in a collection. |
| optionsMedia | Return the options for a media resource. |
| postEntry | Add a new entry to a collection. |
| putEntry | Update an existing entry. |
| postMedia | Add a new media resource to a collection, resulting in the creation of a new media link entry. |
| putMedia | Update a media resource. |
Further specific aspects of creating an Atom feed implementation class are described in the following subtopics: