Class MigratedRestController
- java.lang.Object
-
- net.officefloor.tutorial.springwebmvchttpserver.migrated.MigratedRestController
-
public class MigratedRestController extends java.lang.Object
Migrated Spring REST controller.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description MigratedRestController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
get(SpringDependency dependency, ObjectResponse<ResponseModel> response)
void
path(java.lang.String param, ObjectResponse<ResponseModel> response)
void
post(RequestModel request, ObjectResponse<ResponseModel> response)
-
-
-
Method Detail
-
get
public void get(SpringDependency dependency, ObjectResponse<ResponseModel> response)
-
path
public void path(@HttpPathParameter("param") java.lang.String param, ObjectResponse<ResponseModel> response)
-
post
public void post(RequestModel request, ObjectResponse<ResponseModel> response)
-
-