Skip to content

Instantly share code, notes, and snippets.

SAP HANA Cloud Platform - RFC-based connectivity - FlightService skeleton
@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