org.deegree_impl.services.capabilities
Class HTTP_Impl

java.lang.Object
  extended byorg.deegree_impl.services.capabilities.HTTP_Impl
All Implemented Interfaces:
HTTP, Marshallable, Protocol

public class HTTP_Impl
extends java.lang.Object
implements HTTP, Marshallable

The HTTP-Protocol, which extends the super-interface Protocol.java. It defines the GetOnlineResource and the getPostOnlineResource methods.

-----------------------------------------------------

Version:
$Revision: 1.8 $ $Date: 2004/01/08 09:50:23 $
Author:
Katharina Lupp, Markus Schneider

Field Summary
private  java.util.ArrayList getOnlineResource
           
private  java.util.ArrayList postOnlineResource
           
 
Constructor Summary
HTTP_Impl()
          default constructor
HTTP_Impl(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.lang.String exportAsXML()
          Returns an XML representation of this object.
 java.net.URL[] getGetOnlineResources()
          returns URL prefix for get HTTP request method.
 java.net.URL[] getPostOnlineResources()
          returns URL prefix for post HTTP request method.
 void setGetOnlineResources(java.net.URL[] getOnlineResource)
          sets URL prefix for get HTTP request method.
 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
 

Field Detail

getOnlineResource

private java.util.ArrayList getOnlineResource

postOnlineResource

private java.util.ArrayList postOnlineResource
Constructor Detail

HTTP_Impl

public HTTP_Impl()
default constructor


HTTP_Impl

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

Method Detail

getGetOnlineResources

public java.net.URL[] getGetOnlineResources()
returns URL prefix for get HTTP request method.

Specified by:
getGetOnlineResources in interface HTTP

addGetOnlineResource

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

Specified by:
addGetOnlineResource in interface HTTP

setGetOnlineResources

public void setGetOnlineResources(java.net.URL[] getOnlineResource)
sets URL prefix for get HTTP request method.


getPostOnlineResources

public java.net.URL[] getPostOnlineResources()
returns URL prefix for post HTTP request method.

Specified by:
getPostOnlineResources in interface HTTP

setPostOnlineResources

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


addPostOnlineResource

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

Specified by:
addPostOnlineResource in interface HTTP

exportAsXML

public java.lang.String exportAsXML()
Returns an XML representation of this object.

Specified by:
exportAsXML in interface Marshallable
Returns:
XML-representation of this object