Package org.duracloud.durastore.rest
Class StoreRest
java.lang.Object
org.duracloud.durastore.rest.BaseRest
org.duracloud.durastore.rest.StoreRest
Provides interaction with storage providers accounts via REST
- Author:
- Bill Branan
-
Field Summary
Fields inherited from class org.duracloud.durastore.rest.BaseRest
APP_NAME, APPLICATION_XML, CONTENT_MIMETYPE_HEADER, COPY_SOURCE_HEADER, COPY_SOURCE_STORE_HEADER, DEFAULT_MIME, HEADER_PREFIX, HTML, RANGE_HEADER, SPACE_ACL_HEADER, TEXT_PLAIN, XML -
Constructor Summary
ConstructorsConstructorDescriptionStoreRest(StorageProviderFactory storageProviderFactory, StorageAccountsDocumentBinding documentBinding) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponseProvides a listing of all available storage provider accountsMethods inherited from class org.duracloud.durastore.rest.BaseRest
getAccountId, getSpaceACLs, getSubdomain, getUserProperties, getUserProperties, responseBad, responseBad, responseBad, responseBadRequest, responseNotFound, responseNotFound, responseOk, responseOk, responseOk, responseOkStream, responseOkXml, responseOkXmlStream
-
Constructor Details
-
StoreRest
@Autowired public StoreRest(StorageProviderFactory storageProviderFactory, StorageAccountsDocumentBinding documentBinding)
-
-
Method Details
-
getStores
@GET public javax.ws.rs.core.Response getStores()Provides a listing of all available storage provider accounts- Returns:
- 200 response with XML file listing stores
-