org.geotools.data.wms.response
Class AbstractResponse

java.lang.Object
  extended byorg.geotools.data.wms.response.AbstractResponse
Direct Known Subclasses:
DescribeLayerResponse, GetCapabilitiesResponse, GetFeatureInfoResponse, GetLegendGraphicResponse, GetMapResponse, GetStylesResponse, PutStylesResponse

public class AbstractResponse
extends java.lang.Object

DOCUMENT ME!

Author:
Richard Gould, Refractions Research

Field Summary
protected  java.lang.String contentType
           
protected  java.io.InputStream inputStream
           
 
Constructor Summary
AbstractResponse(java.lang.String contentType, java.io.InputStream inputStream)
           
 
Method Summary
 java.lang.String getContentType()
           
 java.io.InputStream getInputStream()
           
protected  ServiceException parseException(java.io.InputStream inputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inputStream

protected java.io.InputStream inputStream

contentType

protected java.lang.String contentType
Constructor Detail

AbstractResponse

public AbstractResponse(java.lang.String contentType,
                        java.io.InputStream inputStream)
                 throws ServiceException,
                        org.xml.sax.SAXException
Method Detail

getContentType

public java.lang.String getContentType()

getInputStream

public java.io.InputStream getInputStream()

parseException

protected ServiceException parseException(java.io.InputStream inputStream)
                                   throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException


Copyright © GeoTools. All Rights Reserved.