public enum ServingType extends Enum<ServingType>
These should have a 1:1 correspondence to the URL paths the WRM responds to, with the exception of source maps, which re-use the same serving type as their base URL.
| Enum Constant and Description |
|---|
BATCH
|
BATCH_RESOURCE
Serve the content of a single tangible
Resource
at this URL. |
CONTEXTBATCH
|
CONTEXTBATCH_RESOURCE
Serve a single tangible
Resource at this URL. |
RESOURCES_SINGLE
Serve a single tangible
Resource at this URL. |
SOURCES_SINGLE
Serve the raw, unmodified source for a single tangible
Resource at this URL. |
UNKNOWN
The "nothing was set" content type.
|
| Modifier and Type | Method and Description |
|---|---|
static ServingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServingType UNKNOWN
public static final ServingType RESOURCES_SINGLE
Resource at this URL.
The resource lives in the WebResource referenced in
this request.public static final ServingType SOURCES_SINGLE
Resource at this URL.
The resource lives in the WebResource referenced in
this request.public static final ServingType BATCH
public static final ServingType BATCH_RESOURCE
public static final ServingType CONTEXTBATCH
public static final ServingType CONTEXTBATCH_RESOURCE
public static ServingType[] values()
for (ServingType c : ServingType.values()) System.out.println(c);
public static ServingType 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 © 2024 Atlassian. All rights reserved.