public enum UpdateType extends Enum<UpdateType>
Enum Constant and Description |
---|
PATCH
Differential update with only specified input property values to be replaced.
|
REPLACE
Replace all and remove missing attributes.
|
Modifier and Type | Method and Description |
---|---|
HttpMethod |
getMethod()
Gets HTTP request method.
|
static UpdateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateType REPLACE
public static final UpdateType PATCH
public static UpdateType[] values()
for (UpdateType c : UpdateType.values()) System.out.println(c);
public static UpdateType 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 HttpMethod getMethod()
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.