Example usage for org.apache.http.entity.mime MinimalField getName

List of usage examples for org.apache.http.entity.mime MinimalField getName

Introduction

In this page you can find the example usage for org.apache.http.entity.mime MinimalField getName.

Prototype

public String getName() 

Source Link

Usage

From source file:nl.nn.adapterframework.http.mime.MultipartForm.java

protected static void writeField(final MinimalField field, final OutputStream out) throws IOException {
    writeBytes(field.getName(), out);
    writeBytes(FIELD_SEP, out);//from ww  w .j  a  va  2 s. co m
    writeBytes(field.getBody(), out);
    writeBytes(CR_LF, out);
}

From source file:nl.nn.adapterframework.http.mime.MultipartForm.java

protected static void writeField(final MinimalField field, final Charset charset, final OutputStream out)
        throws IOException {
    writeBytes(field.getName(), charset, out);
    writeBytes(FIELD_SEP, out);/*w  w  w .  j a  va  2s .co  m*/
    writeBytes(field.getBody(), charset, out);
    writeBytes(CR_LF, out);
}

From source file:org.apache.manifoldcf.agents.output.solr.ModifiedHttpMultipart.java

private static void writeField(final MinimalField field, final OutputStream out) throws IOException {
    writeBytes(field.getName(), out);
    writeBytes(FIELD_SEP, out);// w  w w  . ja  v a 2s .  c o m
    writeBytes(field.getBody(), out);
    writeBytes(CR_LF, out);
}

From source file:org.apache.manifoldcf.agents.output.solr.ModifiedHttpMultipart.java

private static void writeField(final MinimalField field, final Charset charset, final OutputStream out)
        throws IOException {
    writeBytes(field.getName(), charset, out);
    writeBytes(FIELD_SEP, out);/* w  w  w  . j  a  va  2 s .c  om*/
    writeBytes(field.getBody(), charset, out);
    writeBytes(CR_LF, out);
}