Class AuxRest

java.lang.Object
org.duracloud.durastore.rest.BaseRest
org.duracloud.durastore.rest.AuxRest

@Path("/aux") @Component public class AuxRest extends BaseRest
Provides auxilliary functions via REST
Author:
Bill Branan
  • Constructor Details

    • AuxRest

      public AuxRest()
  • Method Details

    • 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