@Controller public class OpenSocialAPI extends Object
| Constructor and Description |
|---|
OpenSocialAPI() |
| Modifier and Type | Method and Description |
|---|---|
String |
oauthCallBack(org.springframework.ui.ModelMap modelMap,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
String |
parseAnchor(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Collection<String> |
populateAccessTokenRequestOptions() |
Collection<String> |
populateOAuthVersions() |
String |
reset(org.springframework.ui.ModelMap modelMap,
ApiSettings settings,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
String |
socialQueries(org.springframework.ui.ModelMap modelMap,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
String |
step1(org.springframework.ui.ModelMap modelMap,
ApiSettings settings,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
step2(org.springframework.ui.ModelMap modelMap,
ApiSettings settings,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
String |
step3(org.springframework.ui.ModelMap modelMap,
ApiSettings settings,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
@RequestMapping(value="/social-queries.shtml",
method=GET)
public String socialQueries(org.springframework.ui.ModelMap modelMap,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException@RequestMapping(value="/api.shtml",
method=POST,
params="step1")
public String step1(org.springframework.ui.ModelMap modelMap,
@ModelAttribute(value="settings")
ApiSettings settings,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException@RequestMapping(value="/api.shtml",
method=POST,
params="step2")
public void step2(org.springframework.ui.ModelMap modelMap,
@ModelAttribute(value="settings")
ApiSettings settings,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException@RequestMapping(value="/api.shtml",
method=POST,
params="step3")
public String step3(org.springframework.ui.ModelMap modelMap,
@ModelAttribute(value="settings")
ApiSettings settings,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException@RequestMapping(value="/api.shtml",
method=POST,
params="reset")
public String reset(org.springframework.ui.ModelMap modelMap,
@ModelAttribute(value="settings")
ApiSettings settings,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException@RequestMapping(value="/parseAnchor.shtml",
method=GET)
@ResponseBody
public String parseAnchor(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException@RequestMapping(value="/oauth-callback.shtml",
method=GET)
public String oauthCallBack(org.springframework.ui.ModelMap modelMap,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
@ModelAttribute(value="versions") public Collection<String> populateOAuthVersions()
@ModelAttribute(value="accessTokenRequestOptions") public Collection<String> populateAccessTokenRequestOptions()
Copyright © 2012. All Rights Reserved.