org.deegree.protocol.ows.client
Class OWSResponse
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.