Package org.geotools.ows.wmts
Class WMTSSpecification.GetSingleTileRequest
- Object
-
- AbstractRequest
-
- AbstractWMTSRequest
-
- AbstractGetTileRequest
-
- GetSingleTileRequest
-
- All Implemented Interfaces:
Request
,GetTileRequest
- Direct Known Subclasses:
WMTSSpecification.GetKVPTileRequest
,WMTSSpecification.GetRestTileRequest
- Enclosing class:
- WMTSSpecification
public abstract static class WMTSSpecification.GetSingleTileRequest extends AbstractGetTileRequest
Represents a GetTile request for a single tile.
-
-
Field Summary
-
Fields inherited from class AbstractGetTileRequest
capabilities, FORMAT, layer, LAYER, STYLE, styleName, type
-
Fields inherited from class AbstractRequest
EXCEPTION_XML, hints, onlineResource, properties
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
createTemplateUrl(String tileMatrixSetName)
Used when creating WMTSTileService's based on a templateUrl.protected void
initVersion()
Sets up the version number for this request.-
Methods inherited from class AbstractGetTileRequest
getCrs, getFormat, getHeaders, getRequestedTime, getTemplateUrl, getTileCol, getTileMatrix, getTileMatrixSet, getTileRow, getTiles, initRequest, setCRS, setFormat, setLayer, setRequestedBBox, setRequestedHeight, setRequestedTime, setRequestedWidth, setStyle, setTileCol, setTileMatrix, setTileMatrixSet, setTileRow
-
Methods inherited from class AbstractWMTSRequest
initService
-
Methods inherited from class AbstractRequest
getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, processKey, requiresPost, setProperty, setRequestHints
-
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface Request
createResponse, getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, requiresPost, setProperty, setRequestHints
-
-
-
-
Method Detail
-
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 classAbstractGetTileRequest
-
createTemplateUrl
protected String createTemplateUrl(String tileMatrixSetName)
Description copied from class:AbstractGetTileRequest
Used when creating WMTSTileService's based on a templateUrl.If the server supports RESTful calls. It will use that. Otherwise it will create a similar template for KVP requests.
- Specified by:
createTemplateUrl
in classAbstractGetTileRequest
- Parameters:
tileMatrixSetName
- the name of the tileMatrixSet. This is expected to be UTF-8 encoded- Returns:
- template URL used containing placeholders for request parameters
-
-