public static enum RestRequest.Method extends Enum<RestRequest.Method>
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static RestRequest.Method |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static RestRequest.Method[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final RestRequest.Method GET
public static final RestRequest.Method POST
public static final RestRequest.Method PUT
public static final RestRequest.Method DELETE
public static final RestRequest.Method OPTIONS
public static final RestRequest.Method HEAD
public static RestRequest.Method[] values()
for(RestRequest.Method c: RestRequest.Method.values()) System.out.println(c);
public static RestRequest.Method valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合Copyright © 2009–2016. All rights reserved.