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

org.deegree.ogcwebservices.getcapabilities
Class HTTP

java.lang.Object
  extended by org.deegree.ogcwebservices.getcapabilities.Protocol
      extended by org.deegree.ogcwebservices.getcapabilities.HTTP
All Implemented Interfaces:
java.io.Serializable

public class HTTP
extends Protocol

The HTTP-Protocol, which extends the super-interface Protocol. It defines the getGetOnlineResources() and the getPostOnlineResources() methods.

Version:
$Revision: 18195 $ $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Katharina Lupp , Markus Schneider
See Also:
Serialized Form

Constructor Summary
HTTP()
          default constructor
HTTP(java.net.URL[] getOnlineResource, java.net.URL[] postOnlineResource)
          constructor initializing the class with get and post URL
 
Method Summary
 void addGetOnlineResource(java.net.URL getOnlineResource)
          adds a get-online resource to the HTTP protocol class
 void addPostOnlineResource(java.net.URL postOnlineResource)
          adds a post-online resource to the HTTP protocol class
 java.net.URL[] getGetOnlineResources()
          Return the list of online resources for the HTTP GET request.
 java.net.URL[] getPostOnlineResources()
          Return the list of online resources for the HTTP GET request.
 void setGetOnlineResources(java.net.URL[] getOnlineResource)
           
 void setPostOnlineResources(java.net.URL[] postOnlineResource)
          sets URL prefix for post HTTP request method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTP

public HTTP()
default constructor


HTTP

public HTTP(java.net.URL[] getOnlineResource,
            java.net.URL[] postOnlineResource)
constructor initializing the class with get and post URL

Parameters:
getOnlineResource -
postOnlineResource -
Method Detail

getGetOnlineResources

public java.net.URL[] getGetOnlineResources()
Return the list of online resources for the HTTP GET request. An Online Resource URL intended for HTTP GET requests, is a URL prefix to which additional parameters must be appended in order to construct a valid Operation request. A URL prefix is defined as an opaque string including the protocol, hostname, optional port number, path, a question mark '?', and, optionally, one or more server-specific parameters ending in an ampersand '&'.

Returns:
the urls

addGetOnlineResource

public void addGetOnlineResource(java.net.URL getOnlineResource)
adds a get-online resource to the HTTP protocol class

Parameters:
getOnlineResource -

setGetOnlineResources

public void setGetOnlineResources(java.net.URL[] getOnlineResource)
Parameters:
getOnlineResource -

getPostOnlineResources

public java.net.URL[] getPostOnlineResources()
Return the list of online resources for the HTTP GET request. An Online Resource URL intended for HTTP POST requests is a complete and valid URL to which Clients transmit encoded requests in the body of the POST document.

Returns:
the links

setPostOnlineResources

public void setPostOnlineResources(java.net.URL[] postOnlineResource)
sets URL prefix for post HTTP request method.

Parameters:
postOnlineResource -

addPostOnlineResource

public void addPostOnlineResource(java.net.URL postOnlineResource)
adds a post-online resource to the HTTP protocol class

Parameters:
postOnlineResource -

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