Class WmtsClient
java.lang.Object
org.opengeospatial.cite.wmts10.ets.core.client.WmtsClient
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 Summary
ConstructorsConstructorDescriptionWmtsClient(Document wmtsCapabilities) Constructs a client that is aware of the capabilities of some WMTS. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves a complete representation of the capabilities document from the WMTS implementation described by the service metadata.jakarta.ws.rs.core.ResponsesubmitRequest(WmtsKvpRequest request, URI endpoint) Submits a HTTP GET request.
-
Constructor Details
-
WmtsClient
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, nevernull
-
-
Method Details
-
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
Submits a HTTP GET request.- Parameters:
request- the KVP encoded request, nevernullendpoint- the service endpoint, nevernull- Returns:
- the
ClientResponseobject representing the response message
-