Class AbstractAppEngineFlowServlet (1.34.1)

public abstract class AbstractAppEngineFlowServlet extends AbstractFlowUserServlet

Beta
This class fills in some of the unknowns of the generic 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 com.google.api.client.extensions.appengine.auth.oauth2.AbstractAppEngineAuthorizationCodeServlet.

Inheritance

java.lang.Object > javax.servlet.GenericServlet > HttpServlet > AbstractFlowUserServlet > AbstractAppEngineFlowServlet

Constructors

AbstractAppEngineFlowServlet()

public AbstractAppEngineFlowServlet()

Methods

getUserId()

protected String getUserId()

Return the user ID of the user that is logged in.

Returns
TypeDescription
String
Overrides

newHttpTransportInstance()

protected HttpTransport newHttpTransportInstance()

Create a new HttpTransport instance. Implementations can create any type of applicable transport and should be as simple as:

new NetHttpTransport();

Returns
TypeDescription
com.google.api.client.http.HttpTransport
Overrides