Class HttpUtils

java.lang.Object
io.microsphere.spring.web.util.HttpUtils

public abstract class HttpUtils extends Object
The utilities class for HTTP
Since:
1.0.0
Author:
Mercy
See Also:
  • HttpMethod
  • Field Details

    • ALL_HTTP_METHODS

      public static final Set<String> ALL_HTTP_METHODS
      All HTTP Methods: GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS and TRACE .
  • Method Details

    • supportsMethod

      public static boolean supportsMethod(String method)
    • supportsMethod

      public static boolean supportsMethod(org.springframework.http.HttpMethod method)
    • supportsMethod

      public static boolean supportsMethod(org.springframework.web.bind.annotation.RequestMethod method)