Class BinaryServiceJaxrs

All Implemented Interfaces:
BasicService, BasicResourceService<org.hl7.fhir.r4.model.Binary>, BinaryService, org.springframework.beans.factory.InitializingBean

@Path("Binary") public class BinaryServiceJaxrs extends AbstractResourceServiceJaxrs<org.hl7.fhir.r4.model.Binary,BinaryService> implements BinaryService
  • Field Details

  • Constructor Details

  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Overrides:
      afterPropertiesSet in class AbstractServiceJaxrs<BinaryService>
      Throws:
      Exception
    • create

      @POST @Consumes @Produces({"application/xml+fhir","application/fhir+xml","application/xml","application/json+fhir","application/fhir+json","application/json","text/html"}) public jakarta.ws.rs.core.Response create(InputStream in, @Context jakarta.ws.rs.core.UriInfo uri, @Context jakarta.ws.rs.core.HttpHeaders headers)
      Specified by:
      create in interface BinaryService
    • read

      @GET @Path("/{id}") @Produces public jakarta.ws.rs.core.Response read(@PathParam("id") String id, @Context jakarta.ws.rs.core.UriInfo uri, @Context jakarta.ws.rs.core.HttpHeaders headers)
      Description copied from interface: BasicResourceService
      read by id
      Specified by:
      read in interface BasicResourceService<org.hl7.fhir.r4.model.Binary>
      Overrides:
      read in class AbstractResourceServiceJaxrs<org.hl7.fhir.r4.model.Binary,BinaryService>
      Parameters:
      id - not null
      uri - not null
      headers - not null
      Returns:
      Response defined in https://www.hl7.org/fhir/http.html#read
    • vread

      @GET @Path("/{id}/_history/{version}") @Produces public jakarta.ws.rs.core.Response vread(@PathParam("id") String id, @PathParam("version") long version, @Context jakarta.ws.rs.core.UriInfo uri, @Context jakarta.ws.rs.core.HttpHeaders headers)
      Description copied from interface: BasicResourceService
      read by id and version
      Specified by:
      vread in interface BasicResourceService<org.hl7.fhir.r4.model.Binary>
      Overrides:
      vread in class AbstractResourceServiceJaxrs<org.hl7.fhir.r4.model.Binary,BinaryService>
      Parameters:
      id - not null
      version - >0
      uri - not null
      headers - not null
      Returns:
      Response defined in https://www.hl7.org/fhir/http.html#vread
    • update

      @PUT @Path("/{id}") @Consumes @Produces({"application/xml+fhir","application/fhir+xml","application/xml","application/json+fhir","application/fhir+json","application/json","text/html"}) public jakarta.ws.rs.core.Response update(@PathParam("id") String id, InputStream in, @Context jakarta.ws.rs.core.UriInfo uri, @Context jakarta.ws.rs.core.HttpHeaders headers)
      Specified by:
      update in interface BinaryService