public static enum RepresentationService.Intent extends Enum<RepresentationService.Intent>
resourceContext6#getIntent(), applies only to the representation of
domain objects.| Enum Constant and Description |
|---|
ALREADY_PERSISTENT
object already persistent, ie return a 200
|
JUST_CREATED
object just created, ie return a 201
|
NOT_APPLICABLE
representation is not of a domain object, so does not apply.
|
| Modifier and Type | Method and Description |
|---|---|
static RepresentationService.Intent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepresentationService.Intent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepresentationService.Intent JUST_CREATED
public static final RepresentationService.Intent ALREADY_PERSISTENT
public static final RepresentationService.Intent NOT_APPLICABLE
public static RepresentationService.Intent[] values()
for (RepresentationService.Intent c : RepresentationService.Intent.values()) System.out.println(c);
public static RepresentationService.Intent 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 © 2010–2020 The Apache Software Foundation. All rights reserved.