Example usage for org.apache.http.nio.client.methods AsyncByteConsumer subclass-usage

List of usage examples for org.apache.http.nio.client.methods AsyncByteConsumer subclass-usage

Introduction

In this page you can find the example usage for org.apache.http.nio.client.methods AsyncByteConsumer subclass-usage.

Usage

From source file com.clxcommunications.xms.JsonApiAsyncConsumer.java

/**
 * An asynchronous consumer that consumes JSON objects.
 * 
 * @param <T>
 *            the expected type after deserialization
 */

From source file rx.apache.http.consumers.ResponseConsumerEventStream.java

/**
 * {@link HttpAsyncResponseConsumer} for Content-Type:text/event-stream
 * <p>
 * It will emit a byte[] via {@link Observer#onNext} for each non-empty line.
 */
class ResponseConsumerEventStream extends AsyncByteConsumer<HttpResponse> implements ResponseDelegate {