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 HttpStatusCodeReturns 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 DownloadResponseDownloadResponse.error(HttpStatusCode statusCode) Generate an error response for download.static DownloadResponseDownloadResponse.error(HttpStatusCode statusCode, Exception exception) Generate an error response for download.static DownloadResponseDownloadResponse.error(HttpStatusCode statusCode, String message) Generate an error response for download with message.static DownloadResponseDownloadResponse.error(HttpStatusCode statusCode, String message, Exception exception) Generate an error response for download with message.voidDownloadResponse.setError(HttpStatusCode error) Set http error code.voidDownloadResponse.setError(HttpStatusCode error, Exception exception) Set http error code.voidDownloadResponse.setError(HttpStatusCode error, String errorMessage) Set http error code and error message.voidDownloadResponse.setError(HttpStatusCode error, String errorMessage, Exception exception) Set http error code and error message.