Adding the publishStyle(..., boolean raw) method to the GeoServerRESTPublishe class for compatibility reasons
This commit is contained in:
parent
fd84472576
commit
86a3de1e2d
File diff suppressed because it is too large
Load Diff
@ -260,6 +260,15 @@ public class GeoServerRESTStyleManager extends GeoServerRESTAbstractManager {
|
||||
return result != null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Store and publish a Style, assigning it a name and choosing the raw format.
|
||||
*
|
||||
* @param sldFile the File containing the SLD document.
|
||||
* @param name the Style name.
|
||||
* @param raw the raw format
|
||||
*
|
||||
* @return <TT>true</TT> if the operation completed successfully.
|
||||
*/
|
||||
public boolean publishStyle(final File sldFile, final String name, final boolean raw) {
|
||||
/*
|
||||
* This is the equivalent call with cUrl:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user