|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.abdera.protocol.server.impl.AbstractCollectionAdapter org.apache.abdera.protocol.server.provider.managed.ManagedCollectionAdapter org.apache.abdera.protocol.server.adapters.filesystem.FilesystemAdapter
public class FilesystemAdapter
Simple Filesystem Adapter that uses a local directory to store Atompub collection entries. As an extension of the ManagedCollectionAdapter class, the Adapter is intended to be used with implementations of the ManagedProvider and are configured using /abdera/adapter/*.properties files. The *.properties file MUST specify the fs.root property to specify the root directory used by the Adapter.
Field Summary |
---|
Fields inherited from class org.apache.abdera.protocol.server.provider.managed.ManagedCollectionAdapter |
---|
abdera, config |
Constructor Summary | |
---|---|
FilesystemAdapter(Abdera abdera,
FeedConfiguration config)
|
Method Summary | |
---|---|
ResponseContext |
deleteEntry(RequestContext request)
Delete an entry from the collection |
ResponseContext |
getEntry(RequestContext request)
Get an entry from the collection |
ResponseContext |
getFeed(RequestContext request)
Get the collections Atom feed document |
ResponseContext |
postEntry(RequestContext request)
Post a new entry to the collection |
ResponseContext |
putEntry(RequestContext request)
Update an existing entry |
Methods inherited from class org.apache.abdera.protocol.server.provider.managed.ManagedCollectionAdapter |
---|
getAbdera, getAuthor, getConfiguration, getId, getTitle |
Methods inherited from class org.apache.abdera.protocol.server.impl.AbstractCollectionAdapter |
---|
asCollectionElement, buildCreateEntryResponse, buildGetEntryResponse, buildGetFeedResponse, buildHeadEntryResponse, buildPostMediaEntryResponse, compensate, createErrorResponse, createFeedBase, deleteMedia, end, extensionRequest, getAccepts, getCategories, getCategoriesInfo, getEntryFromRequest, getHref, getHref, getMedia, getResourceName, headEntry, headMedia, optionsEntry, optionsMedia, postMedia, putMedia, setHref, start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.abdera.protocol.server.CollectionAdapter |
---|
extensionRequest, getCategories, headEntry, optionsEntry |
Constructor Detail |
---|
public FilesystemAdapter(Abdera abdera, FeedConfiguration config)
Method Detail |
---|
public ResponseContext getFeed(RequestContext request)
CollectionAdapter
public ResponseContext deleteEntry(RequestContext request)
CollectionAdapter
public ResponseContext getEntry(RequestContext request)
CollectionAdapter
public ResponseContext postEntry(RequestContext request)
CollectionAdapter
public ResponseContext putEntry(RequestContext request)
CollectionAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |