@Path(value="/ecoshopping/media") public class EcoShoppingMedia extends Object
Constructor and Description |
---|
EcoShoppingMedia() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getProductImage(@Size(min=14) String productid)
Get the local hosted image of a product.
|
@GET @Path(value="/image/{productid}") @Produces(value={"image/png","image/jpg"}) public javax.ws.rs.core.Response getProductImage(@PathParam(value="productid") @Size(min=14) @Size(min=14) String productid)
productid
- the GTIN14 unique product ID.Copyright © 2020. All rights reserved.