deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.ogcwebservices
Class OWSUtils

java.lang.Object
  extended by org.deegree.ogcwebservices.OWSUtils

public class OWSUtils
extends Object

Since:
2.0
Version:
$Revision: 18195 $, 1.0. $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Andreas Poth, last edited by: $Author: mschneider $

Constructor Summary
OWSUtils()
           
 
Method Summary
static URL getHTTPGetOperationURL(OGCCapabilities capabilities, Class clss)
          the method return the first HTTPGet URL for a Operation within the pass capabilities document.
static URL getHTTPPostOperationURL(OGCCapabilities capabilities, Class clss)
          the method return the first HTTPPost URL for a Operation within the pass capabilities document.
static String validateHTTPGetBaseURL(String href)
          according to OGC WMS 1.3 Testsuite a URL to a service operation via HTTPGet must end with '?'
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWSUtils

public OWSUtils()
Method Detail

validateHTTPGetBaseURL

public static String validateHTTPGetBaseURL(String href)
according to OGC WMS 1.3 Testsuite a URL to a service operation via HTTPGet must end with '?' or '&'

Parameters:
href -
Returns:
the parameter, changed to fulfill the spec

getHTTPGetOperationURL

public static URL getHTTPGetOperationURL(OGCCapabilities capabilities,
                                         Class clss)
the method return the first HTTPGet URL for a Operation within the pass capabilities document. If No URL can be found (e.g. the service does not support the operation via HTTP Get) null will be returned

Parameters:
capabilities -
clss -
Returns:
see above

getHTTPPostOperationURL

public static URL getHTTPPostOperationURL(OGCCapabilities capabilities,
                                          Class clss)
the method return the first HTTPPost URL for a Operation within the pass capabilities document. If No URL can be found (e.g. the service does not support the operation via HTTP Get) null will be returned

Parameters:
capabilities -
clss -
Returns:
the first HTTPPost URL for a Operation within the pass capabilities document. If No URL can be found (e.g. the service does not support the operation via HTTP Get) null will be returned

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org