public class OAuthConsumerUtil
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static net.oauth.client.OAuthClient | OAUTHCLIENT | 
| static java.util.Collection<java.lang.String> | RECOVERABLE_PROBLEMSThe names of problems from which a consumer can recover by getting a
 fresh token. | 
| Constructor and Description | 
|---|
| OAuthConsumerUtil() | 
| Modifier and Type | Method and Description | 
|---|---|
| static net.oauth.OAuthAccessor | getAccessor(javax.servlet.http.HttpServletRequest request,
           javax.servlet.http.HttpServletResponse response,
           net.oauth.OAuthConsumer consumer) | 
| static void | getAccessToken(javax.servlet.http.HttpServletRequest request,
              CookieMap cookies,
              net.oauth.OAuthAccessor accessor) | 
| static net.oauth.OAuthConsumer | getOAuthConsumer(java.lang.String endPointName,
                javax.servlet.http.HttpServletRequest request) | 
| static void | handleException(java.lang.Exception e,
               javax.servlet.http.HttpServletRequest request,
               javax.servlet.http.HttpServletResponse response,
               net.oauth.OAuthConsumer consumer) | 
| static net.oauth.OAuthAccessor | newAccessor(net.oauth.OAuthConsumer consumer,
           CookieMap cookies) | 
public static final net.oauth.client.OAuthClient OAUTHCLIENT
public static final java.util.Collection<java.lang.String> RECOVERABLE_PROBLEMS
public static net.oauth.OAuthConsumer getOAuthConsumer(java.lang.String endPointName,
                                       javax.servlet.http.HttpServletRequest request)
                                                throws MXException,
                                                       java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic static net.oauth.OAuthAccessor getAccessor(javax.servlet.http.HttpServletRequest request,
                                  javax.servlet.http.HttpServletResponse response,
                                  net.oauth.OAuthConsumer consumer)
                                           throws net.oauth.OAuthException,
                                                  java.io.IOException,
                                                  java.net.URISyntaxException
net.oauth.OAuthExceptionjava.io.IOExceptionjava.net.URISyntaxExceptionpublic static net.oauth.OAuthAccessor newAccessor(net.oauth.OAuthConsumer consumer,
                                  CookieMap cookies)
                                           throws net.oauth.OAuthException
net.oauth.OAuthExceptionpublic static void getAccessToken(javax.servlet.http.HttpServletRequest request,
                  CookieMap cookies,
                  net.oauth.OAuthAccessor accessor)
                           throws net.oauth.OAuthException,
                                  java.io.IOException,
                                  java.net.URISyntaxException
net.oauth.OAuthExceptionjava.io.IOExceptionjava.net.URISyntaxExceptionpublic static void handleException(java.lang.Exception e,
                   javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response,
                   net.oauth.OAuthConsumer consumer)
                            throws java.io.IOException,
                                   javax.servlet.ServletException
java.io.IOExceptionjavax.servlet.ServletException