Class WMTSSpecification.GetCapsRequest

All Implemented Interfaces:
GetCapabilitiesRequest, Request
Enclosing class:
WMTSSpecification

public static class WMTSSpecification.GetCapsRequest extends AbstractGetCapabilitiesRequest
  • Constructor Details

    • GetCapsRequest

      public GetCapsRequest(URL urlGetCapabilities)
      Construct a Request compatible with a 1.0.1 WMTS.
      Parameters:
      urlGetCapabilities - URL of GetCapabilities document.
  • Method Details

    • initService

      protected void initService()
      Description copied from class: AbstractRequest
      Implementing subclass requests must specify their own "SERVICE" value. Example: setProperty("SERVICE", "WFS");
      Specified by:
      initService in class AbstractRequest
    • initVersion

      protected void initVersion()
      Description copied from class: AbstractRequest
      Sets up the version number for this request. Typically something like setProperty("VERSION", "1.1.1");
      Specified by:
      initVersion in class AbstractRequest
    • processKey

      protected String processKey(String key)
      Description copied from class: AbstractRequest
      Some Open Web Servers do not abide by the fact that parameter keys should be case insensitive.

      This method will allow a specification to determine the way that the parameter keys should be encoded in requests made by the server.

      Overrides:
      processKey in class AbstractRequest
      Parameters:
      key - the key to be processed
      Returns:
      the key, after being processed. (made upper case, for example)
    • createResponse

      public WMTSGetCapabilitiesResponse createResponse(HTTPResponse httpResponse) throws ServiceException, IOException
      Description copied from interface: Request
      Each Request must know how to create it's counterpart Response. Given the content type and input stream (containin the response data), this method must return an appropriate Response object.
      Throws:
      ServiceException
      IOException