Class JettyHttpResponse<T>
- java.lang.Object
-
- io.fabric8.kubernetes.client.jetty.JettyHttpResponse<T>
-
- All Implemented Interfaces:
io.fabric8.kubernetes.client.http.HttpHeaders,io.fabric8.kubernetes.client.http.HttpResponse<T>
public class JettyHttpResponse<T> extends Object implements io.fabric8.kubernetes.client.http.HttpResponse<T>
-
-
Constructor Summary
Constructors Constructor Description JettyHttpResponse(io.fabric8.kubernetes.client.http.HttpRequest request, org.eclipse.jetty.client.api.Response response, T body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tbody()intcode()Map<String,List<String>>headers()List<String>headers(String key)Optional<io.fabric8.kubernetes.client.http.HttpResponse<?>>previousResponse()io.fabric8.kubernetes.client.http.HttpRequestrequest()
-
-
-
Constructor Detail
-
JettyHttpResponse
public JettyHttpResponse(io.fabric8.kubernetes.client.http.HttpRequest request, org.eclipse.jetty.client.api.Response response, T body)
-
-
Method Detail
-
headers
public List<String> headers(String key)
- Specified by:
headersin interfaceio.fabric8.kubernetes.client.http.HttpHeaders
-
headers
public Map<String,List<String>> headers()
- Specified by:
headersin interfaceio.fabric8.kubernetes.client.http.HttpHeaders
-
code
public int code()
- Specified by:
codein interfaceio.fabric8.kubernetes.client.http.HttpResponse<T>
-
body
public T body()
- Specified by:
bodyin interfaceio.fabric8.kubernetes.client.http.HttpResponse<T>
-
request
public io.fabric8.kubernetes.client.http.HttpRequest request()
- Specified by:
requestin interfaceio.fabric8.kubernetes.client.http.HttpResponse<T>
-
-