org.geotools.data.wms
Class WMS1_1_0.InternalGetLegendGraphicRequest

Object
  extended by AbstractRequest
      extended by AbstractWMSRequest
          extended by AbstractGetLegendGraphicRequest
              extended by WMS1_1_0.InternalGetLegendGraphicRequest
All Implemented Interfaces:
Request, GetLegendGraphicRequest
Enclosing class:
WMS1_1_0

public static class WMS1_1_0.InternalGetLegendGraphicRequest
extends AbstractGetLegendGraphicRequest


Field Summary
 
Fields inherited from class AbstractRequest
EXCEPTION_XML, onlineResource, properties
 
Fields inherited from interface GetLegendGraphicRequest
EXCEPTIONS, FEATURETYPE, FORMAT, HEIGHT, LAYER, RULE, SCALE, SLD, SLD_BODY, STYLE, WIDTH
 
Fields inherited from interface Request
REQUEST, SERVICE, VERSION, WMTVER
 
Constructor Summary
WMS1_1_0.InternalGetLegendGraphicRequest(URL onlineResource, WMS1_1_0 creator)
           
 
Method Summary
 Response createResponse(String contentType, InputStream inputStream)
          Each Request must know how to create it's counterpart Response.
protected  void initVersion()
          Sets up the version number for this request.
 
Methods inherited from class AbstractGetLegendGraphicRequest
initRequest, setExceptions, setFeatureType, setFormat, setHeight, setLayer, setRule, setScale, setSLD, setSLDBody, setStyle, setWidth
 
Methods inherited from class AbstractWMSRequest
initService
 
Methods inherited from class AbstractRequest
getFinalURL, getPostContentType, getProperties, performPostOutput, processKey, requiresPost, setProperty
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface Request
getFinalURL, getPostContentType, getProperties, performPostOutput, requiresPost, setProperty
 

Constructor Detail

WMS1_1_0.InternalGetLegendGraphicRequest

public WMS1_1_0.InternalGetLegendGraphicRequest(URL onlineResource,
                                                WMS1_1_0 creator)
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 AbstractGetLegendGraphicRequest

createResponse

public Response createResponse(String contentType,
                               InputStream inputStream)
                        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.

Parameters:
contentType - the MIME type of the data in the inputStream
inputStream - contains the data from the response
Throws:
ServiceException
IOException


Copyright © 1996-2009 Geotools. All Rights Reserved.