public static class WMTSSpecification.GetCapsRequest extends AbstractGetCapabilitiesRequest
SERVICE
EXCEPTION_XML, hints, onlineResource, properties
GET_CAPABILITIES, SECTION_ALL, SECTION_COMMON, SECTION_CONTENT, SECTION_OPERATIONS, SECTION_SERVICE
Constructor and Description |
---|
GetCapsRequest(URL urlGetCapabilities)
Construct a Request compatible with a 1.0.1 WMTS.
|
Modifier and Type | Method and Description |
---|---|
WMTSGetCapabilitiesResponse |
createResponse(HTTPResponse httpResponse)
Each Request must know how to create it's counterpart Response.
|
protected void |
initService()
Implementing subclass requests must specify their own "SERVICE" value.
|
protected void |
initVersion()
Sets up the version number for this request.
|
protected String |
processKey(String key)
Some Open Web Servers do not abide by the fact that parameter keys should be case
insensitive.
|
initRequest
getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, requiresPost, setProperty, setRequestHints
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, requiresPost, setProperty, setRequestHints
public GetCapsRequest(URL urlGetCapabilities)
urlGetCapabilities
- URL of GetCapabilities document.protected void initService()
AbstractRequest
initService
in class AbstractRequest
protected void initVersion()
AbstractRequest
initVersion
in class AbstractRequest
protected String processKey(String key)
AbstractRequest
This method will allow a specification to determine the way that the parameter keys should be encoded in requests made by the server.
processKey
in class AbstractRequest
key
- the key to be processedpublic WMTSGetCapabilitiesResponse createResponse(HTTPResponse httpResponse) throws ServiceException, IOException
Request
ServiceException
IOException
Copyright © 1996–2019 Geotools. All rights reserved.