Example usage for org.apache.http.nio.protocol HttpAsyncRequestProducer interface-usage

List of usage examples for org.apache.http.nio.protocol HttpAsyncRequestProducer interface-usage

Introduction

In this page you can find the example usage for org.apache.http.nio.protocol HttpAsyncRequestProducer interface-usage.

Usage

From source file org.apache.cxf.transport.http.asyncclient.CXFHttpAsyncRequestProducer.java

public class CXFHttpAsyncRequestProducer implements HttpAsyncRequestProducer {

    private final CXFHttpRequest request;
    private final SharedOutputBuffer buf;
    private volatile CachedOutputStream content;
    private volatile ByteBuffer buffer;

From source file org.jenkinsci.plugins.relution_publisher.net.requests.ZeroCopyFileRequestProducer.java

public class ZeroCopyFileRequestProducer implements HttpAsyncRequestProducer {

    private final static String CHARSET_NAME = "UTF-8";
    private final static Charset CHARSET = Charset.forName(CHARSET_NAME);

    private final static String CONTENT_TYPE_MULTIPART_FORM_DATA = "multipart/form-data; boundary=%s";