Class METARService
java.lang.Object
org.deltava.service.WebService
org.deltava.service.wx.METARService
A Web Service to fetch METAR data.
- Since:
- 2.3
- Version:
- 11.1
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
execute
(ServiceContext ctx) Executes the Web Service.final boolean
isSecure()
Returns whether this web service requires authentication.
-
Constructor Details
-
METARService
public METARService()
-
-
Method Details
-
execute
Executes the Web Service.- Specified by:
execute
in classWebService
- Parameters:
ctx
- the Web Service Context- Returns:
- the HTTP status code
- Throws:
ServiceException
- if an error occurs
-
isSecure
public final boolean isSecure()Description copied from class:WebService
Returns whether this web service requires authentication.- Overrides:
isSecure
in classWebService
- Returns:
- TRUE if authentication is required, otherwise FALSE
-