geosolutions-it/geoserver-manager — Issue #3: [Req] publish style using body and style name
Author: ccancellieri
Created: 2012-01-30 18:25:29+00:00
State: open
Labels: missing

Reported by:
Mr. Nazzareno Sileno
-------------------------------------------------------
Hi,
I work with geoSdi team and I wrote a simple improvement usefull to PUT style in GeoServer.

This is the code:

public boolean putStyle(String sldBody, String sldName) {
String sUrl = restURL + "/rest/styles/" + sldName;
String result = HTTPUtils.put(sUrl, sldBody,
"application/vnd.ogc.sld+xml", gsuser, gspass);
return result != null;
}

We need this method in the official git repo.

Can you help me?
-------------------------------------------------------