com.microsoft.azure.functions.HttpMethod Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-functions-java-library Show documentation
Show all versions of azure-functions-java-library Show documentation
This package contains all Java interfaces and annotations to interact with Microsoft Azure functions runtime.
package com.microsoft.azure.functions;
/**
* Enum for HTTP methods in the HTTP Binding of Azure Functions.
*
* @author Bruno Borges
*/
public enum HttpMethod {
GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE;
/**
* Converts passed value to upper case to extract valueOf() of this Enum.
* @param value of http method in any case
* @return this enum
*/
public static HttpMethod value(String value) {
return HttpMethod.valueOf(value.toUpperCase());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy