Package org.duracloud.durastore.rest
Class AuxRest
- java.lang.Object
-
- org.duracloud.durastore.rest.BaseRest
-
- org.duracloud.durastore.rest.AuxRest
-
@Path("/aux") @Component public class AuxRest extends BaseRestProvides auxilliary functions 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
Constructors Constructor Description AuxRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsegetCookies(String token)Adds new cookies to the response headers based on the provided token.protected voidsetStringDataStoreFactory(StringDataStoreFactory stringDataStoreFactory)-
Methods 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
-
-
-
-
Method Detail
-
setStringDataStoreFactory
protected void setStringDataStoreFactory(StringDataStoreFactory stringDataStoreFactory)
-
getCookies
@Path("/cookies") @GET public javax.ws.rs.core.Response getCookies(@QueryParam("token") String token)Adds new cookies to the response headers based on the provided token. The response body contains an HTML based redirect pointing to the redirect URL passed to the /durastore/task/get-signed-cookies (GetHlsSingedCookiesUrlTaskRunner) endpoint.- Returns:
- 200 response with XML file listing stores
-
-