public class ResourcePart extends org.apache.commons.httpclient.methods.multipart.FilePart
Constructor and Description |
---|
ResourcePart(String name,
ResourcePartSource partSource,
String contentType,
String headerCharset) |
Modifier and Type | Method and Description |
---|---|
String |
getCharSet() |
Resource |
getResource() |
static void |
sendDispositionHeader(String name,
String filename,
String headerCharset,
OutputStream out) |
getContentType, getName, getTransferEncoding, setCharSet, setContentType, setName, setTransferEncoding
public ResourcePart(String name, ResourcePartSource partSource, String contentType, String headerCharset)
public Resource getResource()
public String getCharSet()
getCharSet
in class org.apache.commons.httpclient.methods.multipart.PartBase
public static void sendDispositionHeader(String name, String filename, String headerCharset, OutputStream out) throws IOException
IOException
Copyright © 2015 Lucee