org.deltava.service.navdata
Class DispatchDataService
java.lang.Object
org.deltava.service.WebService
org.deltava.service.navdata.DispatchDataService
- Direct Known Subclasses:
- AirwayService, NavigationAidService, TerminalRouteService, XMLTerminalRouteService
public abstract class DispatchDataService
- extends WebService
An abstract class to store a common cache for Dispatch Web Services.
- Since:
- 2.2
- Version:
- 2.2
- Author:
- Luke
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_dataCache
protected static final FileSystemCache _dataCache
DispatchDataService
public DispatchDataService()
addCacheEntry
protected void addCacheEntry(Object key,
File f)
- Adds a file to the shared file cache.
- Parameters:
key - the cache keyf - the file
invalidate
public static void invalidate()
- Clears the file cache.
- See Also:
FileCache.clear()
sendFile
protected void sendFile(File f,
HttpServletResponse rsp)
- Sends a file to the HTTP output stream, either via mod_xsendfile or through
native Java I/O streaming.
- Parameters:
f - the file to sendrsp - the HTTP Servlet response
Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.