public abstract class Response extends Object
Modifier and Type | Field and Description |
---|---|
protected HTTPResponse |
httpResponse |
Constructor and Description |
---|
Response(HTTPResponse httpResponse) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
String |
getContentType() |
InputStream |
getInputStream()
Returns the InputStream that contains the response from the server.
|
protected ServiceException |
parseException(InputStream inputStream) |
protected HTTPResponse httpResponse
public Response(HTTPResponse httpResponse) throws ServiceException, IOException
ServiceException
IOException
public void dispose()
public String getContentType()
public InputStream getInputStream()
NOTE: Note that clients using this code are responsible for closing the InputStream when they are finished with it.
protected ServiceException parseException(InputStream inputStream) throws IOException
IOException
Copyright © 1996–2019 Geotools. All rights reserved.