org.geotools.data.wms
Class WMS1_0_0.GetFeatureInfoRequest

Object
  extended by AbstractRequest
      extended by AbstractWMSRequest
          extended by AbstractGetFeatureInfoRequest
              extended by WMS1_0_0.GetFeatureInfoRequest
All Implemented Interfaces:
Request, GetFeatureInfoRequest
Direct Known Subclasses:
WMS1_1_0.GetFeatureInfoRequest
Enclosing class:
WMS1_0_0

public static class WMS1_0_0.GetFeatureInfoRequest
extends AbstractGetFeatureInfoRequest

A GetFeatureInfoRequest for a 1.0.0 server


Field Summary
 
Fields inherited from class AbstractRequest
EXCEPTION_XML, onlineResource, properties
 
Fields inherited from interface GetFeatureInfoRequest
FEATURE_COUNT, INFO_FORMAT, QUERY_LAYERS, QUERY_X, QUERY_Y
 
Fields inherited from interface Request
REQUEST, SERVICE, VERSION, WMTVER
 
Constructor Summary
WMS1_0_0.GetFeatureInfoRequest(URL onlineResource, GetMapRequest request)
           
 
Method Summary
 Response createResponse(HTTPResponse httpResponse)
          Each Request must know how to create it's counterpart Response.
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.
 
Methods inherited from class AbstractGetFeatureInfoRequest
addQueryLayer, getFinalURL, getQueryX, getQueryY, initRequest, setFeatureCount, setFeatureCount, setInfoFormat, setQueryLayers, setQueryPoint
 
Methods inherited from class AbstractWMSRequest
initService
 
Methods inherited from class AbstractRequest
getPostContentType, getProperties, performPostOutput, requiresPost, setProperty
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface Request
getPostContentType, getProperties, performPostOutput, requiresPost, setProperty
 

Constructor Detail

WMS1_0_0.GetFeatureInfoRequest

public WMS1_0_0.GetFeatureInfoRequest(URL onlineResource,
                                      GetMapRequest request)
Parameters:
onlineResource -
request -
Method Detail

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 class AbstractGetFeatureInfoRequest

processKey

protected String processKey(String key)
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 class AbstractRequest
Parameters:
key - the key to be processed
Returns:
the key, after being processed. (made upper case, for example)

createResponse

public Response 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


Copyright © 1996-2014 Geotools. All Rights Reserved.