Class MigratedResource
- java.lang.Object
-
- net.officefloor.tutorial.jaxrshttpserver.migrated.MigratedResource
-
public class MigratedResource extends java.lang.Object
Migrated JAX-RS resource.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description MigratedResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
get(JaxRsDependency dependency, ServerHttpConnection connection)
void
path(java.lang.String param, ObjectResponse<ResponseModel> response)
void
post(RequestModel request, ObjectResponse<ResponseModel> response)
-
-
-
Method Detail
-
get
public void get(JaxRsDependency dependency, ServerHttpConnection connection) throws java.io.IOException
- Throws:
java.io.IOException
-
path
public void path(@HttpPathParameter("param") java.lang.String param, ObjectResponse<ResponseModel> response)
-
post
public void post(RequestModel request, ObjectResponse<ResponseModel> response)
-
-