Class WMSService

  • All Implemented Interfaces:
    Serializable

    @Entity
    public class WMSService
    extends GeoService
    Entity for saving WMS service metadata. Enables the administration module to easily work with WMS service entities and the viewer to quickly marshall the metadata without having to do a GetCapabilities request each time the viewer starts.

    This requires an option to update the metadata should the service change, so this class implements Updatable.

    Author:
    Matthijs Laan
    See Also:
    Serialized Form
    • Constructor Detail

      • WMSService

        public WMSService()
    • Method Detail

      • getOverrideUrl

        public Boolean getOverrideUrl()
        Whether to use the original URL the Capabilities was loaded with or the URL the WMS reports it is at in the Capabilities. Sometimes the URL reported by the WMS is outdated, but it can also be used to migrate the service to another URL or load Capabilities from a static XML Capabilities document on a simple HTTP server. According to the standard the URL in the Capabilities should be used, so set this to false by default except if the user requests an override.
        Returns:
        true when set
      • setOverrideUrl

        public void setOverrideUrl​(Boolean overrideUrl)
      • setException_type

        public void setException_type​(WMSExceptionType exception_type)
      • getSkipDiscoverWFS

        public Boolean getSkipDiscoverWFS()
      • setSkipDiscoverWFS

        public void setSkipDiscoverWFS​(Boolean skipDiscoverWFS)