public class HttpclientMultipartCommonBody
extends org.apache.http.entity.mime.content.AbstractContentBody
Constructor and Description |
---|
HttpclientMultipartCommonBody(ForestRequest request,
ForestMultipart multipart,
org.apache.http.entity.ContentType contentType,
String filename,
LifeCycleHandler handler) |
Modifier and Type | Method and Description |
---|---|
long |
getContentLength() |
String |
getFilename() |
InputStream |
getInputStream() |
String |
getTransferEncoding() |
void |
writeTo(OutputStream out) |
public HttpclientMultipartCommonBody(ForestRequest request, ForestMultipart multipart, org.apache.http.entity.ContentType contentType, String filename, LifeCycleHandler handler)
public String getTransferEncoding()
public long getContentLength()
public InputStream getInputStream()
public String getFilename()
public void writeTo(OutputStream out) throws IOException
IOException
Copyright © 2020. All rights reserved.