Class AzureLogic
java.lang.Object
net.officefloor.tutorial.azurewebappshttpserver.AzureLogic
Azure logic.
- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<Post>retrieveAllPosts(CosmosAsyncEntities entities, net.officefloor.web.ObjectResponse<Post[]> response) Retrieves allPostinstances asynchronously.voidretrievePost(String identifier, CosmosEntities entities, net.officefloor.web.ObjectResponse<Post> response) Retrieves aPostby identifier.voidsavePost(Post post, CosmosEntities entities, net.officefloor.web.ObjectResponse<Post> response) Saves aPost.voidSends thePostarray response.
-
Constructor Details
-
AzureLogic
public AzureLogic()
-
-
Method Details
-
savePost
public void savePost(Post post, CosmosEntities entities, net.officefloor.web.ObjectResponse<Post> response) Saves aPost. -
retrievePost
public void retrievePost(@HttpPathParameter("id") String identifier, CosmosEntities entities, net.officefloor.web.ObjectResponse<Post> response) Retrieves aPostby identifier. -
retrieveAllPosts
public reactor.core.publisher.Flux<Post> retrieveAllPosts(CosmosAsyncEntities entities, net.officefloor.web.ObjectResponse<Post[]> response) Retrieves allPostinstances asynchronously. -
sendPosts
Sends thePostarray response.
-