public static enum Request.HttpMethod extends Enum<Request.HttpMethod>
Enum Constant and Description |
---|
CONNECT |
DELETE |
GET |
HEAD |
OPTIONS |
PATCH |
POST |
PUT |
TRACE |
Modifier and Type | Method and Description |
---|---|
boolean |
isWithBody() |
static Request.HttpMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Request.HttpMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Request.HttpMethod GET
public static final Request.HttpMethod HEAD
public static final Request.HttpMethod POST
public static final Request.HttpMethod PUT
public static final Request.HttpMethod DELETE
public static final Request.HttpMethod CONNECT
public static final Request.HttpMethod OPTIONS
public static final Request.HttpMethod TRACE
public static final Request.HttpMethod PATCH
public static Request.HttpMethod[] values()
for (Request.HttpMethod c : Request.HttpMethod.values()) System.out.println(c);
public static Request.HttpMethod 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 nullpublic boolean isWithBody()
Copyright © 2012–2023 OpenFeign. All rights reserved.