|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<GeoServerRESTPublisher.UploadMethod>
it.geosolutions.geoserver.rest.GeoServerRESTPublisher.UploadMethod
public static enum GeoServerRESTPublisher.UploadMethod
Specifies the method used to publish a resource.
FILE upload a file from a local source.
URL indirectly upload a file from a remote source.
EXTERNAL don't upload; use an existing file on the server.
| Enum Constant Summary | |
|---|---|
external
Deprecated. |
|
EXTERNAL
forgo upload, and use an existing file on the server. |
|
file
Deprecated. |
|
FILE
directly upload a file from a local source. |
|
url
Deprecated. |
|
URL
indirectly upload a file from a remote source. |
|
| Method Summary | |
|---|---|
String |
toString()
Returns a lowercase representation of the parameter value, suitable to construct the rest call. |
static GeoServerRESTPublisher.UploadMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GeoServerRESTPublisher.UploadMethod[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final GeoServerRESTPublisher.UploadMethod FILE
@Deprecated public static final GeoServerRESTPublisher.UploadMethod file
public static final GeoServerRESTPublisher.UploadMethod URL
@Deprecated public static final GeoServerRESTPublisher.UploadMethod url
public static final GeoServerRESTPublisher.UploadMethod EXTERNAL
@Deprecated public static final GeoServerRESTPublisher.UploadMethod external
| Method Detail |
|---|
public static GeoServerRESTPublisher.UploadMethod[] values()
for (GeoServerRESTPublisher.UploadMethod c : GeoServerRESTPublisher.UploadMethod.values()) System.out.println(c);
public static GeoServerRESTPublisher.UploadMethod valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<GeoServerRESTPublisher.UploadMethod>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||