Created
April 15, 2014 09:03
-
-
Save steinermatt/10715773 to your computer and use it in GitHub Desktop.
SAP HANA Cloud Platform - RFC-based connectivity - FlightService skeleton
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Service("flightService") | |
@Path("/flight.svc") | |
@Produces({ "application/json" }) | |
public class FlightService { | |
@GET | |
@Path("/flights/{cityFrom}/{cityTo}") | |
@Produces("application/json") | |
public String getFlightList(@Context HttpServletRequest req, @PathParam("cityFrom") String cityFrom, | |
@PathParam("cityTo") String cityTo) | |
{ | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment