|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpResponse
Representation of an HTTP response as returned by an implementation of
the HttpRequestExecutor
strategy.
Method Summary | |
---|---|
java.io.InputStream |
getBody()
Return the body of the response as an InputStream. |
java.lang.String |
getFirstHeader(java.lang.String key)
Return the first header value for a given key, or null if it has no values. |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getHeaders()
Return all response headers as a map. |
java.util.List<java.lang.String> |
getHeaders(java.lang.String key)
Return all header values for a given key, or null if it has no values. |
Method Detail |
---|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> getHeaders()
java.util.List<java.lang.String> getHeaders(java.lang.String key)
java.lang.String getFirstHeader(java.lang.String key)
java.io.InputStream getBody()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |