org.apache.abdera.protocol.server.multipart
Class AbstractMultipartCollectionAdapter
java.lang.Object
org.apache.abdera.protocol.server.impl.AbstractCollectionAdapter
org.apache.abdera.protocol.server.multipart.AbstractMultipartCollectionAdapter
- All Implemented Interfaces:
- CollectionAdapter, CollectionInfo, MediaCollectionAdapter, MultipartRelatedCollectionInfo, Transactional
public abstract class AbstractMultipartCollectionAdapter
- extends AbstractCollectionAdapter
- implements MultipartRelatedCollectionInfo
Methods inherited from class org.apache.abdera.protocol.server.impl.AbstractCollectionAdapter |
asCollectionElement, buildCreateEntryResponse, buildGetEntryResponse, buildGetFeedResponse, buildHeadEntryResponse, buildPostMediaEntryResponse, compensate, createErrorResponse, createFeedBase, deleteMedia, end, extensionRequest, getAuthor, getCategories, getCategoriesInfo, getEntryFromRequest, getHref, getHref, getId, 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 |
accepts
protected Map<String,String> accepts
AbstractMultipartCollectionAdapter
public AbstractMultipartCollectionAdapter()
getAccepts
public String[] getAccepts(RequestContext request)
- Description copied from interface:
CollectionInfo
- Returns an array of MIME media types for the app:collection element's app:accept elements. These tell a client
which media types the collection will accept on a POST
- Specified by:
getAccepts
in interface CollectionInfo
- Overrides:
getAccepts
in class AbstractCollectionAdapter
getMultipartRelatedData
protected AbstractMultipartCollectionAdapter.MultipartRelatedPost getMultipartRelatedData(RequestContext request)
throws IOException,
ParseException,
javax.mail.MessagingException
- Throws:
IOException
ParseException
javax.mail.MessagingException
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.