com.khubla.pragmatach.examples.googleexample
Class IndexController
java.lang.Object
com.khubla.pragmatach.framework.controller.impl.AbstractController
com.khubla.pragmatach.framework.controller.impl.template.AbstractTemplateEngineController
com.khubla.pragmatach.framework.controller.impl.FormPostBeanBoundController
com.khubla.pragmatach.plugin.freemarker.FreemarkerController
com.khubla.pragmatach.plugin.google.GoogleLoginController
com.khubla.pragmatach.examples.googleexample.IndexController
- All Implemented Interfaces:
- BeanBoundController, PragmatachController
@Controller(name="IndexController")
@View(view="index.html")
public class IndexController
- extends GoogleLoginController
Methods inherited from class com.khubla.pragmatach.plugin.google.GoogleLoginController |
getAccessToken, getClientid, getClientsecret, getCode, getEmail, getFamily_name, getGiven_name, getGoogleAuthURL, getId, getName, getRedirectURL, getState, setAccessToken, setClientid, setClientsecret, setCode, setEmail, setFamily_name, setGiven_name, setId, setName, setState |
Methods inherited from class com.khubla.pragmatach.framework.controller.impl.AbstractController |
bad, buildWildcardResourceURI, forward, getApplicationURL, getCacheHeaders, getConfigurationParameter, getControllerName, getControllerName, getPragmatachRoute, getRequest, getResource, getSessionScopedController, ok, redirect, setPragmatachRoute, setRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexController
public IndexController()
throws PragmatachException
- ctor
- Throws:
PragmatachException
doLogin
@Route(uri="plugins/google/dologin/",
method=get)
public Response doLogin()
throws PragmatachException
- the FB callback
- Overrides:
doLogin
in class GoogleLoginController
- Throws:
PragmatachException
render
@Route(uri="/")
public Response render()
throws PragmatachException
- the main view
- Overrides:
render
in class FreemarkerController
- Throws:
PragmatachException
Copyright © 2014 khubla.com. All rights reserved.