nl.itc.RIMapper
Class WMSRequest

java.lang.Object
  extended by nl.itc.RIMapper.WMSRequest

public class WMSRequest
extends Object

Class for storing an OGC WMS 1.1.1 request.
Note that the class holds the data needed for an OGC compatible GetMap or GetCapabilities, PLUS extras needed for RIMapperWMS, in the VendorSpecific GETGUI and ANIMDUR.
©2006-2011 International Institute for Geo-information Science and Earth Observation (ITC)
Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License. see http://creativecommons.org/licenses/by-nc-sa/2.5/

Version:
2.2 [September 2011]
Author:
Barend Köbben - kobben@itc.nl

Field Summary
 HashMap<String,String[]> requestMap
           
static String[] SUPPORTED_WMS_VERSIONS
           
 
Constructor Summary
WMSRequest(Map<?,?> paramMap, String WMSPath, WMSCapabilities myWMSCapabilities)
          Builds a WMS request object out of the request URL.
 
Method Summary
 long getAnimDur()
           
 com.vividsolutions.jts.geom.Envelope getBBOX()
           
 String getBBOXstr()
           
 String getExceptionsFormat()
           
 String getFormat()
           
 boolean getGetGUI()
           
 int getHeight()
           
 String[] getLayers()
           
 String getLayersList()
           
 int getNumLayers()
           
 String getRequest()
           
 String getService()
           
 String getSRS()
           
 String[] getStyles()
           
 String getStylesList()
           
 WMSTime getTime()
           
 String getVersion()
           
 int getWidth()
           
 String getWMShost()
           
 boolean isDefaultExtent()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUPPORTED_WMS_VERSIONS

public static final String[] SUPPORTED_WMS_VERSIONS

requestMap

public HashMap<String,String[]> requestMap
Constructor Detail

WMSRequest

public WMSRequest(Map<?,?> paramMap,
                  String WMSPath,
                  WMSCapabilities myWMSCapabilities)
           throws RIMapperException
Builds a WMS request object out of the request URL.

Parameters:
paramMap - the parameters coming in from the servlet (POST or GET request)
WMSPath - BaseURL of the WMS instance
Throws:
RIMapperException
Method Detail

getNumLayers

public int getNumLayers()
Returns:
the numLayers

getBBOX

public com.vividsolutions.jts.geom.Envelope getBBOX()
Returns:
the bBOX

getFormat

public String getFormat()
Returns:
the format

getTime

public WMSTime getTime()
Returns:
the Time

getGetGUI

public boolean getGetGUI()
Returns:
the getGUI parameter

getAnimDur

public long getAnimDur()
Returns:
the AnimDur parameter

getHeight

public int getHeight()
Returns:
the height

getLayers

public String[] getLayers()
Returns:
the layers

getLayersList

public String getLayersList()
Returns:
the layersList

getStylesList

public String getStylesList()
Returns:
the stylesList

getSRS

public String getSRS()
Returns:
the SRS

getStyles

public String[] getStyles()
Returns:
the styles

getWidth

public int getWidth()
Returns:
the width

isDefaultExtent

public boolean isDefaultExtent()
Returns:
the defaultExtent

getExceptionsFormat

public String getExceptionsFormat()
Returns:
the exceptionsFormat

getWMShost

public String getWMShost()
Returns:
the WMShost

getService

public String getService()
Returns:
the service

getVersion

public String getVersion()
Returns:
the version

getRequest

public String getRequest()
Returns:
the request

getBBOXstr

public String getBBOXstr()
Returns:
the bBOXstr