Make UploadMethod backward compatible

This commit is contained in:
ccancellieri 2012-07-27 16:06:51 +02:00
parent 24eee41596
commit f585b2cc56

View File

@ -636,17 +636,23 @@ public class GeoServerRESTPublisher {
* is the file itself.
*/
FILE,
@Deprecated
file,
/**
* indirectly upload a file from a remote source. The body of the
* request is the URL where the data is published. This url must be
* visible from the server.
*/
URL,
@Deprecated
url,
/**
* forgo upload, and use an existing file on the server. The body of the
* request is the absolute local path to the existing file.
*/
EXTERNAL;
EXTERNAL,
@Deprecated
external;
/**
* Returns a lowercase representation of the parameter value, suitable