Package org.geotools.ows.wmts
Class WMTSSpecification.GetCapsRequest
Object
AbstractRequest
AbstractGetCapabilitiesRequest
GetCapsRequest
- All Implemented Interfaces:
GetCapabilitiesRequest
,Request
- Enclosing class:
- WMTSSpecification
-
Field Summary
Fields inherited from class AbstractGetCapabilitiesRequest
SERVICE
Fields inherited from class AbstractRequest
EXCEPTION_XML, hints, onlineResource, properties
Fields inherited from interface GetCapabilitiesRequest
GET_CAPABILITIES, SECTION_ALL, SECTION_COMMON, SECTION_CONTENT, SECTION_OPERATIONS, SECTION_SERVICE
-
Constructor Summary
ConstructorsConstructorDescriptionGetCapsRequest
(URL urlGetCapabilities) Construct a Request compatible with a 1.0.1 WMTS. -
Method Summary
Modifier and TypeMethodDescriptioncreateResponse
(HTTPResponse httpResponse) Each Request must know how to create it's counterpart Response.protected void
Implementing subclass requests must specify their own "SERVICE" value.protected void
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.Methods inherited from class AbstractGetCapabilitiesRequest
initRequest
Methods inherited from class AbstractRequest
getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, requiresPost, setProperty, setRequestHints
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface Request
getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, requiresPost, setProperty, setRequestHints
-
Constructor Details
-
GetCapsRequest
Construct a Request compatible with a 1.0.1 WMTS.- Parameters:
urlGetCapabilities
- URL of GetCapabilities document.
-
-
Method Details
-
initService
protected void initService()Description copied from class:AbstractRequest
Implementing subclass requests must specify their own "SERVICE" value. Example: setProperty("SERVICE", "WFS");- Specified by:
initService
in classAbstractRequest
-
initVersion
protected void initVersion()Description copied from class:AbstractRequest
Sets up the version number for this request. Typically something like setProperty("VERSION", "1.1.1");- Specified by:
initVersion
in classAbstractRequest
-
processKey
Description copied from class:AbstractRequest
Some Open Web Servers do not abide by the fact that parameter keys should be case insensitive.This method will allow a specification to determine the way that the parameter keys should be encoded in requests made by the server.
- Overrides:
processKey
in classAbstractRequest
- Parameters:
key
- the key to be processed- Returns:
- the key, after being processed. (made upper case, for example)
-
createResponse
public WMTSGetCapabilitiesResponse createResponse(HTTPResponse httpResponse) throws ServiceException, IOException Description copied from interface:Request
Each Request must know how to create it's counterpart Response. Given the content type and input stream (containin the response data), this method must return an appropriate Response object.- Throws:
ServiceException
IOException
-