public static class WMS1_0_0.GetCapsRequest extends AbstractGetCapabilitiesRequest
WMS 1.0.0 does requests a bit differently:
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 compatable with a 1.0.0 Web Feature Server.
|
Modifier and Type | Method and Description |
---|---|
Response |
createResponse(HTTPResponse httpResponse)
Each Request must know how to create it's counterpart Response.
|
protected void |
initRequest()
Sets the REQUEST parameter
Subclass can override if needed.
|
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.
|
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 initVersion()
AbstractRequest
initVersion
in class AbstractRequest
protected void initRequest()
AbstractGetCapabilitiesRequest
Subclass can override if needed.
initRequest
in class AbstractGetCapabilitiesRequest
protected void initService()
AbstractRequest
initService
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 Response createResponse(HTTPResponse httpResponse) throws ServiceException, IOException
Request
ServiceException
IOException
Copyright © 1996–2019 Geotools. All rights reserved.