public interface WebApp
| Modifier and Type | Field and Description |
|---|---|
static long |
NO_UPLOAD |
static long |
UNLIMITED_UPLOAD |
| Modifier and Type | Method and Description |
|---|---|
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.
|
static final long UNLIMITED_UPLOAD
static final long NO_UPLOAD
WebDoc process(Request request)
request - An Object that holds all data of the requestvoid start(String name, HashMap<String,Object> config, SimpleFlexAccesser sfa)
name - 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 functionalitylong maxPostingSize(String requestedPath)
requestedPath - The path trying to send data to.void quit()
Copyright © 2020 Software Atelier Kamber. All rights reserved.