Package org.geotools.ows.wms.request
Class AbstractGetLegendGraphicRequest
Object
AbstractRequest
AbstractWMSRequest
AbstractGetLegendGraphicRequest
- All Implemented Interfaces:
Request,GetLegendGraphicRequest
- Direct Known Subclasses:
WMS1_1_0.InternalGetLegendGraphicRequest
public abstract class AbstractGetLegendGraphicRequest
extends AbstractWMSRequest
implements GetLegendGraphicRequest
Provides functionality for a basic GetLegendGraphic request
- Author:
- Richard Gould
-
Field Summary
Fields inherited from class AbstractRequest
EXCEPTION_XML, hints, onlineResource, propertiesFields inherited from interface GetLegendGraphicRequest
EXCEPTIONS, FEATURETYPE, FORMAT, HEIGHT, LAYER, RULE, SCALE, SLD, SLD_BODY, STYLE, WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected abstract voidSets up the version number for this request.processKey(String key) Some Open Web Servers do not abide by the fact that parameter keys should be case insensitive.voidsetExceptions(String exceptions) voidsetFeatureType(String featureType) voidvoidvoidvoidvoidvoidvoidsetSLDBody(String sldBody) voidvoidMethods inherited from class AbstractWMSRequest
initServiceMethods 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
createResponse, getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, requiresPost, setProperty, setRequestHints
-
Constructor Details
-
AbstractGetLegendGraphicRequest
- Parameters:
onlineResource-
-
-
Method Details
-
initRequest
protected void initRequest()- Specified by:
initRequestin classAbstractRequest
-
initVersion
protected abstract 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
-
setLayer
- Specified by:
setLayerin interfaceGetLegendGraphicRequest
-
setStyle
- Specified by:
setStylein interfaceGetLegendGraphicRequest
-
setFeatureType
- Specified by:
setFeatureTypein interfaceGetLegendGraphicRequest
-
setRule
- Specified by:
setRulein interfaceGetLegendGraphicRequest
-
setScale
- Specified by:
setScalein interfaceGetLegendGraphicRequest
-
setSLD
- Specified by:
setSLDin interfaceGetLegendGraphicRequest
-
setSLDBody
- Specified by:
setSLDBodyin interfaceGetLegendGraphicRequest
-
setFormat
- Specified by:
setFormatin interfaceGetLegendGraphicRequest
-
setWidth
- Specified by:
setWidthin interfaceGetLegendGraphicRequest
-
setHeight
- Specified by:
setHeightin interfaceGetLegendGraphicRequest
-
setExceptions
- Specified by:
setExceptionsin interfaceGetLegendGraphicRequest
-
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)
-