Class CoverageResponse

Object
CoverageResponse

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

    • CoverageResponse

      public CoverageResponse()
  • Method Details

    • getExceptions

      public Collection<Exception> getExceptions()
    • addExceptions

      public void addExceptions(Collection<Exception> exceptions)
    • 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)
    • getRequest

      public CoverageRequest getRequest()
    • setRequest

      public void setRequest(CoverageRequest coverageRequest)
    • getResults

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

      public void addResults(Collection<GridCoverage> results)
    • addResult

      public void addResult(GridCoverage grid)
    • 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.
    • setStatus

      public void setStatus(CoverageResponse.Status status)