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, properties
Fields inherited from interface GetLegendGraphicRequest
EXCEPTIONS, FEATURETYPE, FORMAT, HEIGHT, LAYER, RULE, SCALE, SLD, SLD_BODY, STYLE, WIDTH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected abstract void
Sets 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.void
setExceptions
(String exceptions) void
setFeatureType
(String featureType) void
void
void
void
void
void
void
setSLDBody
(String sldBody) void
void
Methods inherited from class AbstractWMSRequest
initService
Methods inherited from class AbstractRequest
getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, requiresPost, setProperty, setRequestHints
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
initRequest
in classAbstractRequest
-
initVersion
protected abstract 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 classAbstractRequest
-
setLayer
- Specified by:
setLayer
in interfaceGetLegendGraphicRequest
-
setStyle
- Specified by:
setStyle
in interfaceGetLegendGraphicRequest
-
setFeatureType
- Specified by:
setFeatureType
in interfaceGetLegendGraphicRequest
-
setRule
- Specified by:
setRule
in interfaceGetLegendGraphicRequest
-
setScale
- Specified by:
setScale
in interfaceGetLegendGraphicRequest
-
setSLD
- Specified by:
setSLD
in interfaceGetLegendGraphicRequest
-
setSLDBody
- Specified by:
setSLDBody
in interfaceGetLegendGraphicRequest
-
setFormat
- Specified by:
setFormat
in interfaceGetLegendGraphicRequest
-
setWidth
- Specified by:
setWidth
in interfaceGetLegendGraphicRequest
-
setHeight
- Specified by:
setHeight
in interfaceGetLegendGraphicRequest
-
setExceptions
- Specified by:
setExceptions
in interfaceGetLegendGraphicRequest
-
processKey
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 classAbstractRequest
- Parameters:
key
- the key to be processed- Returns:
- the key, after being processed. (made upper case, for example)
-