NASA World Wind WMS

gov.nasa.worldwind.servers.wms
Class WMSGetMapRequest

java.lang.Object
  extended by gov.nasa.worldwind.servers.wms.WMSRequest
      extended by gov.nasa.worldwind.servers.wms.WMSGetMapRequest
All Implemented Interfaces:
IMapRequest, IWMSServlet

public class WMSGetMapRequest
extends WMSRequest
implements IWMSServlet, IMapRequest


Field Summary
protected static int MAX_REQ_HEIGHT
           
protected static int MAX_REQ_WIDTH
           
 
Fields inherited from class gov.nasa.worldwind.servers.wms.WMSRequest
request
 
Constructor Summary
WMSGetMapRequest(WMSHttpServletRequest req)
           
 
Method Summary
 void doGet(WMSHttpServletRequest req, WMSHttpServletResponse resp)
           
 void doPost(WMSHttpServletRequest req, WMSHttpServletResponse resp)
           
 double[] getBBox()
           
 double getBBoxXMax()
           
 double getBBoxXMin()
           
 double getBBoxYMax()
           
 double getBBoxYMin()
           
 java.lang.String getBGColor()
           
 java.lang.Double getBGColorAsDouble()
           
 java.awt.Color getBGColorAsRGB()
           
 java.lang.String getCRS()
           
 double getElevation()
           
 java.lang.String getExceptions()
           
 gov.nasa.worldwind.geom.Sector getExtent()
           
 gov.nasa.worldwind.geom.Sector getExtentForElevationRequest()
           
 java.lang.String getFormat()
           
 int getHeight()
           
 java.lang.String[] getLayers()
           
 java.lang.String[] getStyles()
           
 java.lang.String getTime()
           
 java.lang.String getVersion()
           
 int getWidth()
           
 boolean isTransparent()
           
 void service(WMSHttpServletRequest req, WMSHttpServletResponse resp)
           
 void setBGColor(java.lang.String bgColor)
           
 void setHeight(int height)
           
 void setWidth(int width)
           
 java.lang.String toString()
           
 
Methods inherited from class gov.nasa.worldwind.servers.wms.WMSRequest
getHttpRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_REQ_HEIGHT

protected static int MAX_REQ_HEIGHT

MAX_REQ_WIDTH

protected static int MAX_REQ_WIDTH
Constructor Detail

WMSGetMapRequest

public WMSGetMapRequest(WMSHttpServletRequest req)
                 throws WMSServiceException
Throws:
WMSServiceException
Method Detail

doGet

public void doGet(WMSHttpServletRequest req,
                  WMSHttpServletResponse resp)
           throws java.io.IOException,
                  WMSServiceException
Specified by:
doGet in interface IWMSServlet
Throws:
java.io.IOException
WMSServiceException

doPost

public void doPost(WMSHttpServletRequest req,
                   WMSHttpServletResponse resp)
            throws java.io.IOException,
                   WMSServiceException
Specified by:
doPost in interface IWMSServlet
Throws:
java.io.IOException
WMSServiceException

getBBox

public double[] getBBox()

getBBoxXMax

public double getBBoxXMax()
Specified by:
getBBoxXMax in interface IMapRequest

getBBoxXMin

public double getBBoxXMin()
Specified by:
getBBoxXMin in interface IMapRequest

getBBoxYMax

public double getBBoxYMax()
Specified by:
getBBoxYMax in interface IMapRequest

getBBoxYMin

public double getBBoxYMin()
Specified by:
getBBoxYMin in interface IMapRequest

getBGColor

public java.lang.String getBGColor()
Specified by:
getBGColor in interface IMapRequest

getBGColorAsDouble

public java.lang.Double getBGColorAsDouble()
Specified by:
getBGColorAsDouble in interface IMapRequest

getBGColorAsRGB

public java.awt.Color getBGColorAsRGB()
Specified by:
getBGColorAsRGB in interface IMapRequest

getCRS

public java.lang.String getCRS()

getElevation

public double getElevation()

getExceptions

public java.lang.String getExceptions()

getExtent

public gov.nasa.worldwind.geom.Sector getExtent()
Specified by:
getExtent in interface IMapRequest

getExtentForElevationRequest

public gov.nasa.worldwind.geom.Sector getExtentForElevationRequest()
Specified by:
getExtentForElevationRequest in interface IMapRequest

getFormat

public java.lang.String getFormat()
Specified by:
getFormat in interface IMapRequest

getHeight

public int getHeight()
Specified by:
getHeight in interface IMapRequest

getLayers

public java.lang.String[] getLayers()

getStyles

public java.lang.String[] getStyles()

getTime

public java.lang.String getTime()

getVersion

public java.lang.String getVersion()

getWidth

public int getWidth()
Specified by:
getWidth in interface IMapRequest

isTransparent

public boolean isTransparent()

service

public void service(WMSHttpServletRequest req,
                    WMSHttpServletResponse resp)
             throws java.io.IOException,
                    WMSServiceException
Specified by:
service in interface IWMSServlet
Throws:
java.io.IOException
WMSServiceException

setBGColor

public void setBGColor(java.lang.String bgColor)
Specified by:
setBGColor in interface IMapRequest

setHeight

public void setHeight(int height)
Specified by:
setHeight in interface IMapRequest

setWidth

public void setWidth(int width)
Specified by:
setWidth in interface IMapRequest

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

NASA World Wind WMS