public class RESTWmsStore extends Object
This is the XML document returned by GeoServer when requesting a WmsStore:
<wmsStore>
<name>regione</name>
<type>WMS</type>
<enabled>true</enabled>
<workspace>
<name>arit</name>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://172.27.30.25:8080/geoserver/rest/workspaces/arit.xml" type="application/xml"/>
</workspace>
<metadata>
<entry key="useConnectionPooling">true</entry>
</metadata>
<__default>false</__default>
<capabilitiesURL>http://www.regione.lazio.it/geoserver/wms</capabilitiesURL>
<user>admin</user>
<password>geoserver</password>
<maxConnections>6</maxConnections>
<readTimeout>60</readTimeout>
<connectTimeout>30</connectTimeout>
<wmsLayers>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://172.27.30.25:8080/geoserver/rest/workspaces/arit/wmsstores/regione/wmslayers.xml" type="application/xml"/>
</wmsLayers>
</wmsStore>
Note: the whole XML fragment is stored in memory. At the moment, there are
methods to retrieve only the more useful data.| Constructor and Description |
|---|
RESTWmsStore(org.jdom.Element cs) |
| Modifier and Type | Method and Description |
|---|---|
static RESTWmsStore |
build(String response) |
String |
getCapabilitiesURL() |
String |
getConnectTimeout() |
Boolean |
getEnabled() |
String |
getMaxConnections() |
String |
getName() |
String |
getPassword() |
String |
getReadTimeout() |
String |
getType() |
Boolean |
getUseConnectionPooling() |
String |
getUser() |
String |
getWorkspaceName() |
String |
toString() |
public static RESTWmsStore build(String response)
public String getName()
public String getType()
public Boolean getEnabled()
public String getWorkspaceName()
public Boolean getUseConnectionPooling()
public String getCapabilitiesURL()
public String getMaxConnections()
public String getReadTimeout()
public String getConnectTimeout()
public String getUser()
public String getPassword()
Copyright © 2007–2016 PDOK. All rights reserved.