org.apache.abdera.protocol.server.multipart
Interface MultipartRelatedCollectionInfo

All Superinterfaces:
CollectionInfo
All Known Implementing Classes:
AbstractMultipartCollectionAdapter

public interface MultipartRelatedCollectionInfo
extends CollectionInfo


Method Summary
 Map<String,String> getAlternateAccepts(RequestContext request)
          Returns a map of MIME media types for the app:collection element's app:accept elements.
 
Methods inherited from interface org.apache.abdera.protocol.server.CollectionInfo
asCollectionElement, getAccepts, getCategoriesInfo, getHref, getTitle
 

Method Detail

getAlternateAccepts

Map<String,String> getAlternateAccepts(RequestContext request)
Returns a map 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. The key element is the default media type and the value element is the alternate type or null if it doesn't accept alternates.



Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.