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) |
initServicegetFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, processKey, requiresPost, setProperty, setRequestHintsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFinalURL, getPostContentType, 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 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()
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 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 GetTileRequestServiceExceptionCopyright © 1996–2019 Geotools. All rights reserved.