Class OnlineFlightsService
java.lang.Object
org.deltava.service.WebService
org.deltava.service.servinfo.JSONDataService
org.deltava.service.servinfo.OnlineFlightsService
A Web Service to download Online Network Flight data for validation.
- Since:
- 10.3
- Version:
- 10.3
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintexecute(ServiceContext ctx) Executes the Web Service, returning Pilot names and IDs.Methods inherited from class JSONDataService
formatModifier and TypeMethodDescriptionprotected static org.json.JSONObjectformat(Pilot p, OnlineNetwork net) Formats a Pilot as a JSON Object.Methods inherited from class WebService
error, error, error, isLogged, isSecureModifier and TypeMethodDescriptionprotected static ServiceExceptionCreates a ServiceException.protected static ServiceExceptionCreates a ServiceException.protected static ServiceExceptionCreates a ServiceException.booleanisLogged()Returns whether this web service calls are logged.booleanisSecure()Returns whether this web service requires authentication.
-
Constructor Details
-
OnlineFlightsService
public OnlineFlightsService()
-
-
Method Details
-
execute
Executes the Web Service, returning Pilot names and IDs.- Specified by:
executein classWebService- Parameters:
ctx- the Web Service context- Returns:
- the HTTP status code
- Throws:
ServiceException- if an error occurs
-