Package io.freefair.spring.okhttp.client
Class OkHttpClientResponse
java.lang.Object
io.freefair.spring.okhttp.client.OkHttpClientResponse
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.springframework.http.client.ClientHttpResponse
,org.springframework.http.HttpInputMessage
,org.springframework.http.HttpMessage
public class OkHttpClientResponse
extends Object
implements org.springframework.http.client.ClientHttpResponse
OkHttp based
ClientHttpResponse
implementation.- See Also:
-
Constructor Details
-
OkHttpClientResponse
-
-
Method Details
-
getStatusCode
- Specified by:
getStatusCode
in interfaceorg.springframework.http.client.ClientHttpResponse
-
getStatusText
- Specified by:
getStatusText
in interfaceorg.springframework.http.client.ClientHttpResponse
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceorg.springframework.http.client.ClientHttpResponse
- Specified by:
close
in interfaceCloseable
-
getBody
- Specified by:
getBody
in interfaceorg.springframework.http.HttpInputMessage
-
getHeaders
- Specified by:
getHeaders
in interfaceorg.springframework.http.HttpMessage
-