Uses of Enum Class
org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpProtocol
Package
Description
Classes required for handling the HTTP protocol.
-
Uses of HttpConstants.HttpProtocol in org.jdrupes.httpcodec.protocols.http
Modifier and TypeFieldDescriptionprotected HttpConstants.HttpProtocol
HttpDecoder.protocolVersion
Modifier and TypeMethodDescriptionHttpProtocolException.httpVersion()
Returns the HTTP version.HttpMessageHeader.protocol()
Return the protocol.static HttpConstants.HttpProtocol
Returns the enum constant of this class with the specified name.static HttpConstants.HttpProtocol[]
HttpConstants.HttpProtocol.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionHttpMessageHeader
(HttpConstants.HttpProtocol httpProtocol, boolean hasPayload) Creates a new message header.HttpProtocolException
(HttpConstants.HttpProtocol httpProtocol, int statusCode, String reasonPhrase) Creates a new exception with the given values.HttpProtocolException
(HttpConstants.HttpProtocol httpProtocol, HttpConstants.HttpStatus status) Creates a new exception with the standard reason phrase.HttpRequest
(String method, URI requestUri, HttpConstants.HttpProtocol httpProtocol, boolean hasPayload) Creates a new request with basic data.HttpResponse
(HttpConstants.HttpProtocol protocol, int statusCode, String reasonPhrase, boolean hasPayload) HttpResponse
(HttpConstants.HttpProtocol protocol, HttpConstants.HttpStatus status, boolean hasPayload)