new(url, user, pwd, logger)
This method is used to instantiate a GSManager with the url
of the
GeoServer and credentials to authenticate (user
/pwd
). By default,
the logger
argument will be set to NULL
(no logger). This argument
accepts two possible values: INFO
: to print only geosapi logs,
DEBUG
: to print geosapi and CURL logs
logger(type, text)
Basic logger to report geosapi logs. Used internally
INFO(text)
Logger to report information. Used internally
WARN(text)
Logger to report warnings. Used internally
ERROR(text)
Logger to report errors. Used internally
getUrl()
Get the authentication URL
connect()
This methods attempts a connection to GeoServer REST API. User internally
during initialization of GSManager
.
reload()
Reloads the GeoServer catalog.
getClassName()
Retrieves the name of the class instance
getWorkspaceManager()
Retrieves an instance of workspace manager
getNamespaceManager()
Retrieves an instance of namespace manager
getDataStoreManager()
Retrieves an instance of datastore manager