Class HttpMethod

java.lang.Object
com.azure.core.util.ExpandableStringEnum<HttpMethod>
com.azure.resourcemanager.network.models.HttpMethod
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class HttpMethod extends com.azure.core.util.ExpandableStringEnum<HttpMethod>
HTTP method.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final HttpMethod
    Static value Get for HttpMethod.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    static HttpMethod
    Creates or finds a HttpMethod from its string representation.
    Gets known HttpMethod values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • GET

      public static final HttpMethod GET
      Static value Get for HttpMethod.
  • Constructor Details

  • Method Details

    • fromString

      public static HttpMethod fromString(String name)
      Creates or finds a HttpMethod from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding HttpMethod.
    • values

      public static Collection<HttpMethod> values()
      Gets known HttpMethod values.
      Returns:
      known HttpMethod values.