public class MultipartFileSender
extends java.lang.Object
Constructor and Description |
---|
MultipartFileSender() |
Modifier and Type | Method and Description |
---|---|
static MultipartFileSender |
fromFile(java.io.File file) |
static MultipartFileSender |
fromPath(java.nio.file.Path path) |
static MultipartFileSender |
fromURIString(java.lang.String uri) |
void |
serveResource() |
MultipartFileSender |
with(javax.servlet.http.HttpServletRequest httpRequest) |
MultipartFileSender |
with(javax.servlet.http.HttpServletResponse httpResponse) |
public static MultipartFileSender fromPath(java.nio.file.Path path)
public static MultipartFileSender fromFile(java.io.File file)
public static MultipartFileSender fromURIString(java.lang.String uri)
public MultipartFileSender with(javax.servlet.http.HttpServletRequest httpRequest)
public MultipartFileSender with(javax.servlet.http.HttpServletResponse httpResponse)
public void serveResource() throws java.io.IOException
java.io.IOException