Update API base for Vienna, Lower Austria & Burgenland.

This commit is contained in:
Andreas Schildbach 2015-01-27 15:49:05 +01:00
parent 377f628183
commit fd1be51c98

View file

@ -30,15 +30,13 @@ import de.schildbach.pte.dto.Style;
public class VorProvider extends AbstractEfaProvider
{
public static final NetworkId NETWORK_ID = NetworkId.VOR;
private final static String EFA_API_BASE = "http://efa.vor.at/vor/";
private final static String RBL_API_BASE = "http://depmon.vor.at:8380/vorrbl/";
private final static String API_BASE = "http://efa.vor.at/vor/";
public VorProvider()
{
super(RBL_API_BASE + DEFAULT_DEPARTURE_MONITOR_ENDPOINT, EFA_API_BASE + DEFAULT_TRIP_ENDPOINT, EFA_API_BASE + DEFAULT_STOPFINDER_ENDPOINT,
RBL_API_BASE + DEFAULT_COORD_ENDPOINT);
super(API_BASE);
setHttpReferer(EFA_API_BASE + DEFAULT_TRIP_ENDPOINT);
setHttpReferer(API_BASE + DEFAULT_TRIP_ENDPOINT);
setHttpPost(true);
setIncludeRegionId(false);
setStyles(STYLES);