Interface ApiClientConnectorResponse
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
OkHttpResponse
public interface ApiClientConnectorResponse extends AutoCloseable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStreamgetBody()Map<String,String>getHeaders()intgetStatusCode()StringgetStatusReasonPhrase()booleanhasBody()StringreadBody()-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
getStatusCode
int getStatusCode()
-
getStatusReasonPhrase
String getStatusReasonPhrase()
-
hasBody
boolean hasBody()
-
readBody
String readBody() throws IOException
- Throws:
IOException
-
getBody
InputStream getBody() throws IOException
- Throws:
IOException
-
-