Class TLcdWMSRequestContext

java.lang.Object
com.luciad.ogc.common.ALcdRequestContext
com.luciad.wms.server.TLcdWMSRequestContext

public final class TLcdWMSRequestContext extends ALcdRequestContext
This class holds a HTTP request and several parameters used in a WMS request.
  • Method Details

    • getRequest

      public ILcdRequest getRequest()
      Description copied from class: ALcdRequestContext
      Returns the request that is currently being handled.
      Specified by:
      getRequest in class ALcdRequestContext
      Returns:
      the request that is currently being handled.
    • getHttpServletRequest

      public jakarta.servlet.http.HttpServletRequest getHttpServletRequest()
      Returns the base HTTP servlet request.
      Returns:
      the base HTTP servlet request.
    • getWMSCapabilities

      public ALcdWMSCapabilities getWMSCapabilities()
      Returns the capabilities of the server.
      Returns:
      the capabilities of the server.
    • getLayers

      public String[] getLayers()
      Returns the parsed layers parameter specified in the request, if available. Note that this parameter is only available for GetMap, GetFeatureInfo, DescribeLayer and GetLegendGraphic requests.
      Returns:
      the parsed layers specified in the request or null if not available.
    • getStyles

      public String[] getStyles()
      Returns the parsed styles specified in the request, if available. Note that this parameter is only available for GetMap, GetFeatureInfo and GetLegendGraphic requests.
      Returns:
      the parsed styles specified in the request or null if not available.
    • getBounds

      public ILcdBounds getBounds()
      Returns the parsed bounds specified in the request, if available. Note that this parameter is only available for GetMap and GetFeatureInfo requests.
      Returns:
      the parsed bounds specified in the request or null if not available.
    • getWorldReference

      public ILcdXYWorldReference getWorldReference()
      Returns the parsed world reference specified in the request, if available. Note that this parameter is only available for GetMap and GetFeatureInfo requests.
      Returns:
      the parsed world reference specified in the request or null if not available.
    • getWMSOnlineResourceResolver

      public ILcdWMSOnlineResourceResolver getWMSOnlineResourceResolver()
      Returns the ILcdWMSOnlineResourceResolver that is used to retrieve the paths (typically URLs) to online resources defined by the WMS specification.
      Returns:
      the ILcdWMSOnlineResourceResolver that is used to retrieve the paths (typically URLs) to online resources defined by the WMS specification.