Class RestLogic
- java.lang.Object
-
- net.officefloor.tutorial.resthttpserver.RestLogic
-
public class RestLogic extends java.lang.Object
REST logic.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description RestLogic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createVehicle(Vehicle vehicle, javax.persistence.EntityManager entityManager)
void
getVehicle(java.lang.String vehicleId, javax.persistence.EntityManager entityManager, ObjectResponse<Vehicle> responder)
-
-
-
Method Detail
-
createVehicle
public void createVehicle(Vehicle vehicle, javax.persistence.EntityManager entityManager)
-
getVehicle
public void getVehicle(@HttpPathParameter("id") java.lang.String vehicleId, javax.persistence.EntityManager entityManager, ObjectResponse<Vehicle> responder)
-
-