org.deegree.protocol.ows.client
Class OWSResponse

java.lang.Object
  extended by org.deegree.protocol.ows.client.OWSResponse

public class OWSResponse
extends Object

Encapsulates an HTTP response from an OGC web service.

NOTE: The receiver must call close() eventually, otherwise system resources (connections) may not be freed.

Version:
$Revision: 31987 $, $Date: 2011-09-21 17:16:36 +0200 (Wed, 21 Sep 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $
See Also:
AbstractOWSClient

Method Summary
 void close()
           
 InputStream getAsBinaryStream()
           
 org.apache.http.HttpResponse getAsHttpResponse()
           
 XMLStreamReader getAsXMLStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAsHttpResponse

public org.apache.http.HttpResponse getAsHttpResponse()

getAsBinaryStream

public InputStream getAsBinaryStream()

getAsXMLStream

public XMLStreamReader getAsXMLStream()
                               throws OWSExceptionReport,
                                      XMLStreamException
Throws:
OWSExceptionReport
XMLStreamException

close

public void close()
           throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.