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

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

Introduction

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

Usage

From source file xyz.cloudbans.client.utils.httpclient.SerializerConsumer.java

public class SerializerConsumer<T> extends AsyncCharConsumer<T> {

    private final StringBuilder sb = new StringBuilder();
    private final Serializer serializer;
    private final Class<T> targetClass;

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

/**
 * An asynchronous consumer that consumes empty responses. If a non-empty
 * response is received with a success status code (2xx), then a warning is
 * logged.
 */
class EmptyAsyncConsumer extends AsyncCharConsumer<Void> {

From source file org.openstack.burrow.backend.http.SingleMessageResponseConsumer.java

/**
 * SingleMessageResponseConsumer extends AsyncCharConsumer and helps with
 * processing the response asynchronously from the server. Has a StringBuilder,
 * an Exception, a String denoting mimeType, and a SingMessageRequest as fields.
 */
public class SingleMessageResponseConsumer extends AsyncCharConsumer<Message> {

From source file org.openstack.burrow.backend.http.QueueListResponseConsumer.java

/**
 * QueueListResponseConsumer extends AsyncCharConsumer and helps with processing
 * the response asynchronously from the server. Has a StringBuilder, an
 * Exception, a String denoting mimeType, and a QueueListRequest as fields.
 */
public class QueueListResponseConsumer extends AsyncCharConsumer<List<Queue>> {

From source file org.openstack.burrow.backend.http.MessageListResponseConsumer.java

/**
 * MessageListResponseConsumer extends AsyncCharConsumer and helps with
 * processing the response asynchronously from the server. Has a StringBuilder,
 * an Exception, a String denoting mimeType, and a MessageListRequest as fields.
 */
public class MessageListResponseConsumer extends AsyncCharConsumer<List<Message>> {

From source file org.openstack.burrow.backend.http.AccountListResponseConsumer.java

/**
 * AccountListResponseConsumer extends AsyncCharConsumer and helps with
 * processing the response asynchronously from the server. Has a StringBuilder,
 * an Exception, and a String denoting mimeType as fields.
 */
public class AccountListResponseConsumer extends AsyncCharConsumer<List<Account>> {