org.ikasan.console.web.controller
Class HomeController

java.lang.Object
  extended by org.ikasan.console.web.controller.HomeController

@Controller
@RequestMapping(value="/home.htm")
public class HomeController
extends Object

Spring MVC controller class for dealing with a request to go to the home page

Author:
Ikasan Development Team

Constructor Summary
HomeController()
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Standard handleRequest Method, in this case simply returns the view that the user requested.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HomeController

public HomeController()
Method Detail

handleRequest

@RequestMapping(method=GET)
public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request,
                                                                                 javax.servlet.http.HttpServletResponse response)
                                                           throws javax.servlet.ServletException,
                                                                  IOException
Standard handleRequest Method, in this case simply returns the view that the user requested.

Parameters:
request - - Standard HttpServletRequest, not used
response - - Standard HttpServletResponse, not used
Returns:
ModelAndView, in this case logical mapping to the home view
Throws:
javax.servlet.ServletException - - Servlet based Exception
IOException - - IO based Exception Suppress unused warnings as handleRequest is called by Spring framework


Copyright © 2007-2014 Ikasan. All Rights Reserved.