|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
WARNING: This class will be REMOVED in the next version.
@Deprecated public interface StreamHandler
Used with RiakClient.stream() to process the HTTP responses for fetch requests as a stream.
StreamHandler| Method Summary | |
|---|---|
boolean |
process(String bucket,
String key,
int status,
Map<String,String> headers,
InputStream in,
org.apache.http.HttpResponse httpMethod)
Deprecated. Process the HTTP response whose value is given as a stream. |
| Method Detail |
|---|
boolean process(String bucket,
String key,
int status,
Map<String,String> headers,
InputStream in,
org.apache.http.HttpResponse httpMethod)
bucket - The object's bucketkey - The object's keystatus - The HTTP status code returned for the requestheaders - The HTTP headers returned in the responsein - InputStream of the object's value (body)httpMethod - The original HttpResponse used to make the request. Its
connection is still open and will be closed by the caller on
return.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||