Package io.microsphere.spring.web.util
Class HttpUtils
- java.lang.Object
-
- io.microsphere.spring.web.util.HttpUtils
-
public abstract class HttpUtils extends java.lang.ObjectThe utilities class for HTTP- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
HttpMethod
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.Set<java.lang.String>ALL_HTTP_METHODSAll HTTP Methods: GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS and TRACE .
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleansupportsMethod(java.lang.String method)static booleansupportsMethod(org.springframework.http.HttpMethod method)static booleansupportsMethod(org.springframework.web.bind.annotation.RequestMethod method)
-
-
-
Method Detail
-
supportsMethod
public static boolean supportsMethod(java.lang.String method)
-
supportsMethod
public static boolean supportsMethod(org.springframework.http.HttpMethod method)
-
supportsMethod
public static boolean supportsMethod(org.springframework.web.bind.annotation.RequestMethod method)
-
-