public class ResourcePart extends AbstractPart
contentType, name| Constructor and Description |
|---|
ResourcePart(String name,
org.springframework.core.io.Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream() |
contentType, delete, getContentType, getHeader, getHeaderNames, getHeaders, getName, getSize, getSubmittedFileName, setSubmittedFileName, writepublic ResourcePart(String name, org.springframework.core.io.Resource resource)
public InputStream getInputStream() throws IOException
getInputStream in interface javax.servlet.http.PartgetInputStream in class AbstractPartIOExceptionCopyright © 2017–2021 The Apache Software Foundation. All rights reserved.