edu.iris.dmc.service
Class RespService

java.lang.Object
  extended by edu.iris.dmc.service.BaseService
      extended by edu.iris.dmc.service.RespService

public class RespService
extends BaseService

Resp service is the main class for querying the Resp service


Field Summary
 
Fields inherited from class edu.iris.dmc.service.BaseService
appName, baseUrl, DEFAULT_READ_TIMEOUT_IN_MS, password, userAgent, username
 
Constructor Summary
RespService(String baseUrl, String version, String compatabilityVersion, String userAgent)
           
 
Method Summary
 String fetch(Criteria criteria)
          Find Resp based on the criteria provided.
 String fetch(String url)
           
 
Methods inherited from class edu.iris.dmc.service.BaseService
authenticate, getAppName, getBaseUrl, getConnection, setAppName, setBaseUrl, stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RespService

public RespService(String baseUrl,
                   String version,
                   String compatabilityVersion,
                   String userAgent)
Method Detail

fetch

public String fetch(String url)
             throws NoDataFoundException,
                    CriteriaException,
                    IOException,
                    ServiceNotSupportedException
Throws:
NoDataFoundException
CriteriaException
IOException
ServiceNotSupportedException

fetch

public String fetch(Criteria criteria)
             throws NoDataFoundException,
                    CriteriaException,
                    IOException,
                    ServiceNotSupportedException
Find Resp based on the criteria provided. This will download data

Parameters:
criteria -
level -
Returns:
List of all stations meeting the criteria provided.
Throws:
NoDataFoundException
CriteriaException
ServiceNotSupportedException
IOException


Copyright © 2013. All Rights Reserved.