Class BitstreamResource
- java.lang.Object
-
- org.springframework.hateoas.RepresentationModel<org.springframework.hateoas.EntityModel<T>>
-
- org.springframework.hateoas.EntityModel<T>
-
- org.dspace.app.rest.model.hateoas.HALResource<T>
-
- org.dspace.app.rest.model.hateoas.DSpaceResource<BitstreamRest>
-
- org.dspace.app.rest.model.hateoas.BitstreamResource
-
@RelNameDSpaceResource("bitstream") public class BitstreamResource extends DSpaceResource<BitstreamRest>
Bitstream Rest HAL Resource. The HAL Resource wraps the REST Resource adding support for the links and embedded resources- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
-
-
Field Summary
-
Fields inherited from class org.dspace.app.rest.model.hateoas.HALResource
embedded
-
-
Constructor Summary
Constructors Constructor Description BitstreamResource(BitstreamRest bs, Utils utils)
-
Method Summary
-
Methods inherited from class org.dspace.app.rest.model.hateoas.DSpaceResource
getContent
-
Methods inherited from class org.dspace.app.rest.model.hateoas.HALResource
add, embedResource, getEmbeddedResources, setPageHeader
-
-
-
-
Constructor Detail
-
BitstreamResource
public BitstreamResource(BitstreamRest bs, Utils utils)
-
-