NO_UPLOAD, UNLIMITED_UPLOAD| Constructor and Description |
|---|
DefaultApp() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowUpload(String path) |
long |
maxPostingSize(String requestedPath)
This Method must return the limitation for data-posting in bytes.
|
WebDoc |
process(Request request)
This Method must process the Request from a WebBrowser
|
void |
quit()
Will be called before terminating the Server
|
void |
start(String name,
HashMap<String,Object> config,
SimpleFlexAccesser sfa)
This Method can config this Object.
|
public void start(String name, HashMap<String,Object> config, SimpleFlexAccesser sfa)
WebAppstart in interface WebAppname - The name of this webapp. If the WebApp is accessable over www.myserver.net/myApp, The name is myApp.config - The Configuration of this WebApp. The keys are the same like in the host's Config-File but without the $'s.sfa - An Accesser to internal Simpleflex functionalitypublic boolean allowUpload(String path)
public long maxPostingSize(String requestedPath)
WebAppmaxPostingSize in interface WebApprequestedPath - The path trying to send data to.public WebDoc process(Request request)
WebAppCopyright © 2020 Software Atelier Kamber. All rights reserved.