public static enum ConstrainedTo.Type extends Enum<ConstrainedTo.Type>
| Enum Constant and Description |
|---|
CLIENT
Constraint type that restricts a JAX-RS provider to be only applied as part of
a JAX-RS client run-time.
|
SERVER
Constraint type that restricts a JAX-RS provider to be only applied as part of
a JAX-RS server run-time.
|
| Modifier and Type | Method and Description |
|---|---|
static ConstrainedTo.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstrainedTo.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstrainedTo.Type CLIENT
public static final ConstrainedTo.Type SERVER
public static ConstrainedTo.Type[] values()
for (ConstrainedTo.Type c : ConstrainedTo.Type.values()) System.out.println(c);
public static ConstrainedTo.Type 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 © 2007–2015 The Apache Software Foundation. All rights reserved.