Class StreamingResponse
- java.lang.Object
-
- de.julielab.concepts.db.core.http.StreamingResponse
-
- All Implemented Interfaces:
Response,AutoCloseable
public class StreamingResponse extends Object implements Response
-
-
Constructor Summary
Constructors Constructor Description StreamingResponse(InputStream responseStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()List<Object>getErrors()Stream<Result>getResults()ResultgetSingleResult()
-
-
-
Constructor Detail
-
StreamingResponse
public StreamingResponse(InputStream responseStream)
-
-
Method Detail
-
getResults
public Stream<Result> getResults()
- Specified by:
getResultsin interfaceResponse
-
getSingleResult
public Result getSingleResult()
- Specified by:
getSingleResultin interfaceResponse
-
close
public void close() throws Exception- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
-