com.supermap.services.components.spi.ogc

Class WMSRequest



  • public class WMSRequest
    extends Request
    

    WMS service support operation.

    With WMS's GetCapability operation, you can obtain information about the capabilities of the WMS service, where the response document has a Capabilities section, and is one of the child elements that represents some information about an operation supported by the WMS service.

    In a sample WMS GetCapability operation, the description of supporting GetMap operation is as follows:

     <GetMap>
     <Format>image/png</Format>
     <Format>image/gif</Format>
     <Format>image/bmp</Format>
     <Format>image/jpeg</Format>
     <DCPType>
     <HTTP>
     <Get>
     <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost:8090/iserver/services/map-world/wms111?MAP=%E4%B8%96%E7%95%8C%E5%9C%B0%E5%9B%BE&"
     xlink:type="simple" />
     </Get>
     </HTTP>
     </DCPType>
     </GetMap>
     
    

    This is a complete content of WMSRequest.

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      java.lang.String[] formats
      The return format type that this operation supports .
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object obj) 
      int hashCode() 
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • formats

        public java.lang.String[] formats
        

        The return format type that this operation supports .

    • Constructor Detail

      • WMSRequest

        public WMSRequest()
        

        The Constructor.

      • WMSRequest

        public WMSRequest(WMSRequest wmsRequest)
        

        Copy constructor.

        Parameters:
        wmsRequestWMSRequest - object.
    • Method Detail

      • equals

        public boolean equals(java.lang.Object obj)
        
        Overrides:
        equals in class Request