Class BitstreamResource

java.lang.Object
org.springframework.core.io.AbstractResource
org.dspace.app.rest.utils.BitstreamResource
All Implemented Interfaces:
InputStreamSource, Resource
Direct Known Subclasses:
BitstreamResourceAccessByToken

public class BitstreamResource extends AbstractResource
This class acts as a AbstractResource used by Spring's framework to send the data in a proper and streamlined way inside the ResponseEntity body. This class' attributes are being used by Spring's framework in the overridden methods so that the proper attributes are given and used in the response.