Package dev.dsf.fhir.webservice.jaxrs
Class BinaryServiceJaxrs
java.lang.Object
dev.dsf.fhir.webservice.base.AbstractBasicService
dev.dsf.fhir.webservice.base.AbstractDelegatingBasicService<S>
dev.dsf.fhir.webservice.jaxrs.AbstractServiceJaxrs<S>
dev.dsf.fhir.webservice.jaxrs.AbstractResourceServiceJaxrs<org.hl7.fhir.r4.model.Binary,BinaryService>
dev.dsf.fhir.webservice.jaxrs.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 Summary
FieldsFields inherited from class dev.dsf.fhir.webservice.base.AbstractDelegatingBasicService
delegateFields inherited from class dev.dsf.fhir.webservice.base.AbstractBasicService
currentIdentityProvider -
Constructor Summary
ConstructorsConstructorDescriptionBinaryServiceJaxrs(BinaryService delegate, ParameterConverter parameterConverter) -
Method Summary
Modifier and TypeMethodDescriptionvoidjakarta.ws.rs.core.Responsecreate(InputStream in, jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers) jakarta.ws.rs.core.Responseread by idjakarta.ws.rs.core.Responseupdate(String id, InputStream in, jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers) jakarta.ws.rs.core.Responsevread(String id, long version, jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers) read by id and versionMethods inherited from class dev.dsf.fhir.webservice.jaxrs.AbstractResourceServiceJaxrs
create, delete, delete, deletePermanently, getValidateExisting, getValidateNew, history, history, postValidateExisting, postValidateNew, search, update, updateMethods inherited from class dev.dsf.fhir.webservice.base.AbstractDelegatingBasicService
setCurrentIdentityProviderMethods inherited from class dev.dsf.fhir.webservice.base.AbstractBasicService
getCurrentIdentityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.dsf.fhir.webservice.specification.BasicResourceService
create, delete, delete, deletePermanently, getValidateExisting, getValidateNew, history, history, postValidateExisting, postValidateNew, search, update, updateMethods inherited from interface dev.dsf.fhir.webservice.base.BasicService
setCurrentIdentityProvider
-
Field Details
-
PATH
- See Also:
-
-
Constructor Details
-
BinaryServiceJaxrs
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classAbstractServiceJaxrs<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:
createin interfaceBinaryService
-
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:BasicResourceServiceread by id- Specified by:
readin interfaceBasicResourceService<org.hl7.fhir.r4.model.Binary>- Overrides:
readin classAbstractResourceServiceJaxrs<org.hl7.fhir.r4.model.Binary,BinaryService> - Parameters:
id- notnulluri- notnullheaders- notnull- Returns:
Responsedefined 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:BasicResourceServiceread by id and version- Specified by:
vreadin interfaceBasicResourceService<org.hl7.fhir.r4.model.Binary>- Overrides:
vreadin classAbstractResourceServiceJaxrs<org.hl7.fhir.r4.model.Binary,BinaryService> - Parameters:
id- notnullversion->0uri- notnullheaders- notnull- Returns:
Responsedefined 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:
updatein interfaceBinaryService
-