public abstract class AbstractWMTSResource
extends ResourceBaseAdapter
WMTS resource abstract class. The abstract of the basic functions of the needed resources when realizing RESTful WMTS service.
Modifier and Type | Field and Description |
---|---|
protected static LocLogger |
LOGGER |
protected static |
RESOURCE |
Constructor and Description |
---|
AbstractWMTSResource(Context context, Request request, Response response)
Construct function, construct the
AbstractWMTSResource object by context, request object and response object AbstractWMTSResource . |
Modifier and Type | Method and Description |
---|---|
void |
checkGetTileParams(WMTSGetTileParameter tileParameter, java.util.List<java.lang.String> mapNames, java.util.List<TileMatrixSet> tileMatrixSets, VerifyMode verifyMode)
Check whether the layer, tileMatrixSet, tileMatrix, tileRow, tileCol, and style operations of WMST TileParamter are correct.
|
void |
create(java.lang.Object obj) |
protected java.lang.String |
getBaseUri()
Get the root address of WMTS service.
|
protected WMTSConfig |
getConfig()
Get WMTS service configuration information.
|
protected Map |
getMapComponent()
Get the map service component which provides map functions for WMTS service.
|
WMTSGetCapabilities |
getWMTSCapabilities(Map mapComponent, WMTSConfig wmtsConfig, java.util.List<java.lang.String> publishMapNames, java.lang.String baseUri)
Get WMTS Capabilities
|
boolean |
isAddContent() |
boolean |
isResourceExist()
Whether resource is existing Local resources always exist.
|
boolean |
isUpdate() |
protected static final RESOURCE
protected static final LocLogger LOGGER
public AbstractWMTSResource(Context context, Request request, Response response)
Construct function, construct the AbstractWMTSResource
object by context, request object and response object AbstractWMTSResource
.
context
- REST context.request
- request object.response
- response object.protected final WMTSConfig getConfig()
Get WMTS service configuration information.
protected final java.lang.String getBaseUri()
Get the root address of WMTS service.
protected final Map getMapComponent()
Get the map service component which provides map functions for WMTS service.
public void checkGetTileParams(WMTSGetTileParameter tileParameter, java.util.List<java.lang.String> mapNames, java.util.List<TileMatrixSet> tileMatrixSets, VerifyMode verifyMode)
Check whether the layer, tileMatrixSet, tileMatrix, tileRow, tileCol, and style operations of WMST TileParamter are correct.
tileParameter
-mapNames
-tileMatrixSets
-verifyMode
-public void create(java.lang.Object obj)
public boolean isAddContent()
public boolean isUpdate()
public boolean isResourceExist()
Whether resource is existing Local resources always exist.
public WMTSGetCapabilities getWMTSCapabilities(Map mapComponent, WMTSConfig wmtsConfig, java.util.List<java.lang.String> publishMapNames, java.lang.String baseUri)
mapComponent
-wmtsConfig
- configuration informationpublishMapNames
- map namebaseUri
- url