Enum Class HTTPQueryType

java.lang.Object
java.lang.Enum<HTTPQueryType>
org.javastro.ivoa.entities.resource.dataservice.HTTPQueryType
All Implemented Interfaces:
Serializable, Comparable<HTTPQueryType>, Constable, org.jvnet.jaxb.lang.EnumValue<String>

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public enum HTTPQueryType extends Enum<HTTPQueryType> implements org.jvnet.jaxb.lang.EnumValue<String>
The type of HTTP request, either GET or POST.

Java class for HTTPQueryType

.

The following schema fragment specifies the expected content contained within this class.


 <simpleType name="HTTPQueryType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="GET"/>
     <enumeration value="POST"/>
   </restriction>
 </simpleType>
 
  • Enum Constant Details

  • Method Details

    • values

      public static HTTPQueryType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HTTPQueryType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public String value()
    • fromValue

      public static HTTPQueryType fromValue(String v)
    • enumValue

      public String enumValue()
      Specified by:
      enumValue in interface org.jvnet.jaxb.lang.EnumValue<String>