Class CapabilitiesRequest


  • public final class CapabilitiesRequest
    extends Request
    • Constructor Detail

      • CapabilitiesRequest

        public CapabilitiesRequest()
        Construct an OGC GetCapabilities request using the default service.
      • CapabilitiesRequest

        public CapabilitiesRequest​(java.net.URI uri)
                            throws java.net.URISyntaxException
        Constructs a request for the default service, WMS, and a specified server.
        Parameters:
        uri - the address of the web service.
        Throws:
        java.lang.IllegalArgumentException - if the uri is null.
        java.net.URISyntaxException - if the web service address is not a valid URI.
      • CapabilitiesRequest

        public CapabilitiesRequest​(java.net.URI uri,
                                   java.lang.String service)
                            throws java.net.URISyntaxException
        Constructs a request for a specified service at a specified server.
        Parameters:
        uri - the address of the web service.
        service - the service name. Common names are WMS, WFS, WCS, etc.
        Throws:
        java.lang.IllegalArgumentException - if the uri or service name is null.
        java.net.URISyntaxException - if the web service address is not a valid URI.
    • Method Detail

      • initialize

        protected void initialize​(java.lang.String service)
        Overrides:
        initialize in class Request