Package br.com.hotel.integration

Examples of br.com.hotel.integration.HotelIntegrationFilter


  protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {


    List<Hotel> hotels =
        hotelIntegrationService.getHotels(
            new HotelIntegrationFilter(
                Integer.valueOf(request.getParameter("stars")),
                request.getParameter("region")
                )
            );
View Full Code Here


  /**
   * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
   */
  protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    hotelIntegrationService.getHotels( new HotelIntegrationFilter(3, "Brasil"));
  }
View Full Code Here

TOP

Related Classes of br.com.hotel.integration.HotelIntegrationFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.