Class CoverageResponse


  • public class CoverageResponse
    extends Object
    Author:
    Simone Giannecchini, GeoSolutions
    • Constructor Detail

      • CoverageResponse

        public CoverageResponse()
    • Method Detail

      • addException

        public void addException​(Exception exception)
      • getHandle

        public String 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

        public void setHandle​(String handle)
      • getResults

        public Collection<? extends Coverage> getResults​(ProgressListener listener)
        Returns the Coverages available with this coverage response.
        Returns:
        a collection of coverages.
      • getStatus

        public CoverageResponse.Status 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.