| java.lang.Object org.vfny.geoserver.wms.responses.GetFeatureInfoResponse
GetFeatureInfoResponse | public class GetFeatureInfoResponse implements Response(Code) | | A GetFeatureInfoResponse object is responsible for generating GetFeatureInfo
content in the format specified. The way the content is generated is
independent of this class, wich will use a delegate object based on the
output format requested
author: Gabriel Roldan, Axios Engineering version: $Id: GetFeatureInfoResponse.java 7746 2007-11-13 15:38:35Z aaime $ |
GetFeatureInfoResponse | public GetFeatureInfoResponse()(Code) | | Creates a new GetMapResponse object.
|
abort | public void abort(Service gs)(Code) | | if a GetFeatureInfoDelegate is set, calls it's abort method. Elsewere do
nothing.
Parameters: gs - DOCUMENT ME! |
execute | public void execute(Request request) throws ServiceException(Code) | | Obtains a GetFeatureInfoDelegate for the requested output format,
and tells it to execute the request.
Parameters: request - DOCUMENT ME! throws: ServiceException - DOCUMENT ME! |
getContentDisposition | public String getContentDisposition()(Code) | | |
getContentEncoding | public String getContentEncoding()(Code) | | Returns the content encoding of the internal delegate
null since no content encoding (such as GZIP) isdone. throws: IllegalStateException - if this method is called before processinga request (i.e., execute() has not been called) |
getContentType | public String getContentType(GeoServer gs) throws IllegalStateException(Code) | | Asks the internal GetFeatureInfoDelegate for the MIME type of the result that it
will generate or is ready to, and returns it
Parameters: gs - the global app context the MIME type of the map generated or ready to generate throws: IllegalStateException - if a GetMapDelegate is not setted yet |
getFormats | public static List getFormats()(Code) | | iterates over the registered Map producers and fills a list with all the
map formats' MIME types that the producers can handle
DOCUMENT ME! |
writeTo | public void writeTo(OutputStream out) throws ServiceException, IOException(Code) | | delegates the writing and encoding of the results of the request to the
GetMapDelegate wich is actually processing it, and has
been obtained when execute(Request) was called
Parameters: out - the output to where the map must be written throws: ServiceException - if the delegate throws a ServiceExceptioninside its writeTo(OuptutStream) , mostly due to throws: IOException - if the delegate throws an IOException inside itswriteTo(OuptutStream) , mostly due to throws: IllegalStateException - if this method is called beforeexecute(Request) has succeed |
|
|