Package org.geotools.ows.wms
Class WMS1_0_0.GetCapsRequest
Object
AbstractRequest
AbstractGetCapabilitiesRequest
GetCapsRequest
- All Implemented Interfaces:
GetCapabilitiesRequest,Request
- Direct Known Subclasses:
WMS1_1_0.GetCapsRequest
- Enclosing class:
- WMS1_0_0
We need a custom request object.
WMS 1.0.0 does requests a bit differently:
- WMTVER=1.0.0
-
Field Summary
Fields inherited from class AbstractGetCapabilitiesRequest
SERVICEFields inherited from class AbstractRequest
EXCEPTION_XML, hints, onlineResource, propertiesFields inherited from interface GetCapabilitiesRequest
GET_CAPABILITIES, SECTION_ALL, SECTION_COMMON, SECTION_CONTENT, SECTION_OPERATIONS, SECTION_SERVICE -
Constructor Summary
ConstructorsConstructorDescriptionGetCapsRequest(URL urlGetCapabilities) Construct a Request compatable with a 1.0.0 Web Feature Server. -
Method Summary
Modifier and TypeMethodDescriptioncreateResponse(HTTPResponse httpResponse) Each Request must know how to create it's counterpart Response.protected voidSets the REQUEST parameterprotected voidImplementing subclass requests must specify their own "SERVICE" value.protected voidSets up the version number for this request.protected StringprocessKey(String key) Some Open Web Servers do not abide by the fact that parameter keys should be case insensitive.Methods inherited from class AbstractRequest
getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, requiresPost, setProperty, setRequestHintsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Request
getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, requiresPost, setProperty, setRequestHints
-
Constructor Details
-
GetCapsRequest
Construct a Request compatable with a 1.0.0 Web Feature Server.- Parameters:
urlGetCapabilities- URL of GetCapabilities document.
-
-
Method Details
-
initVersion
protected void initVersion()Description copied from class:AbstractRequestSets up the version number for this request. Typically something like setProperty("VERSION", "1.1.1");- Specified by:
initVersionin classAbstractRequest
-
initRequest
protected void initRequest()Description copied from class:AbstractGetCapabilitiesRequestSets the REQUEST parameterSubclass can override if needed.
- Overrides:
initRequestin classAbstractGetCapabilitiesRequest
-
initService
protected void initService()Description copied from class:AbstractRequestImplementing subclass requests must specify their own "SERVICE" value. Example: setProperty("SERVICE", "WFS");- Specified by:
initServicein classAbstractRequest
-
processKey
Description copied from class:AbstractRequestSome 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:
processKeyin classAbstractRequest- Parameters:
key- the key to be processed- Returns:
- the key, after being processed. (made upper case, for example)
-
createResponse
Description copied from interface:RequestEach 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:
ServiceExceptionIOException
-