Package org.geotools.ows.wmts.response
Class WMTSGetCapabilitiesResponse
Object
Response
GetCapabilitiesResponse
WMTSGetCapabilitiesResponse
Provides a hook up to parse the capabilities document from input stream.
(Based on existing work by rgould for WMS service)
- Author:
- ian, Emanuele Tajariol (etj at geo-solutions dot it)
-
Field Summary
Fields inherited from class GetCapabilitiesResponse
capabilities
Fields inherited from class Response
httpResponse
-
Constructor Summary
ConstructorsConstructorDescriptionWMTSGetCapabilitiesResponse
(HTTPResponse response) WMTSGetCapabilitiesResponse
(HTTPResponse response, Map<String, Object> hints) Constructor that sets capabilities property. -
Method Summary
Methods inherited from class GetCapabilitiesResponse
getCapabilities
Methods inherited from class Response
dispose, getContentType, getInputStream, parseException
-
Constructor Details
-
WMTSGetCapabilitiesResponse
- Throws:
ServiceException
IOException
-
WMTSGetCapabilitiesResponse
public WMTSGetCapabilitiesResponse(HTTPResponse response, Map<String, Object> hints) throws ServiceException, IOExceptionConstructor that sets capabilities property. Input stream of response is closed immediately.- Parameters:
response
- the httpResponse from the serverhints
- not used- Throws:
ServiceException
- thrown if server responds with ServiceExceptionIOException
- thrown if xml or input stream is wrong
-