@Path(value="id") public class SMPIDResolver extends Object
| Constructor and Description |
|---|
SMPIDResolver() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getSMPID(javax.servlet.http.HttpServletRequest req,
String smpId,
String fileName,
String contentType,
String contentDisposition,
boolean validation)
Gets the smpid.
|
@GET
@Path(value="")
public javax.ws.rs.core.Response getSMPID(@Context
javax.servlet.http.HttpServletRequest req,
@QueryParam(value="smp-id") @Nullable
String smpId,
@QueryParam(value="fileName")
String fileName,
@QueryParam(value="contentType")
String contentType,
@QueryParam(value="content-disposition")
String contentDisposition,
@QueryParam(value="validation")
boolean validation)
throws javax.ws.rs.WebApplicationException
req - the reqsmpId - the smp idfileName - the file namecontentType - the content typevalidation - the validationjavax.ws.rs.WebApplicationException - the web application exceptionCopyright © 2021. All Rights Reserved.