org.deegree.ogcwebservices
Class OWSUtils
java.lang.Object
org.deegree.ogcwebservices.OWSUtils
public class OWSUtils
- extends java.lang.Object
- Since:
- 2.0
- Version:
- $Revision: 26213 $, 1.0. $Revision: 26213 $, $Date: 2010-08-27 14:01:04 +0200 (Fr, 27 Aug 2010) $
- Author:
- Andreas Poth, last edited by: $Author: apoth $
Method Summary |
static java.net.URL |
getHTTPGetOperationURL(OGCCapabilities capabilities,
java.lang.Class clss)
the method return the first HTTPGet URL for a Operation within the pass capabilities
document. |
static java.net.URL |
getHTTPPostOperationURL(OGCCapabilities capabilities,
java.lang.Class clss)
the method return the first HTTPPost URL for a Operation within the pass capabilities
document. |
static java.lang.String |
validateHTTPGetBaseURL(java.lang.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 |
OWSUtils
public OWSUtils()
validateHTTPGetBaseURL
public static java.lang.String validateHTTPGetBaseURL(java.lang.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 java.net.URL getHTTPGetOperationURL(OGCCapabilities capabilities,
java.lang.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 java.net.URL getHTTPPostOperationURL(OGCCapabilities capabilities,
java.lang.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
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org