public static enum NanoHTTPD.Method extends Enum<NanoHTTPD.Method>
String
back to its enum value.| 枚举常量和说明 |
|---|
CONNECT |
COPY |
DELETE |
GET |
HEAD |
LOCK |
MKCOL |
MOVE |
OPTIONS |
PATCH |
POST |
PROPFIND |
PROPPATCH |
PUT |
TRACE |
UNLOCK |
public static final NanoHTTPD.Method GET
public static final NanoHTTPD.Method PUT
public static final NanoHTTPD.Method POST
public static final NanoHTTPD.Method DELETE
public static final NanoHTTPD.Method HEAD
public static final NanoHTTPD.Method OPTIONS
public static final NanoHTTPD.Method TRACE
public static final NanoHTTPD.Method CONNECT
public static final NanoHTTPD.Method PATCH
public static final NanoHTTPD.Method PROPFIND
public static final NanoHTTPD.Method PROPPATCH
public static final NanoHTTPD.Method MKCOL
public static final NanoHTTPD.Method MOVE
public static final NanoHTTPD.Method COPY
public static final NanoHTTPD.Method LOCK
public static final NanoHTTPD.Method UNLOCK
public static NanoHTTPD.Method[] values()
for (NanoHTTPD.Method c : NanoHTTPD.Method.values()) System.out.println(c);
public static NanoHTTPD.Method valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2019. All rights reserved.