/** * Constructor with will ask the concrete subclass for all required information on the * environment. */ public AbstractCallbackServlet() { pmf = getPersistenceManagerFactory(); flowType = getConcreteFlowType(); redirectUrl = getSuccessRedirectUrl(); deniedRedirectUrl = getDeniedRedirectUrl(); completionCodeQueryParam = getCompletionCodeQueryParam(); httpTransport = newHttpTransportInstance(); jsonFactory = newJsonFactoryInstance(); }
/** * Constructor with will ask the concrete subclass for all required information on the * environment. */ public AbstractCallbackServlet() { pmf = getPersistenceManagerFactory(); flowType = getConcreteFlowType(); redirectUrl = getSuccessRedirectUrl(); deniedRedirectUrl = getDeniedRedirectUrl(); completionCodeQueryParam = getCompletionCodeQueryParam(); httpTransport = newHttpTransportInstance(); jsonFactory = newJsonFactoryInstance(); }