Class ResponseImpl
- java.lang.Object
-
- de.julielab.concepts.db.core.http.ResponseImpl
-
- All Implemented Interfaces:
Response,AutoCloseable
public class ResponseImpl extends Object implements Response
-
-
Constructor Summary
Constructors Constructor Description ResponseImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()List<Object>getErrors()List<Result>getResultList()Stream<Result>getResults()ResultgetSingleResult()voidsetErrors(List<Object> errors)voidsetResults(List<Result> results)StringtoString()
-
-
-
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
-
-