com.khubla.pragmatach.examples.facebookexample
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.facebook.FacebookLoginController
com.khubla.pragmatach.examples.facebookexample.IndexController
- All Implemented Interfaces:
- BeanBoundController, PragmatachController
@Controller(name="IndexController")
@View(view="index.html")
public class IndexController
- extends FacebookLoginController
Methods inherited from class com.khubla.pragmatach.plugin.facebook.FacebookLoginController |
getApplicationid, getCode, getEmail, getFacebookId, getFacebooksecret, getFacebookUrlAuth, getFirstName, getLastName, getRedirectURL, getState, setApplicationid, setCode, setEmail, setFacebookId, setFacebooksecret, setFirstName, setLastName, 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
render
@Route(uri="/")
public Response render()
throws PragmatachException
- the main view
- Overrides:
render
in class FreemarkerController
- Throws:
PragmatachException
doLogin
@Route(uri="plugins/facebook/dologin/",
method=get)
public Response doLogin()
throws PragmatachException
- the FB callback
- Overrides:
doLogin
in class FacebookLoginController
- Throws:
PragmatachException
Copyright © 2014 khubla.com. All rights reserved.