|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrx.apache.http.ObservableHttpResponse
public class ObservableHttpResponse
The HttpResponse for the entire request and accessor to Observable of the content stream.
| Constructor Summary | |
|---|---|
ObservableHttpResponse(org.apache.http.HttpResponse response,
rx.Observable<byte[]> contentSubscription)
|
|
| Method Summary | |
|---|---|
rx.Observable<byte[]> |
getContent()
If the response is not chunked then only a single array will be returned. |
org.apache.http.HttpResponse |
getResponse()
The HttpResponse returned by the Apache client at the beginning of the response. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObservableHttpResponse(org.apache.http.HttpResponse response,
rx.Observable<byte[]> contentSubscription)
| Method Detail |
|---|
public org.apache.http.HttpResponse getResponse()
HttpResponse returned by the Apache client at the beginning of the response.
HttpResponse with HTTP status codes, headers, etcpublic rx.Observable<byte[]> getContent()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||