All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.muserver.Method Maven / Gradle / Ivy

There is a newer version: 2.0.3
Show newest version
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());
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy