org.geotools.data.wms
Class WMS1_0_0.GetCapsRequest
java.lang.Object
org.geotools.data.wms.request.AbstractRequest
org.geotools.data.wms.request.AbstractGetCapabilitiesRequest
org.geotools.data.wms.WMS1_0_0.GetCapsRequest
- All Implemented Interfaces:
- GetCapabilitiesRequest, Request
- Direct Known Subclasses:
- WMS1_1_0.GetCapsRequest
- Enclosing class:
- WMS1_0_0
- public static class WMS1_0_0.GetCapsRequest
- extends AbstractGetCapabilitiesRequest
We need a custom request object.
WMS 1.0.0 does requests a bit differently:
- WMTVER=1.0.0
Constructor Summary |
WMS1_0_0.GetCapsRequest(java.net.URL urlGetCapabilities)
Construct a Request compatable with a 1.0.0 Web Feature Server. |
Method Summary |
protected void |
initRequest()
Sets the REQUEST parameter
Subclass can override if needed.
|
protected void |
initService()
Sets the SERVICE parameter |
protected void |
initVersion()
Sets up the version number for this request. |
protected java.lang.String |
processKey(java.lang.String key)
Some WebMapServers do not abide by the fact that parameter keys should
be case insensitive.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WMS1_0_0.GetCapsRequest
public WMS1_0_0.GetCapsRequest(java.net.URL urlGetCapabilities)
- Construct a Request compatable with a 1.0.0 Web Feature Server.
- Parameters:
urlGetCapabilities
- URL of GetCapabilities document.
initVersion
protected void initVersion()
- Description copied from class:
AbstractGetCapabilitiesRequest
- Sets up the version number for this request. Typically something like
setProperty("VERSION", "1.1.1");
- Specified by:
initVersion
in class AbstractGetCapabilitiesRequest
initRequest
protected void initRequest()
- Description copied from class:
AbstractGetCapabilitiesRequest
- Sets the REQUEST parameter
Subclass can override if needed.
- Overrides:
initRequest
in class AbstractGetCapabilitiesRequest
initService
protected void initService()
- Description copied from class:
AbstractGetCapabilitiesRequest
- Sets the SERVICE parameter
- Overrides:
initService
in class AbstractGetCapabilitiesRequest
processKey
protected java.lang.String processKey(java.lang.String key)
- Description copied from class:
AbstractRequest
- Some WebMapServers 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 class AbstractRequest
- Parameters:
key
- the key to be processed
- Returns:
- the key, after being processed. (made upper case, for example)
Copyright © GeoTools. All Rights Reserved.