equal
deleted
inserted
replaced
39 import jdk.internal.net.http.websocket.RawChannel; |
39 import jdk.internal.net.http.websocket.RawChannel; |
40 |
40 |
41 /** |
41 /** |
42 * The implementation class for HttpResponse |
42 * The implementation class for HttpResponse |
43 */ |
43 */ |
44 class HttpResponseImpl<T> extends HttpResponse<T> implements RawChannel.Provider { |
44 class HttpResponseImpl<T> implements HttpResponse<T>, RawChannel.Provider { |
45 |
45 |
46 final int responseCode; |
46 final int responseCode; |
47 final Exchange<T> exchange; |
47 final Exchange<T> exchange; |
48 final HttpRequest initialRequest; |
48 final HttpRequest initialRequest; |
49 final Optional<HttpResponse<T>> previousResponse; |
49 final Optional<HttpResponse<T>> previousResponse; |