Package org.geotools.ows.wms.request
Class AbstractGetStylesRequest
Object
AbstractRequest
AbstractWMSRequest
AbstractGetStylesRequest
- All Implemented Interfaces:
Request
,GetStylesRequest
- Direct Known Subclasses:
WMS1_0_0.InternalGetStylesRequest
,WMS1_1_1.InternalGetStylesRequest
public abstract class AbstractGetStylesRequest
extends AbstractWMSRequest
implements GetStylesRequest
Provides functionality for a basic getStyles request
- Author:
- Richard Gould
-
Field Summary
Fields inherited from class AbstractRequest
EXCEPTION_XML, hints, onlineResource, properties
Fields inherited from interface GetStylesRequest
LAYERS, SLDVER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionLayer[]
protected void
protected abstract void
Sets up the version number for this request.void
void
Methods inherited from class AbstractWMSRequest
initService
Methods inherited from class AbstractRequest
getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, processKey, 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
-
AbstractGetStylesRequest
-
-
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
-
setLayers
- Specified by:
setLayers
in interfaceGetStylesRequest
- Parameters:
layers
- comma-separated list of named layers for which to retrieve style descriptions
-
setSLDver
- Specified by:
setSLDver
in interfaceGetStylesRequest
- Parameters:
sldVer
- the SLD version requested for the SLD document
-
getLayers
- Specified by:
getLayers
in interfaceGetStylesRequest
- Returns:
- an array containing named layers
-