java.lang.Object
com.blazebit.persistence.examples.quarkus.base.resource.DocumentResource

@Path("documents") public class DocumentResource extends Object
Since:
1.5.0
Author:
Moritz Becker
  • Constructor Details

    • DocumentResource

      public DocumentResource()
  • Method Details

    • updateDocument

      @PUT @Path("{id}") @Consumes("application/json") @Produces("application/json") public DocumentView updateDocument(DocumentUpdateView documentUpdateView)
    • addDocument

      @POST @Produces("application/json") public jakarta.ws.rs.core.Response addDocument(DocumentUpdateView view)
    • getDocuments

      @GET @Produces("application/json") public List<DocumentView> getDocuments(@QueryParam("age") List<Long> ages)
    • getDocumentsWithJsonIgnoredName

      @GET @Produces("application/vnd.blazebit.noname+json") public List<DocumentWithJsonIgnoredNameView> getDocumentsWithJsonIgnoredName(@QueryParam("age") List<Long> ages)
    • clearDocuments

      @DELETE public jakarta.ws.rs.core.Response clearDocuments()