Package com.vaadin.flow.component.upload
Class UploadI18N.Uploading.Error
java.lang.Object
com.vaadin.flow.component.upload.UploadI18N.Uploading.Error
- All Implemented Interfaces:
Serializable
- Enclosing class:
UploadI18N.Uploading
Communication error translations.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the file too large error message shown when the server returns HTTP 413 (Payload Too Large).setFileTooLarge(String fileTooLarge) Sets the file too large error message shown when the server returns HTTP 413 (Payload Too Large).setForbidden(String forbidden) setServerUnavailable(String serverUnavailable) setUnexpectedServerError(String unexpectedServerError)
-
Constructor Details
-
Error
public Error()
-
-
Method Details
-
getUnexpectedServerError
- Returns:
- translation string
-
setUnexpectedServerError
- Parameters:
unexpectedServerError- translation string- Returns:
-
getForbidden
- Returns:
- translation string
-
setForbidden
- Parameters:
forbidden- translation string- Returns:
-
getFileTooLarge
Gets the file too large error message shown when the server returns HTTP 413 (Payload Too Large).- Returns:
- translation string
-
setFileTooLarge
Sets the file too large error message shown when the server returns HTTP 413 (Payload Too Large).- Parameters:
fileTooLarge- translation string- Returns:
- this instance for chaining