org.geotools.data.wms.request
Class AbstractGetCapabilitiesRequest

java.lang.Object
  extended byorg.geotools.data.wms.request.AbstractRequest
      extended byorg.geotools.data.wms.request.AbstractGetCapabilitiesRequest
All Implemented Interfaces:
GetCapabilitiesRequest, Request
Direct Known Subclasses:
WMS1_0_0.GetCapsRequest

public abstract class AbstractGetCapabilitiesRequest
extends AbstractRequest
implements GetCapabilitiesRequest

DOCUMENT ME!

Author:
Richard Gould

Field Summary
static java.lang.String SERVICE
          Represents the SERVICE parameter
 
Fields inherited from class org.geotools.data.wms.request.AbstractRequest
EXCEPTION_XML, onlineResource, properties
 
Fields inherited from interface org.geotools.data.wms.request.GetCapabilitiesRequest
SECTION_ALL, SECTION_COMMON, SECTION_CONTENT, SECTION_OPERATIONS, SECTION_SERVICE
 
Fields inherited from interface org.geotools.data.wms.request.Request
REQUEST, VERSION, WMTVER
 
Constructor Summary
AbstractGetCapabilitiesRequest(java.net.URL serverURL)
          Creates a AbstractGetCapabilitiesRequest and sets the REQUEST, VERSION and SERVICE parameters.
 
Method Summary
protected  void initRequest()
          Sets the REQUEST parameter Subclass can override if needed.
protected  void initService()
          Sets the SERVICE parameter
protected abstract  void initVersion()
          Sets up the version number for this request.
 
Methods inherited from class org.geotools.data.wms.request.AbstractRequest
getFinalURL, getProperties, processKey, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.geotools.data.wms.request.Request
getFinalURL, getProperties, setProperty
 

Field Detail

SERVICE

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

See Also:
Constant Field Values
Constructor Detail

AbstractGetCapabilitiesRequest

public AbstractGetCapabilitiesRequest(java.net.URL serverURL)
Creates a AbstractGetCapabilitiesRequest and sets the REQUEST, VERSION and SERVICE parameters.

Parameters:
serverURL -
Method Detail

initRequest

protected void initRequest()
Sets the REQUEST parameter

Subclass can override if needed.


initService

protected void initService()
Sets the SERVICE parameter


initVersion

protected abstract void initVersion()
Sets up the version number for this request. Typically something like setProperty("VERSION", "1.1.1");



Copyright © GeoTools. All Rights Reserved.