Class AbstractAppEngineFlowServlet (1.36.0)

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
Type Description
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
Type Description
com.google.api.client.http.HttpTransport
Overrides