Package org.geotools.coverage.io
Class CoverageResponse
Object
CoverageResponse
- Author:
- Simone Giannecchini, GeoSolutions
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addException
(Exception exception) void
addExceptions
(Collection<Exception> exceptions) void
addResult
(GridCoverage grid) void
addResults
(Collection<GridCoverage> results) The handle attribute is included to allow a client to associate a mnemonic name to the Query request.Collection<? extends Coverage>
getResults
(ProgressListener listener) Returns the Coverages available with this coverage response.Get the status of this coverage response.void
void
setRequest
(CoverageRequest coverageRequest) void
setStatus
(CoverageResponse.Status status)
-
Constructor Details
-
CoverageResponse
public CoverageResponse()
-
-
Method Details
-
getExceptions
-
addExceptions
-
addException
-
getHandle
The handle attribute is included to allow a client to associate a mnemonic name to the Query request. The purpose of the handle attribute is to provide an error handling mechanism for locating a statement that might fail.- Returns:
- the mnemonic name of the query request.
-
setHandle
-
getRequest
-
setRequest
-
getResults
Returns the Coverages available with this coverage response.- Returns:
- a collection of coverages.
-
addResults
-
addResult
-
getStatus
Get the status of this coverage response. It should always be checked before assuming any data is available.- Returns:
- the status of this coverage response.
-
setStatus
-