Class HttpMethod

Object
se.curity.identityserver.sdk.http.HttpMethod

public final class HttpMethod extends Object
Represents an HTTP method.
Since:
5.4.0
  • Field Details

  • Method Details

    • of

      public static HttpMethod of(String method)
      Create an HttpMethod instance given its string value.
      Parameters:
      method - the method string value.
      Returns:
      an HttpMethod.
    • getMethodString

      public String getMethodString()
      Returns:
      the method's string value.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object