io.muserver.Method Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mu-server Show documentation
Show all versions of mu-server Show documentation
A simple but powerful web server framework
package io.muserver;
/**
* An HTTP Method
*/
public enum Method {
GET, POST, HEAD, OPTIONS, PUT, DELETE, TRACE, CONNECT, PATCH;
static Method fromNetty(io.netty.handler.codec.http.HttpMethod method) {
return Method.valueOf(method.name());
}
}