Class FlightAwareDAO
java.lang.Object
org.deltava.dao.http.DAO
org.deltava.dao.http.FlightAwareDAO
- Direct Known Subclasses:
- GetFARoutes,- GetFASchedule,- GetFAWeather
An abstract class to describe FlightAware RESTful Data Access Objects.
- Since:
- 8.0
- Version:
- 11.1
- Author:
- Luke
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected StringBuilds a FlightAware REST URL.protected voidHelper method to open the connection.final voidSets the API Key to use.voidsetMaxResults(int maxResults) Sets the maximum number of results to retrieve.Methods inherited from class org.deltava.dao.http.DAOgetCompression, getHeaderField, getIn, getOut, getResponseCode, reset, setAuthentication, setCompression, setConnectTimeout, setMethod, setReadTimeout, setRequestHeader, setReturnErrorStream
- 
Constructor Details- 
FlightAwareDAOFlightAwareDAO()
 
- 
- 
Method Details- 
setKey
- 
setMaxResultspublic void setMaxResults(int maxResults) Sets the maximum number of results to retrieve.- Parameters:
- maxResults- the maximum number of results
 
- 
initDescription copied from class:DAOHelper method to open the connection.- Overrides:
- initin class- DAO
- Parameters:
- url- the URI to connect to
- Throws:
- IOException- if an error occurs
 
- 
buildURL
 
-