Class DocumentResource
java.lang.Object
com.blazebit.persistence.examples.quarkus.base.resource.DocumentResource
- Since:
- 1.5.0
- Author:
- Moritz Becker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Responsejakarta.ws.rs.core.ResponsegetDocuments(List<Long> ages) updateDocument(DocumentUpdateView documentUpdateView)
-
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()
-