org.mitre.cybox.objects.http.HTTPMethodEnum Maven / Gradle / Ivy
The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.11.01 at 11:48:17 AM PST
//
package org.mitre.cybox.objects.http;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for HTTPMethodEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="HTTPMethodEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="GET"/>
* <enumeration value="POST"/>
* <enumeration value="HEAD"/>
* <enumeration value="PUT"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "HTTPMethodEnum")
@XmlEnum
public enum HTTPMethodEnum {
GET,
POST,
HEAD,
PUT;
public String value() {
return name();
}
public static HTTPMethodEnum fromValue(String v) {
return valueOf(v);
}
}