net.smartam.leeloo.controller
Class MainController

java.lang.Object
  extended by net.smartam.leeloo.controller.MainController

@Controller
@RequestMapping(value="/")
public class MainController
extends Object

Author:
Maciej Machulak, Lukasz Moren

Constructor Summary
MainController()
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView authorize(OAuthParams oauthParams)
           
 org.springframework.web.servlet.ModelAndView authorize(OAuthParams oauthParams, OAuthRegParams oauthRegParams, String app, javax.servlet.http.HttpServletResponse res)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainController

public MainController()
Method Detail

authorize

@RequestMapping(value="/index")
public org.springframework.web.servlet.ModelAndView authorize(@ModelAttribute(value="oauthParams")
                                                                             OAuthParams oauthParams)
                                                       throws OAuthSystemException,
                                                              IOException
Throws:
OAuthSystemException
IOException

authorize

@RequestMapping(value="/main/{app}")
public org.springframework.web.servlet.ModelAndView authorize(@ModelAttribute(value="oauthParams")
                                                                             OAuthParams oauthParams,
                                                                             @ModelAttribute(value="oauthRegParams")
                                                                             OAuthRegParams oauthRegParams,
                                                                             @PathVariable(value="app")
                                                                             String app,
                                                                             javax.servlet.http.HttpServletResponse res)
                                                       throws OAuthSystemException,
                                                              IOException
Throws:
OAuthSystemException
IOException


Copyright © 2010. All Rights Reserved.