Uses of Enum Class
org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
Package
Description
Classes required for handling the HTTP protocol.
-
Uses of HttpConstants.HttpStatus in org.jdrupes.httpcodec.protocols.http
Modifier and TypeMethodDescriptionstatic HttpConstants.HttpStatus
Returns the enum constant of this class with the specified name.static HttpConstants.HttpStatus[]
HttpConstants.HttpStatus.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionHttpResponse.setStatus
(HttpConstants.HttpStatus status) Sets both status code and reason phrase from the given http status value.ModifierConstructorDescriptionHttpProtocolException
(HttpConstants.HttpProtocol httpProtocol, HttpConstants.HttpStatus status) Creates a new exception with the standard reason phrase.HttpResponse
(HttpConstants.HttpProtocol protocol, HttpConstants.HttpStatus status, boolean hasPayload)