@LogExecutionTime @RestController @RequestMapping(value="/v2/store/{storeid}") @CrossOrigin public class CategoryControllerV2 extends Object
Constructor and Description |
---|
CategoryControllerV2() |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<ResponseData> |
getCategoryDetailsWithBreadCrumb(String storeId,
List<String> seoTokens)
Gets the category details.
|
org.springframework.http.ResponseEntity<ResponseData> |
getCategoryDetailsWithBreadCrumb(String storeId,
String identifier) |
@RequestMapping(value="/categories", method=GET) @ResponseBody public org.springframework.http.ResponseEntity<ResponseData> getCategoryDetailsWithBreadCrumb(@PathVariable(value="storeid") String storeId, @RequestParam(value="seo") List<String> seoTokens) throws CustomException
storeId
- the store idseoTokens
- the seo tokensCustomException
- the custom exception@RequestMapping(value="/categories/identifier/{identifier}", method=GET) @ResponseBody public org.springframework.http.ResponseEntity<ResponseData> getCategoryDetailsWithBreadCrumb(@PathVariable(value="storeid") String storeId, @PathVariable(value="identifier") String identifier) throws CustomException
CustomException
Copyright © 2021. All rights reserved.