org.jasig.portlet.weather.servlet
Class FindCityController

java.lang.Object
  extended by org.jasig.portlet.weather.servlet.FindCityController

@Controller
public class FindCityController
extends java.lang.Object


Constructor Summary
FindCityController()
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView findCity(java.lang.String location, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void setWeatherService(IWeatherService weatherService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindCityController

public FindCityController()
Method Detail

setWeatherService

public void setWeatherService(IWeatherService weatherService)

findCity

@RequestMapping(value="/findCity")
public org.springframework.web.servlet.ModelAndView findCity(@RequestParam(value="location")
                                                                            java.lang.String location,
                                                                            javax.servlet.http.HttpServletRequest request,
                                                                            javax.servlet.http.HttpServletResponse response)


Copyright © 2010 Jasig. All Rights Reserved.