VVO: Update API endpoints.

This commit is contained in:
Andreas Schildbach 2017-04-25 11:57:45 +02:00
parent f71375f02c
commit ac745f66c9

View file

@ -31,13 +31,15 @@ import okhttp3.HttpUrl;
*/
public class VvoProvider extends AbstractEfaProvider {
private static final HttpUrl API_BASE = HttpUrl.parse("http://efa.vvo-online.de:8080/dvb/");
private static final String STOP_FINDER_ENDPOINT = "XSLT_STOPFINDER_REQUEST";
private static final String COORD_ENDPOINT = "XSLT_COORD_REQUEST";
public VvoProvider() {
this(API_BASE);
}
public VvoProvider(final HttpUrl apiBase) {
super(NetworkId.VVO, apiBase);
super(NetworkId.VVO, apiBase, null, null, STOP_FINDER_ENDPOINT, COORD_ENDPOINT);
setRequestUrlEncoding(Charsets.UTF_8);
}