@Path(value="/scripting") public class ScriptResource extends RoutingResource
arriveBy, bannedAgencies, bannedRoutes, bannedStops, bannedStopsHard, bannedTrips, batch, bikeBoardCost, bikeSpeed, bikeSwitchCost, bikeSwitchTime, clampInitialWait, date, disableRemainingWeightHeuristic, flexFlagStopBufferSize, flexIgnoreDrtAdvanceBookMin, flexUseEligibilityServices, flexUseReservationServices, fromPlace, ignoreRealtimeUpdates, intermediatePlaces, maxPreTransitTime, maxTransfers, maxWalkDistance, minTransferTime, modes, nonpreferredTransferPenalty, numItineraries, optimize, otherThanPreferredRoutesPenalty, otpServer, preferredAgencies, preferredRoutes, reverseOptimizeOnTheFly, routerId, showIntermediateStops, startTransitStopId, startTransitTripId, time, toPlace, transferPenalty, triangleSafetyFactor, triangleSlopeFactor, triangleTimeFactor, unpreferredAgencies, unpreferredRoutes, waitAtBeginningFactor, waitReluctance, walkBoardCost, walkReluctance, walkSpeed, wheelchair, whiteListedAgencies, whiteListedRoutes
Constructor and Description |
---|
ScriptResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
uploadFile(InputStream uploadedInputStream,
org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail) |
buildRequest
@POST @Path(value="/run") @Consumes(value="multipart/form-data") public javax.ws.rs.core.Response uploadFile(InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail)
Copyright © 2019. All rights reserved.