Receives and handles post file requests.
- Author
- Maciej Szewczykowski | macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
- Version
- 1.1.0
- Since
- 1.1.0
◆ PostFileServlet()
eu.baltrad.dex.net.servlet.PostFileServlet.PostFileServlet |
( |
| ) |
|
|
inline |
◆ doPost()
void eu.baltrad.dex.net.servlet.PostFileServlet.doPost |
( |
HttpServletRequest | request, |
|
|
HttpServletResponse | response ) |
|
inline |
Actual mathod processing requests.
- Parameters
-
request | Http servlet request |
response | Http servlet response |
◆ getProtocolManager()
ProtocolManager eu.baltrad.dex.net.servlet.PostFileServlet.getProtocolManager |
( |
| ) |
|
|
inline |
- Returns
- the protocol managear
◆ handleRequest()
ModelAndView eu.baltrad.dex.net.servlet.PostFileServlet.handleRequest |
( |
HttpServletRequest | request, |
|
|
HttpServletResponse | response ) |
|
inline |
Implements Controller interface.
- Parameters
-
request | Http servlet request |
response | Http servlet response |
- Returns
- Model and view
◆ initConfiguration()
void eu.baltrad.dex.net.servlet.PostFileServlet.initConfiguration |
( |
| ) |
|
|
inlineprotected |
Initializes servlet with current configuration.
◆ sendMessage()
void eu.baltrad.dex.net.servlet.PostFileServlet.sendMessage |
( |
FileEntry | entry | ) |
|
|
inlineprotected |
Send message to the beast framework.
- Parameters
-
◆ sendToSubscribers()
void eu.baltrad.dex.net.servlet.PostFileServlet.sendToSubscribers |
( |
List< Subscription > | uploads, |
|
|
FileEntry | entry ) |
|
inlineprotected |
Send file entry to subscribers.
- Parameters
-
uploads | List of subscriptions |
entry | File entry |
◆ setCatalog()
void eu.baltrad.dex.net.servlet.PostFileServlet.setCatalog |
( |
FileCatalog | catalog | ) |
|
|
inline |
- Parameters
-
catalog | the catalog to set |
◆ setConfigurationManager()
void eu.baltrad.dex.net.servlet.PostFileServlet.setConfigurationManager |
( |
IConfigurationManager | confManager | ) |
|
|
inline |
◆ setDataSourceManager()
void eu.baltrad.dex.net.servlet.PostFileServlet.setDataSourceManager |
( |
IDataSourceManager | dataSourceManager | ) |
|
|
inline |
- Parameters
-
dataSourceManager | the dataSourceManager to set |
◆ setExchangeManager()
void eu.baltrad.dex.net.servlet.PostFileServlet.setExchangeManager |
( |
IExchangeManager | exchangeManager | ) |
|
|
inline |
- Parameters
-
exchangeManager | the exchange manager |
◆ setFileManager()
void eu.baltrad.dex.net.servlet.PostFileServlet.setFileManager |
( |
IBltFileManager | fileManager | ) |
|
|
inline |
- Parameters
-
fileManager | the fileManager to set |
◆ setFramePublisherManager()
void eu.baltrad.dex.net.servlet.PostFileServlet.setFramePublisherManager |
( |
FramePublisherManager | framePublisherManager | ) |
|
|
inline |
- Parameters
-
framePublisherManager | the framePublisherManager to set |
◆ setLog()
void eu.baltrad.dex.net.servlet.PostFileServlet.setLog |
( |
Logger | log | ) |
|
|
inline |
◆ setMatcher()
void eu.baltrad.dex.net.servlet.PostFileServlet.setMatcher |
( |
MetadataMatcher | matcher | ) |
|
|
inline |
- Parameters
-
matcher | the matcher to set |
◆ setMessageManager()
void eu.baltrad.dex.net.servlet.PostFileServlet.setMessageManager |
( |
IBltMessageManager | messageManager | ) |
|
|
inline |
- Parameters
-
messageManager | the messageManager to set |
◆ setMessages()
- Parameters
-
messages | the messages to set |
◆ setNamer()
void eu.baltrad.dex.net.servlet.PostFileServlet.setNamer |
( |
FileEntryNamer | namer | ) |
|
|
inline |
◆ setNodeStatusManager()
void eu.baltrad.dex.net.servlet.PostFileServlet.setNodeStatusManager |
( |
INodeStatusManager | nodeStatusManager | ) |
|
|
inline |
- Parameters
-
nodeStatusManager | the nodeStatusManager to set |
◆ setProtocolManager()
void eu.baltrad.dex.net.servlet.PostFileServlet.setProtocolManager |
( |
ProtocolManager | protocolManager | ) |
|
|
inline |
- Parameters
-
protocolManager | the protocol manager |
◆ setRegistryManager()
void eu.baltrad.dex.net.servlet.PostFileServlet.setRegistryManager |
( |
IRegistryManager | registryManager | ) |
|
|
inline |
- Parameters
-
registryManager | the registryManager to set |
◆ setSecurityManager()
void eu.baltrad.dex.net.servlet.PostFileServlet.setSecurityManager |
( |
ISecurityManager | securityManager | ) |
|
|
inline |
- Parameters
-
securityManager | the security manager |
◆ setSubscriptionManager()
void eu.baltrad.dex.net.servlet.PostFileServlet.setSubscriptionManager |
( |
ISubscriptionManager | subscriptionManager | ) |
|
|
inline |
- Parameters
-
subscriptionManager | the subscriptionManager to set |
◆ setUserManager()
void eu.baltrad.dex.net.servlet.PostFileServlet.setUserManager |
( |
IUserManager | userManager | ) |
|
|
inline |
- Parameters
-
userManager | the userManager to set |
◆ validateSubscription()
int eu.baltrad.dex.net.servlet.PostFileServlet.validateSubscription |
( |
List< Subscription > | downloads, |
|
|
FileEntry | entry ) |
|
inlineprotected |
Check if file comes from a valid subscription.
- Parameters
-
downloads | List of subscribed data sources |
entry | File entry |
- Returns
- Subscription id if valid, otherwise 0
The documentation for this class was generated from the following file:
- src/java/eu/baltrad/dex/net/servlet/PostFileServlet.java