Package no.hasmac.jsonld.http
Class DefaultHttpClient.HttpResponseImpl
java.lang.Object
no.hasmac.jsonld.http.DefaultHttpClient.HttpResponseImpl
- All Implemented Interfaces:
Closeable
,AutoCloseable
,HttpResponse
- Enclosing class:
DefaultHttpClient
-
Field Details
-
response
-
-
Constructor Details
-
HttpResponseImpl
HttpResponseImpl(HttpResponse<InputStream> response)
-
-
Method Details
-
statusCode
public int statusCode()- Specified by:
statusCode
in interfaceHttpResponse
-
body
- Specified by:
body
in interfaceHttpResponse
-
links
- Specified by:
links
in interfaceHttpResponse
-
contentType
- Specified by:
contentType
in interfaceHttpResponse
-
location
- Specified by:
location
in interfaceHttpResponse
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-