Class AccommodationSuggestionsController

java.lang.Object
de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
de.hybris.platform.accommodationaddon.controllers.misc.AccommodationSuggestionsController

@Controller public class AccommodationSuggestionsController extends AbstractController
Controller for accommodation AutoSuggestion functionality
  • 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 text
      model -
      Returns:
      the location of the jsp with the json response for the autosuggestion