Package | Description |
---|---|
com.ning.http.multipart |
Modifier and Type | Class and Description |
---|---|
class |
FilePart
This class is an adaptation of the Apache HttpClient implementation
|
class |
PartBase
This class is an adaptation of the Apache HttpClient implementation
|
class |
StringPart
This class is an adaptation of the Apache HttpClient implementation
|
Modifier and Type | Field and Description |
---|---|
protected Part[] |
MultipartRequestEntity.parts
The MIME parts as set by the constructor
|
Modifier and Type | Method and Description |
---|---|
static long |
Part.getLengthOfParts(Part[] parts)
Return the total sum of all parts and that of the last boundary
|
static long |
Part.getLengthOfParts(Part[] parts,
byte[] partBoundary)
Gets the length of the multipart message including the given parts.
|
static void |
Part.sendPart(OutputStream out,
Part part,
byte[] partBoundary)
Write all parts and the last boundary to the specified output stream.
|
static void |
Part.sendParts(OutputStream out,
Part[] parts)
Write all parts and the last boundary to the specified output stream.
|
static void |
Part.sendParts(OutputStream out,
Part[] parts,
byte[] partBoundary)
Write all parts and the last boundary to the specified output stream.
|
Constructor and Description |
---|
MultipartRequestEntity(Part[] parts,
FluentStringsMap methodParams)
Creates a new multipart entity containing the given parts.
|
Copyright © 2015. All rights reserved.