com.supermap.services.wmts.rest
Class GetFeatureInfoResource
- java.lang.Object
-
- ResourceBaseAdapter
-
- com.supermap.services.wmts.rest.AbstractWMTSResource
-
- com.supermap.services.wmts.rest.GetFeatureInfoResource
-
public class GetFeatureInfoResource extends AbstractWMTSResource
GetFeatureInfo resource. Return the corresponding tile map information according to the parameters when realizing RESTful in WMTS service.
-
-
Field Summary
-
Fields inherited from class com.supermap.services.wmts.rest.AbstractWMTSResource
LOGGER, RESOURCE
-
-
Constructor Summary
Constructors Constructor and Description GetFeatureInfoResource(Context context, Request request, Response response)Construct function, construct theGetFeatureInfoResourceobject by context, request object and response objectTileResource.
-
Method Summary
Methods Modifier and Type Method and Description VariantgetPreferredVariant()Get MediaTypejava.lang.ObjectgetResourceContent()Get the resource content, which is the tile map.booleanisResourceExist()whether resource is existing This resource has always existed.-
Methods inherited from class com.supermap.services.wmts.rest.AbstractWMTSResource
checkGetTileParams, create, getBaseUri, getConfig, getMapComponent, getWMTSCapabilities, isAddContent, isUpdate
-
-
-
-
Constructor Detail
-
GetFeatureInfoResource
public GetFeatureInfoResource(Context context, Request request, Response response)Construct function, construct the
GetFeatureInfoResourceobject by context, request object and response objectTileResource.- Parameters:
context- REST context.request- request object.response- response object.
-
-
Method Detail
-
isResourceExist
public final boolean isResourceExist()
whether resource is existing This resource has always existed.
- Overrides:
isResourceExistin classAbstractWMTSResource- Returns:
- true.
-
getResourceContent
public final java.lang.Object getResourceContent()
Get the resource content, which is the tile map.
- Returns:
- indicates the object of the tile map.
-
getPreferredVariant
public Variant getPreferredVariant()
Get MediaType
-
-