You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Atom Publishing Protocol (AtomPub) Overview

The Atom Publishing Protocol (AtomPub) is an application-level protocol for publishing and editing Web resources. The protocol is based on HTTP transport of Atom-formatted representations. The Atom format is documented in the Atom Syndication Format.

Data Model

Apache Wink provides an Atom Publishing Protocol data model for producing Service Documents (application/atomsvc+xml) and Categories Documents (application/atomcat+xml). All of the model classes are located under the org.apache.wink.common.model.app package.

Important Note

The APP data model can also be used to produce Service and Categories documents in HTML (text/html) and JSON (application/json) formats. For more details regarding HTML see section HTML (TBD). For JSON format see section (TBD)

Atom Feed Support

TBD

 
Supported
Media Types

Data Model

Provider registration

Read

Yes

application/atom+xml

org.apache.wink.common.model.atom.AtomFeed

org.apache.wink.common.model.synd.SyndFeed

Not required. Registered by default

Write

Yes
application/atom+xml

org.apache.wink.common.model.atom.AtomFeed

org.apache.wink.common.model.synd.SyndFeed

Not required. Registered by default

Atom Entry Support

TBD

 
Supported
Media Types

Data Model

Provider registration

Read

Yes

application/atom+xml

org.apache.wink.common.model.atom.AtomEntry

org.apache.wink.common.model.synd.SyndEntry
Not required. Registered by default

Write

Yes
application/atom+xml

org.apache.wink.common.model.atom.AtomEntry

org.apache.wink.common.model.synd.SyndEntry
Not required. Registered by default

Examples

TBD

  • No labels