From f585b2cc566e36c603925d775cd12dbbdd0f52b0 Mon Sep 17 00:00:00 2001 From: ccancellieri Date: Fri, 27 Jul 2012 16:06:51 +0200 Subject: [PATCH] Make UploadMethod backward compatible --- .../geoserver/rest/GeoServerRESTPublisher.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/it/geosolutions/geoserver/rest/GeoServerRESTPublisher.java b/src/main/java/it/geosolutions/geoserver/rest/GeoServerRESTPublisher.java index 2975db5..0512266 100644 --- a/src/main/java/it/geosolutions/geoserver/rest/GeoServerRESTPublisher.java +++ b/src/main/java/it/geosolutions/geoserver/rest/GeoServerRESTPublisher.java @@ -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