public abstract class AbstractGetTileRequest extends AbstractWMTSRequest implements GetTileRequest
| Modifier and Type | Field and Description |
|---|---|
protected WMTSCapabilities |
capabilities |
protected WMTSLayer |
layer |
static String |
LAYER |
static String |
STYLE |
protected String |
styleName |
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.
|
AbstractGetTileRequest(URL onlineResource,
Properties properties,
HTTPClient client) |
| Modifier and Type | Method and Description |
|---|---|
Response |
createResponse(HTTPResponse response)
Each Request must know how to create it's counterpart Response.
|
CoordinateReferenceSystem |
getCrs() |
URL |
getFinalURL()
Once the properties of the request are configured, this will return the URL that points to
the server and contains all of the appropriate name/value parameters.
|
String |
getFormat() |
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 |
setFormat(String format) |
void |
setLayer(WMTSLayer layer) |
void |
setRequestedBBox(ReferencedEnvelope requestedBBox) |
void |
setRequestedHeight(int height) |
void |
setRequestedTime(String requestedTime) |
void |
setRequestedWidth(int width) |
void |
setStyle(String styleName) |
initServicegetPostContentType, getProperties, getRequestHints, performPostOutput, processKey, requiresPost, setProperty, setRequestHintsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPostContentType, getProperties, getRequestHints, performPostOutput, requiresPost, setProperty, setRequestHintspublic 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 WMTSLayer layer
protected String styleName
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.public AbstractGetTileRequest(URL onlineResource, Properties properties, HTTPClient client)
protected abstract void initVersion()
AbstractRequestinitVersion in class AbstractRequestprotected void initRequest()
initRequest in class AbstractRequestpublic Response createResponse(HTTPResponse response) throws ServiceException, IOException
RequestcreateResponse in interface RequestServiceExceptionIOExceptionpublic void setLayer(WMTSLayer layer)
setLayer in interface GetTileRequestpublic void setStyle(String styleName)
setStyle in interface GetTileRequestpublic String getFormat()
public void setFormat(String format)
setFormat in interface GetTileRequestpublic void setRequestedHeight(int height)
setRequestedHeight in interface GetTileRequestpublic void setRequestedWidth(int width)
setRequestedWidth in interface GetTileRequestpublic void setRequestedBBox(ReferencedEnvelope requestedBBox)
setRequestedBBox in interface GetTileRequestpublic void setRequestedTime(String requestedTime)
setRequestedTime in interface GetTileRequestpublic Map<String,String> getHeaders()
GetTileRequestgetHeaders in interface GetTileRequestpublic CoordinateReferenceSystem getCrs()
public void setCRS(CoordinateReferenceSystem coordinateReferenceSystem)
setCRS in interface GetTileRequestpublic Set<Tile> getTiles() throws ServiceException
getTiles in interface GetTileRequestServiceExceptionpublic URL getFinalURL()
RequestgetFinalURL in interface RequestgetFinalURL in class AbstractRequestorg.geotools.data.wms.request.Request#getFinalURL()Copyright © 1996–2021 Geotools. All rights reserved.