deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices
Class OWSUtils

java.lang.Object
  extended by 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 $

Constructor Summary
OWSUtils()
           
 
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
 

Constructor Detail

OWSUtils

public OWSUtils()
Method Detail

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

deegree 2.5 (2011/06/29 09:44 build-8-official)

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