public interface Response extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
getHeader(String name) |
Map<String,List<String>> |
getHeaders() |
InputStream |
getInputStream() |
int |
getStatusCode() |
String |
getStatusMessage() |
int getStatusCode() throws IOException
IOException
String getStatusMessage() throws IOException
IOException
InputStream getInputStream() throws IOException
IOException
void close()
close
in interface AutoCloseable
close
in interface Closeable
Copyright © 2019. All rights reserved.