Class LinkFormatStream
- java.lang.Object
-
- org.fcrepo.http.commons.responses.LinkFormatStream
-
- All Implemented Interfaces:
AutoCloseable
public class LinkFormatStream extends Object implements AutoCloseable
Stream of links for Memento TimeMaps- Since:
- 2017-10-24
- Author:
- whikloj
-
-
Constructor Summary
Constructors Constructor Description LinkFormatStream(Stream<javax.ws.rs.core.Link> stream)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Stream<javax.ws.rs.core.Link>
getStream()
Generic getter
-
-
-
Constructor Detail
-
LinkFormatStream
public LinkFormatStream(Stream<javax.ws.rs.core.Link> stream)
Constructor- Parameters:
stream
- the stream of Links
-
-
Method Detail
-
getStream
public Stream<javax.ws.rs.core.Link> getStream()
Generic getter- Returns:
- the Stream of Links
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
-
-