org.geotools.data.wms.request
Interface Request

All Known Subinterfaces:
DescribeLayerRequest, GetCapabilitiesRequest, GetFeatureInfoRequest, GetLegendGraphicRequest, GetMapRequest, GetStylesRequest, PutStylesRequest
All Known Implementing Classes:
AbstractDescribeLayerRequest, AbstractGetCapabilitiesRequest, AbstractGetFeatureInfoRequest, AbstractGetLegendGraphicRequest, AbstractGetMapRequest, AbstractGetStylesRequest, AbstractPutStylesRequest, AbstractRequest

public interface Request

This represents a Request to be made against a Web Map Server.


Field Summary
static java.lang.String REQUEST
          Represents the REQUEST parameter
static java.lang.String SERVICE
           
static java.lang.String VERSION
          Represents the VERSION parameter
static java.lang.String WMTVER
          Represents the WMTVER parameter
 
Method Summary
 java.net.URL getFinalURL()
          Once the properties of the request are configured, this will return the URL that points to the server and contains all of the appropriate name/value parameters.
 java.util.Properties getProperties()
           
 void setProperty(java.lang.String name, java.lang.String value)
          Sets the name/value property for this request.
 

Field Detail

REQUEST

public static final java.lang.String REQUEST
Represents the REQUEST parameter

See Also:
Constant Field Values

VERSION

public static final java.lang.String VERSION
Represents the VERSION parameter

See Also:
Constant Field Values

WMTVER

public static final java.lang.String WMTVER
Represents the WMTVER parameter

See Also:
Constant Field Values

SERVICE

public static final java.lang.String SERVICE
See Also:
Constant Field Values
Method Detail

getFinalURL

public java.net.URL getFinalURL()
Once the properties of the request are configured, this will return the URL that points to the server and contains all of the appropriate name/value parameters.

Returns:
a URL that can be used to issue the request

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String value)
Sets the name/value property for this request. Note that when using this method, it is up to the programmer to provide their own encoding of value according to the WMS specifications! The code will not do this for you. Please ensure that you are familiar with this. See section 6.2.1 of the WMS 1.1.1 spec and 6.3.2 of the WMS 1.3.0 spec. If value is null, "name" is removed from the properties table.

Parameters:
name - the name of the property
value - the value of the property

getProperties

public java.util.Properties getProperties()
Returns:
the request's current property map


Copyright © GeoTools. All Rights Reserved.