Class AccommodationSuggestionsController
java.lang.Object
de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
de.hybris.platform.accommodationaddon.controllers.misc.AccommodationSuggestionsController
Controller for accommodation AutoSuggestion functionality
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
AbstractController.HttpNotFoundException -
Field Summary
Fields inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
FORWARD_PREFIX, REDIRECT_PREFIX, ROOT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlocationSuggestion(String text, org.springframework.ui.Model model) Methods inherited from class de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
addRequestToModel, getBean
-
Constructor Details
-
AccommodationSuggestionsController
public AccommodationSuggestionsController()
-
-
Method Details
-
locationSuggestion
@RequestMapping(value="/accommodation-suggestions", method=GET, produces="application/json") public String locationSuggestion(@RequestParam("text") String text, org.springframework.ui.Model model) - Parameters:
text- the search textmodel-- Returns:
- the location of the jsp with the json response for the autosuggestion
-