Class SamLogic
- java.lang.Object
-
- net.officefloor.tutorial.awssamhttpserver.SamLogic
-
public class SamLogic extends java.lang.Object
Logic for the AWS SAM HTTP Server.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SamLogic.Post
-
Constructor Summary
Constructors Constructor Description SamLogic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createPost(SamLogic.Post post, com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper mapper, ObjectResponse<PostEntity> response)
void
getPost(java.lang.String identifier, com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper mapper, ObjectResponse<PostEntity> response)
void
getPosts(com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper mapper, ObjectResponse<PostEntity[]> response)
-
-
-
Method Detail
-
createPost
public void createPost(SamLogic.Post post, com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper mapper, ObjectResponse<PostEntity> response)
-
getPost
public void getPost(@HttpPathParameter("id") java.lang.String identifier, com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper mapper, ObjectResponse<PostEntity> response)
-
getPosts
public void getPosts(com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper mapper, ObjectResponse<PostEntity[]> response)
-
-