Package com.ibm.fhir.server.resources
Class Update
- java.lang.Object
-
- com.ibm.fhir.server.resources.FHIRResource
-
- com.ibm.fhir.server.resources.Update
-
@Path("/") @Consumes({"application/fhir+json","application/json","application/fhir+xml","application/xml"}) @Produces({"application/fhir+json","application/json","application/fhir+xml","application/xml"}) @RolesAllowed("FHIRUsers") @RequestScoped public class Update extends FHIRResource
-
-
Field Summary
-
Fields inherited from class com.ibm.fhir.server.resources.FHIRResource
AUDIT_LOGGING_ERR_MSG, context, fhirConfig, HTTP_DATETIME_FORMATTER, httpServletRequest, securityContext, uriInfo
-
-
Constructor Summary
Constructors Constructor Description Update()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
conditionalUpdate(String type, Resource resource, String ifMatch, boolean onlyIfModified)
javax.ws.rs.core.Response
update(String type, String id, Resource resource, String ifMatch, boolean onlyIfModified, String ifNoneMatchHdr)
-
Methods inherited from class com.ibm.fhir.server.resources.FHIRResource
addHeaders, addHeaders, buildOperationOutcomeIssue, buildRestException, buildRestException, buildUnsupportedResourceTypeException, checkInitComplete, checkType, exceptionResponse, exceptionResponse, exceptionResponse, exceptionResponse, getAbsoluteUri, getPersistenceImpl, getRequestBaseUri, getRequestUri, isDeleteSupported, isUpdateCreateEnabled, parseIfModifiedSince, toUri
-
-
-
-
Method Detail
-
update
@PUT @Path("{type}/{id}") public javax.ws.rs.core.Response update(@PathParam("type") String type, @PathParam("id") String id, Resource resource, @HeaderParam("If-Match") String ifMatch, @HeaderParam("X-FHIR-UPDATE-IF-MODIFIED") boolean onlyIfModified, @HeaderParam("If-None-Match") String ifNoneMatchHdr)
-
-