mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-11 00:08:49 +00:00
VOR: Disable trip capability.
This commit is contained in:
parent
416b1af27c
commit
a81d23c215
1 changed files with 8 additions and 0 deletions
|
@ -48,6 +48,14 @@ public class VorProvider extends AbstractEfaProvider {
|
||||||
setRequestUrlEncoding(Charsets.UTF_8);
|
setRequestUrlEncoding(Charsets.UTF_8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected boolean hasCapability(final Capability capability) {
|
||||||
|
if (capability == Capability.TRIPS)
|
||||||
|
return false;
|
||||||
|
else
|
||||||
|
return super.hasCapability(capability);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String xsltTripRequestParameters(final Location from, final @Nullable Location via, final Location to,
|
protected String xsltTripRequestParameters(final Location from, final @Nullable Location via, final Location to,
|
||||||
final Date time, final boolean dep, final @Nullable Collection<Product> products,
|
final Date time, final boolean dep, final @Nullable Collection<Product> products,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue