Uses of Enum Class
com.vaadin.flow.server.HttpStatusCode
Packages that use HttpStatusCode
-
Uses of HttpStatusCode in com.vaadin.flow.server
Methods in com.vaadin.flow.server that return HttpStatusCodeModifier and TypeMethodDescriptionstatic HttpStatusCode
Returns the enum constant of this class with the specified name.static HttpStatusCode[]
HttpStatusCode.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of HttpStatusCode in com.vaadin.flow.server.streams
Methods in com.vaadin.flow.server.streams with parameters of type HttpStatusCodeModifier and TypeMethodDescriptionstatic DownloadResponse
DownloadResponse.error
(HttpStatusCode statusCode) Generate an error response for download.static DownloadResponse
DownloadResponse.error
(HttpStatusCode statusCode, Exception exception) Generate an error response for download.static DownloadResponse
DownloadResponse.error
(HttpStatusCode statusCode, String message) Generate an error response for download with message.static DownloadResponse
DownloadResponse.error
(HttpStatusCode statusCode, String message, Exception exception) Generate an error response for download with message.void
DownloadResponse.setError
(HttpStatusCode error) Set http error code.void
DownloadResponse.setError
(HttpStatusCode error, Exception exception) Set http error code.void
DownloadResponse.setError
(HttpStatusCode error, String errorMessage) Set http error code and error message.void
DownloadResponse.setError
(HttpStatusCode error, String errorMessage, Exception exception) Set http error code and error message.