-
- All Implemented Interfaces:
-
io.outfoxx.sunday.http.Response
public final class ResultResponse<T extends Object> implements Response
HTTP response that includes a parsed/decoded result.
-
-
Field Summary
Fields Modifier and Type Field Description private final Tresultprivate final IntegerstatusCodeprivate final StringreasonPhraseprivate final Iterable<Pair<String, String>>headersprivate final BufferedSourcebodyprivate final Iterable<Pair<String, String>>trailersprivate final Requestrequest
-
Constructor Summary
Constructors Constructor Description ResultResponse(T result, Response response)
-
Method Summary
Modifier and Type Method Description final TgetResult()final Tcomponent1()final ResultResponse<T>copy(T result, Response response)-
Methods inherited from class io.outfoxx.sunday.http.Response
getBody, getHeaders, getReasonPhrase, getRequest, getStatusCode, getTrailers -
Methods inherited from class kotlin.Any
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-