| java.lang.Object org.vfny.geoserver.wms.responses.featureInfo.GetFeatureInfoDelegate org.vfny.geoserver.wms.responses.featureInfo.AbstractFeatureInfoResponse
All known Subclasses: org.vfny.geoserver.wms.responses.featureInfo.HTMLTableFeatureInfoResponse, org.vfny.geoserver.wms.responses.featureInfo.TextFeatureInfoResponse, org.vfny.geoserver.wms.responses.featureInfo.GmlFeatureInfoResponse,
AbstractFeatureInfoResponse | abstract public class AbstractFeatureInfoResponse extends GetFeatureInfoDelegate (Code) | | Abstract class to do the common work of the FeatureInfoResponse subclasses.
Subclasses should just need to implement writeTo(), to write the actual
response, the executions are handled here, figuring out where on the map
the pixel is located.
Would be nice to have some greater control over the pixels that are
selected. Ideally we would be able to detect things like the size of the
mark, so that users need not click on the exact center, or the exact pixel.
This is not a big deal for polygons, but is for lines and points. One
half solution to make things a bit nicer would be a global parameter to set
a wider pixel range.
author: James Macgill, PSU author: Gabriel Roldan, Axios author: Chris Holmes, TOPP author: Brent Owens, TOPP |
LOGGER | final protected static Logger LOGGER(Code) | | A logger for this class.
|
format | protected String format(Code) | | setted in execute() from the requested output format, it's holded just
to be sure that method has been called before getContentType() thus
supporting the workflow contract of the request processing
|
supportedFormats | protected List supportedFormats(Code) | | The formats supported by this map delegate.
|
AbstractFeatureInfoResponse | public AbstractFeatureInfoResponse()(Code) | | Autogenerated proxy constructor.
|
abort | public void abort(GeoServer gs)(Code) | | DOCUMENT ME!
Parameters: gs - app context |
execute | protected void execute(MapLayerInfo[] requestedLayers, Filter[] filters, int x, int y) throws WmsException(Code) | | Performs the execute request using geotools rendering.
Parameters: requestedLayers - The information on the types requested. Parameters: queries - The results of the queries to generate maps with. Parameters: x - DOCUMENT ME! Parameters: y - DOCUMENT ME! throws: WmsException - For any problems. |
getContentEncoding | public String getContentEncoding()(Code) | | Returns the content encoding for the output data.
Note that this reffers to an encoding applied to the response stream
(such as GZIP or DEFLATE), and not to the MIME response type, wich is
returned by getContentType()
null since no special encoding is performed whilewrtting to the output stream. |
getContentType | public String getContentType(GeoServer gs)(Code) | | Gets the content type. This is set by the request, should only be
called after execute. GetMapResponse should handle this though.
Parameters: gs - server configuration The mime type that this response will generate. throws: IllegalStateException - ifexecute() has not beenpreviously called |
getSupportedFormats | public List getSupportedFormats()(Code) | | The formats this delegate supports.
The list of the supported formats |
|
|