protected abstract static class ApacheMultipartParsers.SizeException
extends org.apache.commons.fileupload.FileUploadException
| 限定符 | 构造器和说明 |
|---|---|
protected |
SizeException(String message,
long actual,
long permitted)
Creates a new instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getActualSize()
Retrieves the actual size of the request.
|
long |
getPermittedSize()
Retrieves the permitted size of the request.
|
getCause, printStackTrace, printStackTraceaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toStringprotected SizeException(String message, long actual, long permitted)
message - The detail message.actual - The actual number of bytes in the request.permitted - The requests size limit, in bytes.Copyright © 2020. All rights reserved.