public static enum NanoHTTPD.Method extends Enum<NanoHTTPD.Method>
Enum Constant and Description |
---|
CONNECT |
DELETE |
GET |
HEAD |
OPTIONS |
PATCH |
POST |
PUT |
TRACE |
Modifier and Type | Method and Description |
---|---|
static NanoHTTPD.Method |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NanoHTTPD.Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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 NanoHTTPD.Method[] values()
for (NanoHTTPD.Method c : NanoHTTPD.Method.values()) System.out.println(c);
public static NanoHTTPD.Method valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 SimiaCryptus Software. All rights reserved.