java.lang.Object
net.officefloor.tutorial.azurewebappshttpserver.AzureLogic

public class AzureLogic extends Object
Azure logic.
Author:
Daniel Sagenschneider
  • Constructor Details

    • AzureLogic

      public AzureLogic()
  • Method Details

    • savePost

      public void savePost(Post post, CosmosEntities entities, net.officefloor.web.ObjectResponse<Post> response)
      Saves a Post.
    • retrievePost

      public void retrievePost(@HttpPathParameter("id") String identifier, CosmosEntities entities, net.officefloor.web.ObjectResponse<Post> response)
      Retrieves a Post by identifier.
    • retrieveAllPosts

      public reactor.core.publisher.Flux<Post> retrieveAllPosts(CosmosAsyncEntities entities, net.officefloor.web.ObjectResponse<Post[]> response)
      Retrieves all Post instances asynchronously.
    • sendPosts

      public void sendPosts(@Parameter Post[] posts, net.officefloor.web.ObjectResponse<Post[]> response)
      Sends the Post array response.