@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.
| 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 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 HttpTransport newHttpTransportInstance()
newHttpTransportInstance in class AbstractFlowUserServletCopyright © 2011–2021 Google. All rights reserved.