java.lang.Object
org.opengeospatial.cite.wmts10.ets.core.client.WmtsClient

public class WmtsClient extends Object
A WMTS 1.0.0 client component supporting HTTP GET and POST.
Author:
Lyn Goltz (original), Jim Beatty (modified/fixed May/Jun/Jul-2017 for WMS/WMTS)
  • Constructor Details

    • WmtsClient

      public WmtsClient(Document wmtsCapabilities)
      Constructs a client that is aware of the capabilities of some WMTS. The request and response may be logged to a default JDK logger (in the namespace "com.sun.jersey.api.client").
      Parameters:
      wmtsCapabilities - the WMTS capabilities document, never null
  • Method Details

    • getCapabilities

      public Document getCapabilities()
      Retrieves a complete representation of the capabilities document from the WMTS implementation described by the service metadata.
      Returns:
      a document containing the response to a GetCapabilities request
    • submitRequest

      public jakarta.ws.rs.core.Response submitRequest(WmtsKvpRequest request, URI endpoint)
      Submits a HTTP GET request.
      Parameters:
      request - the KVP encoded request, never null
      endpoint - the service endpoint, never null
      Returns:
      the ClientResponse object representing the response message