Class FlightList
- java.lang.Object
-
- org.glassfish.jersey.examples.jettison.FlightList
-
@Path("/flights") public class FlightList extends ObjectTODO javadoc.- Author:
- Jakub Podlesak, Marek Potociar
-
-
Constructor Summary
Constructors Constructor Description FlightList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlightsgetFlightList()voidinitData()voidputFlightList(Flights flights)
-
-
-
Method Detail
-
getFlightList
@GET @Produces({"application/json","application/xml"}) public Flights getFlightList()
-
putFlightList
@PUT @Consumes({"application/json","application/xml"}) public void putFlightList(Flights flights)
-
initData
@POST @Path("init") @Produces({"application/json","application/xml"}) public void initData()
-
-