httpmethods.java

来自「resetful样式的ws样例,一种面向资源的webservices服务」· Java 代码 · 共 52 行

JAVA
52
字号
//// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-375 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2008.06.19 at 08:53:00 AM PDT //package com.sun.research.ws.wadl;import javax.xml.bind.annotation.XmlEnum;import javax.xml.bind.annotation.XmlType;/** * <p>Java class for HTTPMethods. *  * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpleType name="HTTPMethods"> *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> *     &lt;enumeration value="GET"/> *     &lt;enumeration value="POST"/> *     &lt;enumeration value="PUT"/> *     &lt;enumeration value="HEAD"/> *     &lt;enumeration value="DELETE"/> *   &lt;/restriction> * &lt;/simpleType> * </pre> *  */@XmlType(name = "HTTPMethods")@XmlEnumpublic enum HTTPMethods {    GET,    POST,    PUT,    HEAD,    DELETE;    public String value() {        return name();    }    public static HTTPMethods fromValue(String v) {        return valueOf(v);    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?