@Path(value="shub") public class StorageHubResolver extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
STORAGE_HUB_ID |
| Constructor and Description |
|---|
StorageHubResolver() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
download(javax.servlet.http.HttpServletRequest req,
String contentDisposition)
Download.
|
javax.ws.rs.core.Response |
getMetadata(javax.servlet.http.HttpServletRequest req)
Gets the metadata.
|
public static final String STORAGE_HUB_ID
@HEAD
@Path(value="/{id}")
public javax.ws.rs.core.Response getMetadata(@Context
javax.servlet.http.HttpServletRequest req)
req - the req@GET
@Path(value="/{id}")
public javax.ws.rs.core.Response download(@Context
javax.servlet.http.HttpServletRequest req,
@QueryParam(value="content-disposition")
String contentDisposition)
req - the reqCopyright © 2022. All Rights Reserved.