This commit is contained in:
Athou
2013-04-05 16:38:39 +02:00
parent a1ab76d176
commit 41cbb1516a

View File

@@ -28,17 +28,18 @@ import com.google.api.client.json.jackson2.JacksonFactory;
@SuppressWarnings("serial")
public class GoogleImportCallbackPage extends WebPage {
private static final String TOKEN_URL = "https://accounts.google.com/o/oauth2/token";
private static final String EXPORT_URL = "https://www.google.com/reader/subscriptions/export";
@Inject
ApplicationSettingsService applicationSettingsService;
@Inject
OPMLImporter importer;
@Inject
UserService userService;
private static final String TOKEN_URL = "https://accounts.google.com/o/oauth2/token";
private static final String EXPORT_URL = "https://www.google.com/reader/subscriptions/export";
public static String getCallbackUrl() {
RequestCycle cycle = RequestCycle.get();
UrlRenderer renderer = cycle.getUrlRenderer();