WARNING: This class will be REMOVED in the next version.
@Deprecated public static class Multipart.Part extends Object
Multipart.Part
Constructor and Description |
---|
Multipart.Part(Map<String,String> headers,
byte[] body)
Deprecated.
|
Multipart.Part(Map<String,String> headers,
InputStream body)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBody()
Deprecated.
Body of this part
|
String |
getBodyAsString()
Deprecated.
|
Map<String,String> |
getHeaders()
Deprecated.
Headers defined in the part
|
InputStream |
getStream()
Deprecated.
|
public Multipart.Part(Map<String,String> headers, InputStream body)
public byte[] getBody()
public String getBodyAsString()
public InputStream getStream()
Copyright © 2013. All Rights Reserved.