Package org.geotools.ows.wms.request
Class AbstractDescribeLayerRequest
Object
AbstractRequest
AbstractWMSRequest
AbstractDescribeLayerRequest
- All Implemented Interfaces:
Request,DescribeLayerRequest
- Direct Known Subclasses:
WMS1_1_0.InternalDescribeLayerRequest
public abstract class AbstractDescribeLayerRequest
extends AbstractWMSRequest
implements DescribeLayerRequest
Describes an abstract DescribeLayer request. Provides everything except the versioning info, which subclasses must
implement.
- Author:
- Richard Gould
-
Field Summary
Fields inherited from class AbstractRequest
EXCEPTION_XML, hints, onlineResource, propertiesFields inherited from interface DescribeLayerRequest
LAYERS -
Constructor Summary
ConstructorsConstructorDescriptionAbstractDescribeLayerRequest(URL onlineResource, Properties properties) Constructs a basic DescribeLayerRequest, without versioning info. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected abstract voidSets up the version number for this request.voidTODO Change this to be a String[] or Listso we can encode properly. Methods inherited from class AbstractWMSRequest
initServiceMethods inherited from class AbstractRequest
getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, processKey, 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
-
AbstractDescribeLayerRequest
Constructs a basic DescribeLayerRequest, without versioning info.- Parameters:
onlineResource- the location of the requestproperties- a set of properties to use. Can be null.
-
-
Method Details
-
initRequest
protected void initRequest()- Specified by:
initRequestin classAbstractRequest
-
setLayers
Description copied from interface:DescribeLayerRequestTODO Change this to be a String[] or Listso we can encode properly. Sets the LAYERS parameter - Specified by:
setLayersin interfaceDescribeLayerRequest- Parameters:
layers- A comma delimited String of named layers- See Also:
-
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
-