public abstract class AbstractFlowUserServlet extends HttpServletDeprecated. Use com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeServlet.
Beta 
 Servlet that can be used to invoke and manage a ThreeLeggedFlow object in the App Engine
 container. Developers should subclass this to provide the necessary information for their
 specific use case.
Warning: starting with version 1.7, usage of this for OAuth 2.0 is deprecated. Instead use com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeServlet.
Constructors
AbstractFlowUserServlet() (deprecated)
public AbstractFlowUserServlet()Methods
getCredential(HttpServletRequest req) (deprecated)
protected Credential getCredential(HttpServletRequest req)Fetch a credential associated with this request.
| Name | Description | 
| req | HttpServletRequestRequest object to use as context for fetching the credential. | 
| Type | Description | 
| Credential | Credential object for this request and user. | 
getHttpTransport() (deprecated)
protected final HttpTransport getHttpTransport()Return the HttpTransport instance for this servlet.
| Type | Description | 
| com.google.api.client.http.HttpTransport | 
getJsonFactory() (deprecated)
protected final JsonFactory getJsonFactory()Return the JsonFactory instance for this servlet.
| Type | Description | 
| com.google.api.client.json.JsonFactory | 
getPersistenceManagerFactory() (deprecated)
protected abstract PersistenceManagerFactory getPersistenceManagerFactory()Obtain a PersistenceManagerFactory for working with the datastore.
| Type | Description | 
| PersistenceManagerFactory | PersistenceManagerFactory instance. | 
getUserId() (deprecated)
protected abstract String getUserId()| Type | Description | 
| String | Get a string representation of a userId that can be used to associate credentials and flows with a specific user. | 
newFlow(String userId) (deprecated)
protected abstract ThreeLeggedFlow newFlow(String userId)Create a flow object which will be used to obtain credentials.
| Name | Description | 
| userId | StringUser id to be passed to the constructor of the flow object | 
| Type | Description | 
| ThreeLeggedFlow | Flow object used to obtain credentials | 
| Type | Description | 
| IOException | 
newHttpTransportInstance() (deprecated)
protected abstract HttpTransport newHttpTransportInstance()Create a new HttpTransport instance. Implementations can create any type of applicable transport and should be as simple as:
new NetHttpTransport();
| Type | Description | 
| com.google.api.client.http.HttpTransport | HttpTransport instance for your particular environment | 
newJsonFactoryInstance() (deprecated)
protected abstract JsonFactory newJsonFactoryInstance()Create a new JsonFactory instance. Implementations can create any type of applicable json factory and should be as simple as:
new GsonFactory();
| Type | Description | 
| com.google.api.client.json.JsonFactory | JsonFactory instance for your particular environment | 
service(HttpServletRequest req, HttpServletResponse resp) (deprecated)
protected void service(HttpServletRequest req, HttpServletResponse resp)| Name | Description | 
| req | HttpServletRequest | 
| resp | HttpServletResponse | 
| Type | Description | 
| IOException | |
| ServletException |