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") @SuppressWarnings("serial")
public class GoogleImportCallbackPage extends WebPage { 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 @Inject
ApplicationSettingsService applicationSettingsService; ApplicationSettingsService applicationSettingsService;
@Inject @Inject
OPMLImporter importer; OPMLImporter importer;
@Inject @Inject
UserService userService; 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() { public static String getCallbackUrl() {
RequestCycle cycle = RequestCycle.get(); RequestCycle cycle = RequestCycle.get();
UrlRenderer renderer = cycle.getUrlRenderer(); UrlRenderer renderer = cycle.getUrlRenderer();