public abstract class AbstractGetTileRequest extends AbstractWMTSRequest implements GetTileRequest
Modifier and Type | Field and Description |
---|---|
protected WMTSCapabilities |
capabilities |
static String |
LAYER |
static String |
STYLE |
static String |
TILECOL |
static String |
TILEMATRIX |
static String |
TILEMATRIXSET |
static String |
TILEROW |
protected WMTSServiceType |
type |
EXCEPTION_XML, hints, onlineResource, properties
Constructor and Description |
---|
AbstractGetTileRequest(URL onlineResource,
Properties properties)
Constructs a GetMapRequest.
|
Modifier and Type | Method and Description |
---|---|
Response |
createResponse(HTTPResponse response)
Each Request must know how to create it's counterpart Response.
|
CoordinateReferenceSystem |
getCrs() |
Map<String,String> |
getHeaders()
HTTP headers required for some WMTS *
|
Set<Tile> |
getTiles()
Compute the set of tiles needed to generate the image.
|
protected void |
initRequest() |
protected abstract void |
initVersion()
Sets up the version number for this request.
|
void |
setCRS(CoordinateReferenceSystem coordinateReferenceSystem) |
void |
setLayer(WMTSLayer layer) |
void |
setRequestedBBox(ReferencedEnvelope requestedBBox) |
void |
setRequestedHeight(int height) |
void |
setRequestedTime(String requestedTime) |
void |
setRequestedWidth(int width) |
void |
setStyle(String styleName) |
initService
getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, processKey, requiresPost, setProperty, setRequestHints
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, requiresPost, setProperty, setRequestHints
public static final String LAYER
public static final String STYLE
public static final String TILECOL
public static final String TILEROW
public static final String TILEMATRIX
public static final String TILEMATRIXSET
protected WMTSServiceType type
protected WMTSCapabilities capabilities
public AbstractGetTileRequest(URL onlineResource, Properties properties)
onlineResource
- the location that the request should be applied toproperties
- pre-set properties to be used. Can be null.protected abstract void initVersion()
AbstractRequest
initVersion
in class AbstractRequest
protected void initRequest()
initRequest
in class AbstractRequest
public Response createResponse(HTTPResponse response) throws ServiceException, IOException
Request
createResponse
in interface Request
ServiceException
IOException
public void setLayer(WMTSLayer layer)
setLayer
in interface GetTileRequest
public void setStyle(String styleName)
setStyle
in interface GetTileRequest
public void setRequestedHeight(int height)
setRequestedHeight
in interface GetTileRequest
public void setRequestedWidth(int width)
setRequestedWidth
in interface GetTileRequest
public void setRequestedBBox(ReferencedEnvelope requestedBBox)
setRequestedBBox
in interface GetTileRequest
public void setRequestedTime(String requestedTime)
setRequestedTime
in interface GetTileRequest
public Map<String,String> getHeaders()
GetTileRequest
getHeaders
in interface GetTileRequest
public CoordinateReferenceSystem getCrs()
public void setCRS(CoordinateReferenceSystem coordinateReferenceSystem)
setCRS
in interface GetTileRequest
public Set<Tile> getTiles() throws ServiceException
getTiles
in interface GetTileRequest
ServiceException
Copyright © 1996–2019 Geotools. All rights reserved.