public class Multipart extends Object
| Constructor and Description |
|---|
Multipart(Request request,
String location,
long maxFileSize,
long maxRequestSize,
int fileSizeThreshold) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFileSizeThreshold() |
String |
getLocation() |
long |
getMaxFileSize() |
long |
getMaxRequestSize() |
javax.servlet.http.Part |
getPart(String name) |
Collection<javax.servlet.http.Part> |
getParts() |
ProgressListener |
getProgressListener()
Returns the progress listener.
|
File |
getRepository() |
void |
init() |
void |
setProgressListener(ProgressListener pListener)
Sets the progress listener.
|
public void init()
public String getLocation()
public int getFileSizeThreshold()
public long getMaxFileSize()
public long getMaxRequestSize()
public File getRepository()
public Collection<javax.servlet.http.Part> getParts() throws IOException, javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic javax.servlet.http.Part getPart(String name) throws IOException, javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic ProgressListener getProgressListener()
public void setProgressListener(ProgressListener pListener)
pListener - The progress listener, if any. Defaults to null.Copyright © 2019. All rights reserved.