org.geotools.data.ows
Class AbstractGetCapabilitiesRequest

java.lang.Object
  extended by org.geotools.data.ows.AbstractRequest
      extended by org.geotools.data.ows.AbstractGetCapabilitiesRequest
All Implemented Interfaces:
GetCapabilitiesRequest, Request
Direct Known Subclasses:
WMS1_0_0.GetCapsRequest, WPS1_0_0.GetCapsRequest

public abstract class AbstractGetCapabilitiesRequest
extends AbstractRequest
implements GetCapabilitiesRequest

Each Open Web Service typically defines an operation that describes what operations it supports and what data it holds. The document describing this information is usually called the Capabilities document, and is usually accessed using the GetCapabilities operation. This class provides a basic building block for clients to implement their GetCapabilitiesRequest. It automatically sets the REQUEST parameter to "GetCapabilities".

Author:
rgould

Field Summary
static java.lang.String SERVICE
          Represents the SERVICE parameter
 
Fields inherited from class org.geotools.data.ows.AbstractRequest
EXCEPTION_XML, onlineResource, properties
 
Fields inherited from interface org.geotools.data.ows.GetCapabilitiesRequest
GET_CAPABILITIES, SECTION_ALL, SECTION_COMMON, SECTION_CONTENT, SECTION_OPERATIONS, SECTION_SERVICE
 
Fields inherited from interface org.geotools.data.ows.Request
REQUEST, VERSION, WMTVER
 
Constructor Summary
AbstractGetCapabilitiesRequest(java.net.URL serverURL)
           
 
Method Summary
protected  void initRequest()
          Sets the REQUEST parameter
 
Methods inherited from class org.geotools.data.ows.AbstractRequest
getFinalURL, getPostContentType, getProperties, initService, initVersion, performPostOutput, processKey, requiresPost, 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.ows.Request
createResponse, getFinalURL, getPostContentType, getProperties, performPostOutput, requiresPost, 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)
Method Detail

initRequest

protected void initRequest()
Sets the REQUEST parameter

Subclass can override if needed.

Specified by:
initRequest in class AbstractRequest


Copyright © 1996-2010 Geotools. All Rights Reserved.