@Beta public abstract class AbstractAppEngineFlowServlet extends AbstractFlowUserServlet
Beta AbstractFlowUserServlet with
reasonable defaults for App Engine. This servlet requires that the App Engine user must be logged
in to work correctly.
Warning: starting with version 1.7, usage of this for OAuth 2.0 is deprecated. Instead use AbstractAppEngineAuthorizationCodeServlet.
Upgrade warning: in version 1.15 there was an implementation of AbstractFlowUserServlet.newJsonFactoryInstance()
that used com.google.api.client.json.jackson.JacksonFactory, but starting with version
1.16 there is no such implementation.
| Constructor and Description |
|---|
AbstractAppEngineFlowServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getUserId()
Return the user ID of the user that is logged in.
|
protected com.google.api.client.http.HttpTransport |
newHttpTransportInstance() |
getCredential, getHttpTransport, getJsonFactory, getPersistenceManagerFactory, newFlow, newJsonFactoryInstance, servicedoDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, serviceprotected String getUserId()
getUserId in class AbstractFlowUserServletIllegalStateException - Thrown when no user is logged in.protected com.google.api.client.http.HttpTransport newHttpTransportInstance()
newHttpTransportInstance in class AbstractFlowUserServletCopyright © 2011–2018 Google. All rights reserved.