com.hexagonkt.http.model.HttpMethod.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http Show documentation
Show all versions of http Show documentation
HTTP classes. These classes are shared among the HTTP client and the HTTP server.
The newest version!
package com.hexagonkt.http.model
/**
* Supported HTTP methods.
*/
enum class HttpMethod {
/** HTTP GET method. */
GET,
/** HTTP HEAD method. */
HEAD,
/** HTTP POST method. */
POST,
/** HTTP PUT method. */
PUT,
/** HTTP DELETE method. */
DELETE,
/** HTTP TRACE method. */
TRACE,
/** HTTP OPTIONS method. */
OPTIONS,
/** HTTP PATCH method. */
PATCH;
companion object {
val ALL: Set = entries.toSet()
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy