001    //$HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/tags/2.1/src/org/deegree/ogcwebservices/wass/wss/operation/DoServiceResponse.java $
002    /*----------------    FILE HEADER  ------------------------------------------
003    
004     This file is part of deegree.
005     Copyright (C) 2001-2006 by:
006     EXSE, Department of Geography, University of Bonn
007     http://www.giub.uni-bonn.de/exse/
008     lat/lon GmbH
009     http://www.lat-lon.de
010    
011     This library is free software; you can redistribute it and/or
012     modify it under the terms of the GNU Lesser General Public
013     License as published by the Free Software Foundation; either
014     version 2.1 of the License, or (at your option) any later version.
015    
016     This library is distributed in the hope that it will be useful,
017     but WITHOUT ANY WARRANTY; without even the implied warranty of
018     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
019     Lesser General Public License for more details.
020    
021     You should have received a copy of the GNU Lesser General Public
022     License along with this library; if not, write to the Free Software
023     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
024    
025     Contact:
026    
027     Andreas Poth
028     lat/lon GmbH
029     Aennchenstraße 19
030     53177 Bonn
031     Germany
032     E-Mail: poth@lat-lon.de
033    
034     Jens Fitzke
035     lat/lon GmbH
036     Aennchenstraße 19
037     53177 Bonn
038     Germany
039     E-Mail: jens.fitzke@uni-bonn.de
040    
041     ---------------------------------------------------------------------------*/
042    
043    package org.deegree.ogcwebservices.wass.wss.operation;
044    
045    import java.io.InputStream;
046    
047    import org.apache.commons.httpclient.Header;
048    
049    /**
050     * A <code>DoServiceResponse</code> class encapsulates all the relevant data a hiddenservice
051     * responded to the clients DoService request, which was forwarded by this wss - proxy.<br/>
052     * 
053     * 
054     * @author <a href="mailto:bezema@lat-lon.de">Rutger Bezema</a>
055     * 
056     * @author last edited by: $Author: bezema $
057     * 
058     * @version 2.0, $Revision: 6259 $, $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $
059     * 
060     * @since 2.0
061     */
062    
063    public class DoServiceResponse {
064        private Header[] headers = null;
065    
066        private Header[] footers = null;
067    
068        private InputStream responseBody = null;
069    
070        /**
071         * @param headers
072         * @param footers
073         * @param responseBody
074         */
075        public DoServiceResponse( Header[] headers, InputStream responseBody, Header[] footers ) {
076            this.headers = headers;
077            this.footers = footers;
078            this.responseBody = responseBody;
079        }
080    
081        /**
082         * @return Returns the footers.
083         */
084        public Header[] getFooters() {
085            return footers;
086        }
087    
088        /**
089         * @return Returns the headers.
090         */
091        public Header[] getHeaders() {
092            return headers;
093        }
094    
095        /**
096         * @return Returns the responseBody.
097         */
098        public InputStream getResponseBody() {
099            return responseBody;
100        }
101    
102    }
103    
104    /***************************************************************************************************
105     * Changes to this class. What the people have been up to: $Log$
106     * Changes to this class. What the people have been up to: Revision 1.4  2006/08/24 06:42:16  poth
107     * Changes to this class. What the people have been up to: File header corrected
108     * Changes to this class. What the people have been up to:
109     * Changes to this class. What the people have been up to: Revision 1.3  2006/06/20 15:31:04  bezema
110     * Changes to this class. What the people have been up to: It looks like the completion of wss. was needs further checking in a tomcat environment. The Strings must still be externalized. Logging is done, so is the formatting.
111     * Changes to this class. What the people have been up to: Changes
112     * to this class. What the people have been up to: Revision 1.2 2006/06/12 12:16:24 bezema Changes
113     * to this class. What the people have been up to: Little rearanging of the GetSession classes,
114     * DoService should be ready updating some errors Changes to this class. What the people have been
115     * up to: Changes to this class. What the people have been up to: Revision 1.1 2006/06/06 15:28:05
116     * bezema Changes to this class. What the people have been up to: Added a "null" prefix check in
117     * xmltools so that it, added a characterset to the deegreeparams and the WSS::DoService class is
118     * almost done Changes to this class. What the people have been up to:
119     **************************************************************************************************/
120