org.vfny.geoserver.requests
Class CapabilitiesRequest

java.lang.Object
  extended byorg.vfny.geoserver.requests.Request
      extended byorg.vfny.geoserver.requests.CapabilitiesRequest

public class CapabilitiesRequest
extends Request

This class enforces a standard interface for GetCapabilities requests.


Field Summary
 
Fields inherited from class org.vfny.geoserver.requests.Request
httpServletRequest, request, service, version
 
Constructor Summary
CapabilitiesRequest(java.lang.String serviceType)
          Empty constructor.
 
Method Summary
 boolean equals(java.lang.Object o)
          Override of equals.
 java.lang.String toString()
          Returns a string representation of this CapabilitiesRequest.
 
Methods inherited from class org.vfny.geoserver.requests.Request
getBaseUrl, getGeoServer, getHttpServletRequest, getRequest, getRootDir, getService, getValidationProcessor, getVersion, hashCode, isLoggedIn, setHttpServletRequest, setRequest, setService, setVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CapabilitiesRequest

public CapabilitiesRequest(java.lang.String serviceType)
Empty constructor.

Parameters:
serviceType - DOCUMENT ME!
Method Detail

toString

public java.lang.String toString()
Returns a string representation of this CapabilitiesRequest.

Returns:
a string of with the service and version.

equals

public boolean equals(java.lang.Object o)
Override of equals. Just calls super.equals, since there are no extra fields here that aren't in Request.

Overrides:
equals in class Request
Parameters:
o - the object to test against.
Returns:
true if o is equal to this request.