Package io.airlift.http.client
Interface Response
-
- All Known Implementing Classes:
TestingResponse
public interface Response
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description longgetBytesRead()default StringgetHeader(String name)com.google.common.collect.ListMultimap<HeaderName,String>getHeaders()default List<String>getHeaders(String name)InputStreamgetInputStream()intgetStatusCode()
-
-
-
Method Detail
-
getStatusCode
int getStatusCode()
-
getHeaders
com.google.common.collect.ListMultimap<HeaderName,String> getHeaders()
-
getBytesRead
long getBytesRead()
-
getInputStream
InputStream getInputStream() throws IOException
- Throws:
IOException
-
-