Index

A B C D E F G H I J K M N P Q R S T U V W X Z _ 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

add(String, String) - Method in class ch.software_atelier.simpleflex.docs.impl.TemplateDoc
Adds a placeholder and a refering value.
addCommand(String, String[][]) - Method in class ch.software_atelier.simpleflex.interfaces.file.FileInterfaceWriter
Adds a Command that is needed to execute over FileInterface.
addFile(File) - Static method in class ch.software_atelier.simpleflex.ClassPathLoader
 
addFile(String) - Static method in class ch.software_atelier.simpleflex.ClassPathLoader
 
addHeaderLine(String) - Method in class ch.software_atelier.simpleflex.Request
Adds a Header-Object to the Request-Object.
addURL(URL) - Static method in class ch.software_atelier.simpleflex.ClassPathLoader
 
allowUpload(String) - Method in class ch.software_atelier.simpleflex.apps.defaultapp.DefaultApp
 
apendConfigElement(ConfigElement) - Method in class ch.software_atelier.simpleflex.conf.text.ConfigFileIO
 
apendJSON(BufferedInputStream, String, long) - Method in class ch.software_atelier.simpleflex.Request
 
apendJSONArray(BufferedInputStream, String, long) - Method in class ch.software_atelier.simpleflex.Request
 
apendMultipart(BufferedInputStream, long) - Method in class ch.software_atelier.simpleflex.Request
 
apendURLEncoded(BufferedInputStream, long) - Method in class ch.software_atelier.simpleflex.Request
 
apendXML(BufferedInputStream, String, long) - Method in class ch.software_atelier.simpleflex.Request
 
appendSinglePart(BufferedInputStream, long) - Method in class ch.software_atelier.simpleflex.Request
 
appendText(String) - Method in class ch.software_atelier.simpleflex.RecievedText
 
appendToFile(byte[]) - Method in class ch.software_atelier.simpleflex.RecievedFile
 
appendValue(String, String) - Method in class ch.software_atelier.simpleflex.conf.text.ConfigElement
Appends a key and a refered value to this ConfigElement-Object
appendWebApp(WebAppConfig) - Method in class ch.software_atelier.simpleflex.conf.DomainConfig
Appends a WebAppConfig to this DomainConfig
apps() - Method in class ch.software_atelier.simpleflex.Domain
 
arguments() - Method in class ch.software_atelier.simpleflex.Request
 

B

byteData() - Method in class ch.software_atelier.simpleflex.docs.impl.ByteDoc
 
byteData() - Method in class ch.software_atelier.simpleflex.docs.impl.ErrorDoc
 
byteData() - Method in class ch.software_atelier.simpleflex.docs.impl.FileDoc
 
byteData() - Method in class ch.software_atelier.simpleflex.docs.impl.InputStreamDoc
 
byteData() - Method in class ch.software_atelier.simpleflex.docs.impl.JSONDoc
 
byteData() - Method in class ch.software_atelier.simpleflex.docs.impl.RedirectorDoc
 
byteData() - Method in class ch.software_atelier.simpleflex.docs.impl.RessourceDoc
 
byteData() - Method in class ch.software_atelier.simpleflex.docs.impl.StringDoc
 
byteData() - Method in class ch.software_atelier.simpleflex.docs.impl.TemplateDoc
 
byteData() - Method in class ch.software_atelier.simpleflex.docs.impl.XMLDoc
 
byteData() - Method in class ch.software_atelier.simpleflex.docs.impl.ZipDoc
 
byteData() - Method in class ch.software_atelier.simpleflex.docs.WebDoc
If you want to return the documents data as a byte[], you have to do that here.
ByteDoc - Class in ch.software_atelier.simpleflex.docs.impl
This is a simple WebDoc-Class for sending a byte-Array.
ByteDoc(byte[], String, String) - Constructor for class ch.software_atelier.simpleflex.docs.impl.ByteDoc
 

C

ch.software_atelier.simpleflex - package ch.software_atelier.simpleflex
 
ch.software_atelier.simpleflex.apps - package ch.software_atelier.simpleflex.apps
 
ch.software_atelier.simpleflex.apps.defaultapp - package ch.software_atelier.simpleflex.apps.defaultapp
 
ch.software_atelier.simpleflex.conf - package ch.software_atelier.simpleflex.conf
 
ch.software_atelier.simpleflex.conf.text - package ch.software_atelier.simpleflex.conf.text
 
ch.software_atelier.simpleflex.docs - package ch.software_atelier.simpleflex.docs
 
ch.software_atelier.simpleflex.docs.impl - package ch.software_atelier.simpleflex.docs.impl
 
ch.software_atelier.simpleflex.interfaces.file - package ch.software_atelier.simpleflex.interfaces.file
 
classPath() - Method in class ch.software_atelier.simpleflex.conf.WebAppConfig
Returns the classpath to the WebApp class.
ClassPathLoader - Class in ch.software_atelier.simpleflex
 
ClassPathLoader() - Constructor for class ch.software_atelier.simpleflex.ClassPathLoader
 
cleanup() - Method in class ch.software_atelier.simpleflex.Request
 
clear() - Method in class ch.software_atelier.simpleflex.docs.impl.TemplateDoc
 
close() - Method in class ch.software_atelier.simpleflex.docs.impl.ByteDoc
 
close() - Method in class ch.software_atelier.simpleflex.docs.impl.ErrorDoc
 
close() - Method in class ch.software_atelier.simpleflex.docs.impl.FileDoc
 
close() - Method in class ch.software_atelier.simpleflex.docs.impl.InputStreamDoc
 
close() - Method in class ch.software_atelier.simpleflex.docs.impl.JSONDoc
 
close() - Method in class ch.software_atelier.simpleflex.docs.impl.RedirectorDoc
 
close() - Method in class ch.software_atelier.simpleflex.docs.impl.RessourceDoc
 
close() - Method in class ch.software_atelier.simpleflex.docs.impl.StringDoc
 
close() - Method in class ch.software_atelier.simpleflex.docs.impl.TemplateDoc
 
close() - Method in class ch.software_atelier.simpleflex.docs.impl.XMLDoc
 
close() - Method in class ch.software_atelier.simpleflex.docs.impl.ZipDoc
 
code - Variable in class ch.software_atelier.simpleflex.docs.WebDoc.HTTPCode
 
config() - Method in class ch.software_atelier.simpleflex.conf.WebAppConfig
Returns the HashMap that holds the configuration-fields
ConfigElement - Class in ch.software_atelier.simpleflex.conf.text
 
ConfigElement(String) - Constructor for class ch.software_atelier.simpleflex.conf.text.ConfigElement
Creates a new instance of ConfigElement
ConfigElementException - Exception in ch.software_atelier.simpleflex.conf.text
 
ConfigElementException(String, String) - Constructor for exception ch.software_atelier.simpleflex.conf.text.ConfigElementException
Creates a new instance of ConfigElementException
configElements() - Method in class ch.software_atelier.simpleflex.conf.text.ConfigFileIO
 
ConfigFileIO - Class in ch.software_atelier.simpleflex.conf.text
 
ConfigFileIO(File, SyntaxErrorNotifiable) - Constructor for class ch.software_atelier.simpleflex.conf.text.ConfigFileIO
Creates a new instance of ConfigFileIO
ConfigGenerator - Interface in ch.software_atelier.simpleflex.conf
 
ConnectionHandler - Class in ch.software_atelier.simpleflex
 
ConnectionHandler(GlobalConfig, WebAppHandler) - Constructor for class ch.software_atelier.simpleflex.ConnectionHandler
 
CONTENT_TYPE_APPLICATION - Static variable in class ch.software_atelier.simpleflex.Request
 
CONTENT_TYPE_JSON - Static variable in class ch.software_atelier.simpleflex.Request
 
CONTENT_TYPE_JSON_PATCH - Static variable in class ch.software_atelier.simpleflex.Request
 
CONTENT_TYPE_MULTIPART - Static variable in class ch.software_atelier.simpleflex.Request
 
CONTENT_TYPE_XML - Static variable in class ch.software_atelier.simpleflex.Request
 

D

DATA_BYTE - Static variable in class ch.software_atelier.simpleflex.docs.WebDoc
This static var defines that the data of a WebDoc-Object is a byte[].
DATA_STREAM - Static variable in class ch.software_atelier.simpleflex.docs.WebDoc
This static var returns that the data of a WebDoc-Object is a stream.
dataType() - Method in class ch.software_atelier.simpleflex.docs.impl.ByteDoc
 
dataType() - Method in class ch.software_atelier.simpleflex.docs.impl.ErrorDoc
 
dataType() - Method in class ch.software_atelier.simpleflex.docs.impl.FileDoc
 
dataType() - Method in class ch.software_atelier.simpleflex.docs.impl.InputStreamDoc
 
dataType() - Method in class ch.software_atelier.simpleflex.docs.impl.JSONDoc
 
dataType() - Method in class ch.software_atelier.simpleflex.docs.impl.RedirectorDoc
 
dataType() - Method in class ch.software_atelier.simpleflex.docs.impl.RessourceDoc
 
dataType() - Method in class ch.software_atelier.simpleflex.docs.impl.StringDoc
 
dataType() - Method in class ch.software_atelier.simpleflex.docs.impl.TemplateDoc
 
dataType() - Method in class ch.software_atelier.simpleflex.docs.impl.XMLDoc
 
dataType() - Method in class ch.software_atelier.simpleflex.docs.impl.ZipDoc
 
dataType() - Method in class ch.software_atelier.simpleflex.docs.WebDoc
Specifies the Type of served data.
DefaultApp - Class in ch.software_atelier.simpleflex.apps.defaultapp
This is the default Web-App.
DefaultApp() - Constructor for class ch.software_atelier.simpleflex.apps.defaultapp.DefaultApp
 
defaultWebApp() - Method in class ch.software_atelier.simpleflex.conf.DomainConfig
 
deleteTmpFile() - Method in class ch.software_atelier.simpleflex.RecievedFile
 
Domain - Class in ch.software_atelier.simpleflex
 
Domain(String, HashMap<String, WebApp>) - Constructor for class ch.software_atelier.simpleflex.Domain
 
DomainConfig - Class in ch.software_atelier.simpleflex.conf
This Class configures a host class
DomainConfig(String) - Constructor for class ch.software_atelier.simpleflex.conf.DomainConfig
Creates a new instance of DomainConfig
domainConfigs() - Method in interface ch.software_atelier.simpleflex.conf.ConfigGenerator
 
domainConfigs() - Method in class ch.software_atelier.simpleflex.conf.JSONConfigGenerator
 
domainConfigs() - Method in class ch.software_atelier.simpleflex.conf.text.SimpleFlexConfigGenerator
Returns an array of DomainConfig-Objects who are used to configure SimpleFlex
done() - Method in class ch.software_atelier.simpleflex.RecievedData
 
done() - Method in class ch.software_atelier.simpleflex.RecievedFile
 
done() - Method in class ch.software_atelier.simpleflex.RecievedText
 

E

elementName() - Method in class ch.software_atelier.simpleflex.conf.text.ConfigElement
Returns the Name of this element.
err500_InternalServerError(String) - Static method in class ch.software_atelier.simpleflex.docs.impl.ErrorDoc
 
err501_NotImplemented(String) - Static method in class ch.software_atelier.simpleflex.docs.impl.ErrorDoc
 
ERRORCODE_EVERYTHING_OK - Static variable in class ch.software_atelier.simpleflex.interfaces.file.FileInterfaceWriter
returned by reason() if everything was OK
ERRORCODE_FILE_ALREADY_EXISTS - Static variable in class ch.software_atelier.simpleflex.interfaces.file.FileInterfaceWriter
returned by reason() if the file was already existing on calling execute().
ERRORCODE_IOEXCEPTION - Static variable in class ch.software_atelier.simpleflex.interfaces.file.FileInterfaceWriter
returned by reason() if
ERRORCODE_TIMEOUT_EXPIERD - Static variable in class ch.software_atelier.simpleflex.interfaces.file.FileInterfaceWriter
returned by reason() if the timeout between writing and reading by the Server-Interface is expired.
ErrorDoc - Class in ch.software_atelier.simpleflex.docs.impl
 
ErrorDoc(String) - Constructor for class ch.software_atelier.simpleflex.docs.impl.ErrorDoc
 
ErrorDoc(String, int, String) - Constructor for class ch.software_atelier.simpleflex.docs.impl.ErrorDoc
 
errorReason() - Method in class ch.software_atelier.simpleflex.interfaces.file.FileInterfaceWriter
Returns the reason of returning false in calling execute() the last time.
execute() - Method in class ch.software_atelier.simpleflex.interfaces.file.FileInterfaceWriter
Writes the fileinterface file.

F

fieldName() - Method in class ch.software_atelier.simpleflex.RecievedData
 
file() - Method in class ch.software_atelier.simpleflex.RecievedFile
 
file2JSON(File) - Static method in class ch.software_atelier.simpleflex.Utils
 
fileByReq(Request, File, String) - Static method in class ch.software_atelier.simpleflex.docs.impl.FileDoc
 
FileDoc - Class in ch.software_atelier.simpleflex.docs.impl
Represents a File
FileDoc(Request, File) - Constructor for class ch.software_atelier.simpleflex.docs.impl.FileDoc
 
FileDoc(File) - Constructor for class ch.software_atelier.simpleflex.docs.impl.FileDoc
It simply creates a WebDoc-Object that serves the specified File.
FileDoc(File, boolean) - Constructor for class ch.software_atelier.simpleflex.docs.impl.FileDoc
It simply creates a WebDoc-Object that serves the specified File.
FileDocException - Exception in ch.software_atelier.simpleflex.docs.impl
This Exception is used in the class FileDoc and is thrown if the given File does not exist.
FileDocException(String) - Constructor for exception ch.software_atelier.simpleflex.docs.impl.FileDocException
 
FileInterface - Interface in ch.software_atelier.simpleflex.interfaces.file
 
FileInterfaceConfig - Class in ch.software_atelier.simpleflex.conf
 
FileInterfaceConfig() - Constructor for class ch.software_atelier.simpleflex.conf.FileInterfaceConfig
 
fileInterfaceFile() - Method in class ch.software_atelier.simpleflex.conf.GlobalConfig
 
FileInterfaceHandler - Class in ch.software_atelier.simpleflex.interfaces.file
 
FileInterfaceHandler(File, int, SimpleFlexAccesser) - Constructor for class ch.software_atelier.simpleflex.interfaces.file.FileInterfaceHandler
 
fileInterfaceInterval() - Method in class ch.software_atelier.simpleflex.conf.GlobalConfig
 
FileInterfaceWriter - Class in ch.software_atelier.simpleflex.interfaces.file
 
FileInterfaceWriter(File) - Constructor for class ch.software_atelier.simpleflex.interfaces.file.FileInterfaceWriter
Creates a New Instance of FileInterfaceWriter.
fileName() - Method in class ch.software_atelier.simpleflex.RecievedFile
 
finalize() - Method in class ch.software_atelier.simpleflex.RecievedFile
 
FolderRedirectorDoc - Class in ch.software_atelier.simpleflex.docs.impl
 
FolderRedirectorDoc(String) - Constructor for class ch.software_atelier.simpleflex.docs.impl.FolderRedirectorDoc
Just Needs the Request-String

G

getArgument(String) - Method in class ch.software_atelier.simpleflex.Request
 
getBoundary() - Method in class ch.software_atelier.simpleflex.Request
 
getClient() - Method in class ch.software_atelier.simpleflex.Request
Returns an InetAddress-Object that holds the IP-Address of the Client
getData() - Method in class ch.software_atelier.simpleflex.RecievedFile
 
getDefaultWebApp() - Method in class ch.software_atelier.simpleflex.Domain
 
getDomain(WebApp) - Method in class ch.software_atelier.simpleflex.SimpleFlexAccesser
 
getFileExtension(String) - Static method in class ch.software_atelier.simpleflex.Utils
 
getHeaders() - Method in class ch.software_atelier.simpleflex.docs.WebDoc
 
getHeaders() - Method in class ch.software_atelier.simpleflex.Request
 
getHeaderValue(String) - Method in class ch.software_atelier.simpleflex.Request
 
getHost() - Method in class ch.software_atelier.simpleflex.Request
 
getHttpCode() - Method in class ch.software_atelier.simpleflex.docs.WebDoc
 
getHTTPDateHeaderValue(Date) - Static method in class ch.software_atelier.simpleflex.Utils
 
getJSONArrReq() - Method in class ch.software_atelier.simpleflex.Request
 
getJSONReq() - Method in class ch.software_atelier.simpleflex.Request
 
getLastRequestStringComponent() - Method in class ch.software_atelier.simpleflex.Request
 
getMethod() - Method in class ch.software_atelier.simpleflex.Request
This method returns GET or POST
getMimeFromFilePath(String) - Static method in class ch.software_atelier.simpleflex.Utils
 
getMsg(int) - Static method in class ch.software_atelier.simpleflex.HTTPCodes
 
getPort() - Method in class ch.software_atelier.simpleflex.Request
 
getProtocoll() - Method in class ch.software_atelier.simpleflex.Request
Returns the version of the used protocol.
getRawData() - Method in class ch.software_atelier.simpleflex.Request
 
getRecievedData() - Method in class ch.software_atelier.simpleflex.Request
 
getRecievedFile(String) - Method in class ch.software_atelier.simpleflex.Request
 
getRecievedText(String) - Method in class ch.software_atelier.simpleflex.Request
 
getReqestString() - Method in class ch.software_atelier.simpleflex.Request
Returns the Request-String.
getResource(String) - Static method in class ch.software_atelier.simpleflex.Utils
 
getServerSocket(GlobalConfig) - Method in class ch.software_atelier.simpleflex.ConnectionHandler
 
getServerSocket(GlobalConfig) - Method in class ch.software_atelier.simpleflex.HTTPConnectionHandler
 
getServerSocket(GlobalConfig) - Method in class ch.software_atelier.simpleflex.HTTPSConnectionHandler
 
getSimpleFlexAccesser() - Method in class ch.software_atelier.simpleflex.SimpleFlexBase
 
getSinglePartFile() - Method in class ch.software_atelier.simpleflex.Request
 
getSinglePartFilename() - Method in class ch.software_atelier.simpleflex.Request
 
getSinglePartMimeType() - Method in class ch.software_atelier.simpleflex.Request
 
getText() - Method in class ch.software_atelier.simpleflex.RecievedText
 
getURLDecodedText() - Method in class ch.software_atelier.simpleflex.RecievedText
 
getValuesAndKeysByRegexOfKey(String) - Method in class ch.software_atelier.simpleflex.conf.text.ConfigElement
Returns a table of keys and values by a Regular expression applyed to the key.
getValuesByKey(String) - Method in class ch.software_atelier.simpleflex.conf.text.ConfigElement
Returns the values refered to the given key.
getWebApp(Request) - Method in class ch.software_atelier.simpleflex.WebAppHandler
 
getWebApp(String) - Method in class ch.software_atelier.simpleflex.Domain
 
getXMLReq() - Method in class ch.software_atelier.simpleflex.Request
 
globalConfig() - Method in interface ch.software_atelier.simpleflex.conf.ConfigGenerator
 
globalConfig() - Method in class ch.software_atelier.simpleflex.conf.JSONConfigGenerator
 
globalConfig() - Method in class ch.software_atelier.simpleflex.conf.text.SimpleFlexConfigGenerator
Returns a filled ClobalConfig that is used to configure SimpleFlex
GlobalConfig - Class in ch.software_atelier.simpleflex.conf
This Class holds all global configuration values
GlobalConfig() - Constructor for class ch.software_atelier.simpleflex.conf.GlobalConfig
 

H

HeaderField - Class in ch.software_atelier.simpleflex.docs
 
HeaderField(String) - Constructor for class ch.software_atelier.simpleflex.docs.HeaderField
 
HeaderField(String, String) - Constructor for class ch.software_atelier.simpleflex.docs.HeaderField
 
html(String) - Static method in class ch.software_atelier.simpleflex.docs.impl.StringDoc
 
htmlContent(String) - Static method in class ch.software_atelier.simpleflex.docs.impl.StringDoc
 
HTTPCode(int, String) - Constructor for class ch.software_atelier.simpleflex.docs.WebDoc.HTTPCode
 
HTTPCodes - Class in ch.software_atelier.simpleflex
Source: https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
HTTPCodes() - Constructor for class ch.software_atelier.simpleflex.HTTPCodes
 
HTTPConnectionHandler - Class in ch.software_atelier.simpleflex
Opens a socket for HTTP-Communication.
HTTPConnectionHandler(GlobalConfig, WebAppHandler) - Constructor for class ch.software_atelier.simpleflex.HTTPConnectionHandler
 
HTTPHEADER_ACCEPT - Static variable in class ch.software_atelier.simpleflex.Request
 
HTTPHEADER_ACCEPT_CHARSET - Static variable in class ch.software_atelier.simpleflex.Request
 
HTTPHEADER_ACCEPT_ENCODING - Static variable in class ch.software_atelier.simpleflex.Request
 
HTTPHEADER_ACCEPT_LANGUAGE - Static variable in class ch.software_atelier.simpleflex.Request
 
HTTPHEADER_CONNECTION - Static variable in class ch.software_atelier.simpleflex.Request
 
HTTPHEADER_CONTENT_DISPOSITION - Static variable in class ch.software_atelier.simpleflex.Request
 
HTTPHEADER_CONTENT_LENGTH - Static variable in class ch.software_atelier.simpleflex.Request
 
HTTPHEADER_CONTENT_TYPE - Static variable in class ch.software_atelier.simpleflex.Request
 
HTTPHEADER_HOST - Static variable in class ch.software_atelier.simpleflex.Request
 
HTTPHEADER_REFERER - Static variable in class ch.software_atelier.simpleflex.Request
 
HTTPHEADER_USER_AGENT - Static variable in class ch.software_atelier.simpleflex.Request
 
HTTPSConnectionHandler - Class in ch.software_atelier.simpleflex
Opens a socket for HTTPS-Communication.
HTTPSConnectionHandler(GlobalConfig, WebAppHandler) - Constructor for class ch.software_atelier.simpleflex.HTTPSConnectionHandler
 

I

InputStreamDoc - Class in ch.software_atelier.simpleflex.docs.impl
 
InputStreamDoc(InputStream) - Constructor for class ch.software_atelier.simpleflex.docs.impl.InputStreamDoc
 
interfaceFile() - Method in class ch.software_atelier.simpleflex.conf.FileInterfaceConfig
 
interval() - Method in class ch.software_atelier.simpleflex.conf.FileInterfaceConfig
 
isFormPostReq() - Method in class ch.software_atelier.simpleflex.Request
 
isJSONArrReq() - Method in class ch.software_atelier.simpleflex.Request
 
isJSONReq() - Method in class ch.software_atelier.simpleflex.Request
 
isSecureConnection() - Method in class ch.software_atelier.simpleflex.Request
Returns true, if the connnection is secure.
isSinglePartReq() - Method in class ch.software_atelier.simpleflex.Request
 
isXMLReq() - Method in class ch.software_atelier.simpleflex.Request
 

J

json(JSONArray) - Static method in class ch.software_atelier.simpleflex.docs.impl.JSONDoc
 
json(JSONObject) - Static method in class ch.software_atelier.simpleflex.docs.impl.JSONDoc
 
JSONConfigGenerator - Class in ch.software_atelier.simpleflex.conf
 
JSONConfigGenerator(File) - Constructor for class ch.software_atelier.simpleflex.conf.JSONConfigGenerator
 
JSONDoc - Class in ch.software_atelier.simpleflex.docs.impl
 

K

key() - Method in exception ch.software_atelier.simpleflex.conf.text.ConfigElementException
 
key() - Method in class ch.software_atelier.simpleflex.RequestArgument
 

M

main(String[]) - Static method in class ch.software_atelier.simpleflex.SimpleFlexBase
The Main-Method
maxPostingSize(String) - Method in class ch.software_atelier.simpleflex.apps.defaultapp.DefaultApp
 
maxPostingSize(String) - Method in interface ch.software_atelier.simpleflex.apps.WebApp
This Method must return the limitation for data-posting in bytes.
message - Variable in class ch.software_atelier.simpleflex.docs.WebDoc.HTTPCode
 
METHOD_DELETE - Static variable in class ch.software_atelier.simpleflex.Request
 
METHOD_GET - Static variable in class ch.software_atelier.simpleflex.Request
 
METHOD_OPTIONS - Static variable in class ch.software_atelier.simpleflex.Request
 
METHOD_PATCH - Static variable in class ch.software_atelier.simpleflex.Request
 
METHOD_POST - Static variable in class ch.software_atelier.simpleflex.Request
 
METHOD_PUT - Static variable in class ch.software_atelier.simpleflex.Request
 
mime() - Method in class ch.software_atelier.simpleflex.docs.impl.ByteDoc
 
mime() - Method in class ch.software_atelier.simpleflex.docs.impl.ErrorDoc
 
mime() - Method in class ch.software_atelier.simpleflex.docs.impl.FileDoc
 
mime() - Method in class ch.software_atelier.simpleflex.docs.impl.InputStreamDoc
 
mime() - Method in class ch.software_atelier.simpleflex.docs.impl.JSONDoc
 
mime() - Method in class ch.software_atelier.simpleflex.docs.impl.RedirectorDoc
 
mime() - Method in class ch.software_atelier.simpleflex.docs.impl.RessourceDoc
 
mime() - Method in class ch.software_atelier.simpleflex.docs.impl.StringDoc
 
mime() - Method in class ch.software_atelier.simpleflex.docs.impl.TemplateDoc
 
mime() - Method in class ch.software_atelier.simpleflex.docs.impl.XMLDoc
 
mime() - Method in class ch.software_atelier.simpleflex.docs.impl.ZipDoc
 
mime() - Method in class ch.software_atelier.simpleflex.docs.WebDoc
This method has to return the MIME-Type of the Document.

N

name() - Method in class ch.software_atelier.simpleflex.conf.DomainConfig
returns the name of this domain.
name() - Method in class ch.software_atelier.simpleflex.conf.WebAppConfig
returns the webApp name.
name() - Method in class ch.software_atelier.simpleflex.docs.HeaderField
 
name() - Method in class ch.software_atelier.simpleflex.docs.impl.ByteDoc
 
name() - Method in class ch.software_atelier.simpleflex.docs.impl.ErrorDoc
 
name() - Method in class ch.software_atelier.simpleflex.docs.impl.FileDoc
 
name() - Method in class ch.software_atelier.simpleflex.docs.impl.InputStreamDoc
 
name() - Method in class ch.software_atelier.simpleflex.docs.impl.JSONDoc
 
name() - Method in class ch.software_atelier.simpleflex.docs.impl.RedirectorDoc
 
name() - Method in class ch.software_atelier.simpleflex.docs.impl.RessourceDoc
 
name() - Method in class ch.software_atelier.simpleflex.docs.impl.StringDoc
 
name() - Method in class ch.software_atelier.simpleflex.docs.impl.TemplateDoc
 
name() - Method in class ch.software_atelier.simpleflex.docs.impl.XMLDoc
 
name() - Method in class ch.software_atelier.simpleflex.docs.impl.ZipDoc
 
name() - Method in class ch.software_atelier.simpleflex.docs.WebDoc
This method has to return the FileName of the Document.
name() - Method in class ch.software_atelier.simpleflex.Domain
 
NO_UPLOAD - Static variable in interface ch.software_atelier.simpleflex.apps.WebApp
 
NotReadyException - Exception in ch.software_atelier.simpleflex
 
NotReadyException() - Constructor for exception ch.software_atelier.simpleflex.NotReadyException
 

P

parseLong(String) - Static method in class ch.software_atelier.simpleflex.Utils
 
port() - Method in class ch.software_atelier.simpleflex.conf.GlobalConfig
Returns the port for unsecure connections.
process(Request) - Method in class ch.software_atelier.simpleflex.apps.defaultapp.DefaultApp
 
process(Request) - Method in interface ch.software_atelier.simpleflex.apps.WebApp
This Method must process the Request from a WebBrowser
process(SimpleFlexAccesser, HashMap<String, Object>) - Method in interface ch.software_atelier.simpleflex.interfaces.file.FileInterface
 
process(SimpleFlexAccesser, HashMap<String, Object>) - Method in class ch.software_atelier.simpleflex.interfaces.file.Quiter
 
process(SimpleFlexAccesser, HashMap<String, Object>) - Method in class ch.software_atelier.simpleflex.interfaces.file.TestInterface
 

Q

quit() - Method in class ch.software_atelier.simpleflex.apps.defaultapp.DefaultApp
 
quit() - Method in interface ch.software_atelier.simpleflex.apps.WebApp
Will be called before terminating the Server
Quiter - Class in ch.software_atelier.simpleflex.interfaces.file
 
Quiter() - Constructor for class ch.software_atelier.simpleflex.interfaces.file.Quiter
 
quitFileInterface() - Method in class ch.software_atelier.simpleflex.SimpleFlexAccesser
 
quitWebApps() - Method in class ch.software_atelier.simpleflex.SimpleFlexAccesser
 

R

read() - Method in class ch.software_atelier.simpleflex.conf.text.ConfigFileIO
 
read() - Method in class ch.software_atelier.simpleflex.UntilNewlineReader
 
readBytesUntilNewLine(InputStream) - Static method in class ch.software_atelier.simpleflex.Utils
Reads all bytes of a BuferedInputStream untill a NewLine-Char and returns the readed data as a String.
readFile(File) - Static method in class ch.software_atelier.simpleflex.Utils
 
readUntilNewLine(BufferedInputStream, boolean) - Static method in class ch.software_atelier.simpleflex.Utils
Reads all bytes of a BuferedInputStream untill a NewLine-Char and returns the readed data as a String.
ready() - Method in class ch.software_atelier.simpleflex.SimpleFlexAccesser
 
RecievedData - Class in ch.software_atelier.simpleflex
 
RecievedData() - Constructor for class ch.software_atelier.simpleflex.RecievedData
 
RecievedFile - Class in ch.software_atelier.simpleflex
Represents a receifed File.
RecievedFile() - Constructor for class ch.software_atelier.simpleflex.RecievedFile
 
RecievedText - Class in ch.software_atelier.simpleflex
 
RecievedText() - Constructor for class ch.software_atelier.simpleflex.RecievedText
 
RedirectorDoc - Class in ch.software_atelier.simpleflex.docs.impl
This WebDoc serves a html-file that redirects to the given url.
RedirectorDoc(String) - Constructor for class ch.software_atelier.simpleflex.docs.impl.RedirectorDoc
 
registerMime(String, String) - Static method in class ch.software_atelier.simpleflex.Utils
 
removeNonEscaped(String, char, char) - Static method in class ch.software_atelier.simpleflex.Utils
 
replace() - Method in class ch.software_atelier.simpleflex.docs.impl.TemplateDoc
Calculates the document.
Request - Class in ch.software_atelier.simpleflex
Holds a request with all contents sent by a WebBrowser.
Request() - Constructor for class ch.software_atelier.simpleflex.Request
 
RequestArgument - Class in ch.software_atelier.simpleflex
 
RequestArgument(String, String) - Constructor for class ch.software_atelier.simpleflex.RequestArgument
 
RequestHandler - Class in ch.software_atelier.simpleflex
This Class finds out the WebApp and starts it.
RequestHandler(WebAppHandler, Socket, boolean) - Constructor for class ch.software_atelier.simpleflex.RequestHandler
 
RessourceDoc - Class in ch.software_atelier.simpleflex.docs.impl
Serves a file from the ressources
RessourceDoc(String) - Constructor for class ch.software_atelier.simpleflex.docs.impl.RessourceDoc
 
run() - Method in class ch.software_atelier.simpleflex.ConnectionHandler
 
run() - Method in class ch.software_atelier.simpleflex.RequestHandler
Switches the WebApp

S

serveOnHost(String, String, HashMap<String, Object>, int, String) - Static method in class ch.software_atelier.simpleflex.SimpleFlexBase
 
serveOnLocalhost(String, HashMap<String, Object>, int) - Static method in class ch.software_atelier.simpleflex.SimpleFlexBase
Serves the given App as default App on localhost
serveOnLocalhost(String, HashMap<String, Object>, int, String) - Static method in class ch.software_atelier.simpleflex.SimpleFlexBase
 
SERVER_VERS - Static variable in class ch.software_atelier.simpleflex.SimpleFlexBase
The Version-String of this Server
setClient(InetAddress) - Method in class ch.software_atelier.simpleflex.Request
 
setDefaultWebApp(WebApp) - Method in class ch.software_atelier.simpleflex.Domain
 
setDefaultWebAppConfig(WebAppConfig) - Method in class ch.software_atelier.simpleflex.conf.DomainConfig
 
setDomains(HashMap<String, Domain>) - Method in class ch.software_atelier.simpleflex.SimpleFlexAccesser
 
setFieldName(String) - Method in class ch.software_atelier.simpleflex.RecievedData
 
setFileInterfaceFile(File) - Method in class ch.software_atelier.simpleflex.conf.GlobalConfig
 
setFileInterfaceHandler(FileInterfaceHandler) - Method in class ch.software_atelier.simpleflex.SimpleFlexAccesser
 
setFileInterfaceInterval(int) - Method in class ch.software_atelier.simpleflex.conf.GlobalConfig
 
setFileName(String) - Method in class ch.software_atelier.simpleflex.RecievedFile
 
setHTTPCode(int, String) - Method in class ch.software_atelier.simpleflex.docs.WebDoc
Sets the HTTP Response Code.
setInterfaceFile(String) - Method in class ch.software_atelier.simpleflex.conf.FileInterfaceConfig
 
setInterval(int) - Method in class ch.software_atelier.simpleflex.conf.FileInterfaceConfig
 
setMethod(String) - Method in class ch.software_atelier.simpleflex.Request
 
setMime(String) - Method in class ch.software_atelier.simpleflex.docs.impl.InputStreamDoc
 
setName(String) - Method in class ch.software_atelier.simpleflex.docs.impl.InputStreamDoc
 
setPort(int) - Method in class ch.software_atelier.simpleflex.conf.GlobalConfig
Sets the port for unsecure connections.
setProtocoll(String) - Method in class ch.software_atelier.simpleflex.Request
 
setRequestString(String) - Method in class ch.software_atelier.simpleflex.Request
 
setSecure(boolean) - Method in class ch.software_atelier.simpleflex.Request
 
setSize(long) - Method in class ch.software_atelier.simpleflex.docs.impl.InputStreamDoc
 
setSSLKeyStore(String) - Method in class ch.software_atelier.simpleflex.conf.GlobalConfig
Sets the path to the keystore for secure connections.
setSSLKeyStorePassword(String) - Method in class ch.software_atelier.simpleflex.conf.GlobalConfig
Sets the password for the keystore for secure connections.
setSSLPort(int) - Method in class ch.software_atelier.simpleflex.conf.GlobalConfig
Sets the port for secure connections.
setUseFileInterface(boolean) - Method in class ch.software_atelier.simpleflex.conf.GlobalConfig
 
setUseSecurityManager(boolean) - Method in class ch.software_atelier.simpleflex.conf.GlobalConfig
If the builtin SecurityManager has to be used, enable it with true.
setUseSSL(boolean) - Method in class ch.software_atelier.simpleflex.conf.GlobalConfig
Activates(true)/deactivates(false) secure connections.
setValue(String) - Method in class ch.software_atelier.simpleflex.docs.HeaderField
 
sfa() - Method in class ch.software_atelier.simpleflex.SimpleFlexBase
 
shutDown() - Method in class ch.software_atelier.simpleflex.SimpleFlexAccesser
 
SimpleFlexAccesser - Class in ch.software_atelier.simpleflex
 
SimpleFlexAccesser(String, Date, GlobalConfig) - Constructor for class ch.software_atelier.simpleflex.SimpleFlexAccesser
 
SimpleFlexBase - Class in ch.software_atelier.simpleflex
This is the Main-Class of the SmpleFlex base Application.
SimpleFlexBase(GlobalConfig, DomainConfig) - Constructor for class ch.software_atelier.simpleflex.SimpleFlexBase
 
SimpleFlexBase(GlobalConfig, List<DomainConfig>) - Constructor for class ch.software_atelier.simpleflex.SimpleFlexBase
 
SimpleFlexConfigGenerator - Class in ch.software_atelier.simpleflex.conf.text
this Class generates the config objects that are used to configure SimpleFlex
SimpleFlexConfigGenerator(File) - Constructor for class ch.software_atelier.simpleflex.conf.text.SimpleFlexConfigGenerator
Creates a new instance of SimpleFlexConfigGenerator
size() - Method in class ch.software_atelier.simpleflex.docs.impl.ByteDoc
 
size() - Method in class ch.software_atelier.simpleflex.docs.impl.ErrorDoc
 
size() - Method in class ch.software_atelier.simpleflex.docs.impl.FileDoc
 
size() - Method in class ch.software_atelier.simpleflex.docs.impl.InputStreamDoc
 
size() - Method in class ch.software_atelier.simpleflex.docs.impl.JSONDoc
 
size() - Method in class ch.software_atelier.simpleflex.docs.impl.RedirectorDoc
 
size() - Method in class ch.software_atelier.simpleflex.docs.impl.RessourceDoc
 
size() - Method in class ch.software_atelier.simpleflex.docs.impl.StringDoc
 
size() - Method in class ch.software_atelier.simpleflex.docs.impl.TemplateDoc
 
size() - Method in class ch.software_atelier.simpleflex.docs.impl.XMLDoc
 
size() - Method in class ch.software_atelier.simpleflex.docs.impl.ZipDoc
 
size() - Method in class ch.software_atelier.simpleflex.docs.WebDoc
This method has to return the size of the Document in bytes.
splitHeader(String) - Static method in class ch.software_atelier.simpleflex.Utils
 
sslKeyStore() - Method in class ch.software_atelier.simpleflex.conf.GlobalConfig
returns the path to the keystore for secure connections.
sslKeystorePassword() - Method in class ch.software_atelier.simpleflex.conf.GlobalConfig
returns the password for the keystore for secure connections.
sslPort() - Method in class ch.software_atelier.simpleflex.conf.GlobalConfig
returns the port for secure connections.
start() - Method in class ch.software_atelier.simpleflex.interfaces.file.FileInterfaceHandler
 
start() - Method in class ch.software_atelier.simpleflex.SimpleFlexBase
 
start(String, HashMap<String, Object>, SimpleFlexAccesser) - Method in class ch.software_atelier.simpleflex.apps.defaultapp.DefaultApp
 
start(String, HashMap<String, Object>, SimpleFlexAccesser) - Method in interface ch.software_atelier.simpleflex.apps.WebApp
This Method can config this Object.
START_TIME - Variable in class ch.software_atelier.simpleflex.SimpleFlexBase
The Starttime of this Server
startTime() - Method in class ch.software_atelier.simpleflex.SimpleFlexAccesser
 
stop() - Method in class ch.software_atelier.simpleflex.interfaces.file.FileInterfaceHandler
 
stopListening() - Method in class ch.software_atelier.simpleflex.ConnectionHandler
 
stopListening() - Method in class ch.software_atelier.simpleflex.SimpleFlexAccesser
 
streamData() - Method in class ch.software_atelier.simpleflex.docs.impl.ByteDoc
 
streamData() - Method in class ch.software_atelier.simpleflex.docs.impl.ErrorDoc
 
streamData() - Method in class ch.software_atelier.simpleflex.docs.impl.FileDoc
 
streamData() - Method in class ch.software_atelier.simpleflex.docs.impl.InputStreamDoc
 
streamData() - Method in class ch.software_atelier.simpleflex.docs.impl.JSONDoc
 
streamData() - Method in class ch.software_atelier.simpleflex.docs.impl.RedirectorDoc
 
streamData() - Method in class ch.software_atelier.simpleflex.docs.impl.RessourceDoc
 
streamData() - Method in class ch.software_atelier.simpleflex.docs.impl.StringDoc
 
streamData() - Method in class ch.software_atelier.simpleflex.docs.impl.TemplateDoc
 
streamData() - Method in class ch.software_atelier.simpleflex.docs.impl.XMLDoc
 
streamData() - Method in class ch.software_atelier.simpleflex.docs.impl.ZipDoc
 
streamData() - Method in class ch.software_atelier.simpleflex.docs.WebDoc
If you want to return the documents data as a Stream, you have to do that here.
StringDoc - Class in ch.software_atelier.simpleflex.docs.impl
 
successfulReceived() - Method in class ch.software_atelier.simpleflex.RecievedFile
 
syntaxError(String, boolean) - Method in class ch.software_atelier.simpleflex.conf.text.SimpleFlexConfigGenerator
Implementation of the SyntaxErrorNotifiable-interface.
syntaxError(String, boolean) - Method in interface ch.software_atelier.simpleflex.conf.text.SyntaxErrorNotifiable
Notifies the implementing class about a Syntax-Error in the config file.
SyntaxErrorNotifiable - Interface in ch.software_atelier.simpleflex.conf.text
This Class is used to notifie a class that implements this interface about a syntax error in the config file.

T

TemplateDoc - Class in ch.software_atelier.simpleflex.docs.impl
 
TemplateDoc(File) - Constructor for class ch.software_atelier.simpleflex.docs.impl.TemplateDoc
 
TemplateDoc(File, String, String) - Constructor for class ch.software_atelier.simpleflex.docs.impl.TemplateDoc
 
TestInterface - Class in ch.software_atelier.simpleflex.interfaces.file
 
TestInterface() - Constructor for class ch.software_atelier.simpleflex.interfaces.file.TestInterface
 
text(String) - Static method in class ch.software_atelier.simpleflex.docs.impl.StringDoc
 
tokenize(String, String) - Static method in class ch.software_atelier.simpleflex.Utils
 
tokenizeByIgnoringEnclosure(String, char, char) - Static method in class ch.software_atelier.simpleflex.Utils
 
type() - Method in class ch.software_atelier.simpleflex.RecievedData
 
type() - Method in class ch.software_atelier.simpleflex.RecievedFile
 
type() - Method in class ch.software_atelier.simpleflex.RecievedText
 
TYPE_FILE - Static variable in class ch.software_atelier.simpleflex.RecievedData
 
TYPE_TEXT - Static variable in class ch.software_atelier.simpleflex.RecievedData
 

U

UNLIMITED_UPLOAD - Static variable in interface ch.software_atelier.simpleflex.apps.WebApp
 
UntilNewlineReader - Class in ch.software_atelier.simpleflex
 
UntilNewlineReader(InputStream, int) - Constructor for class ch.software_atelier.simpleflex.UntilNewlineReader
 
useFileInterface() - Method in class ch.software_atelier.simpleflex.conf.GlobalConfig
 
useSecurityManager() - Method in class ch.software_atelier.simpleflex.conf.GlobalConfig
Returns true, if the builtIn SecuritsManager has to be used.
useSSL() - Method in class ch.software_atelier.simpleflex.conf.GlobalConfig
returns true if ssl is activated, else false.
Utils - Class in ch.software_atelier.simpleflex
This Class holds some static Utility-methods
Utils() - Constructor for class ch.software_atelier.simpleflex.Utils
 

V

value() - Method in exception ch.software_atelier.simpleflex.conf.text.ConfigElementException
 
value() - Method in class ch.software_atelier.simpleflex.docs.HeaderField
 
value() - Method in class ch.software_atelier.simpleflex.RequestArgument
 
version() - Method in class ch.software_atelier.simpleflex.SimpleFlexAccesser
 

W

WebApp - Interface in ch.software_atelier.simpleflex.apps
 
WebAppConfig - Class in ch.software_atelier.simpleflex.conf
This Class configures a class that implements the WebApp-interface,
WebAppConfig(String, String) - Constructor for class ch.software_atelier.simpleflex.conf.WebAppConfig
Creates a new instance of WebAppConfig
webAppConfigs() - Method in class ch.software_atelier.simpleflex.conf.DomainConfig
Returns all WebAppConfigs for this DomainConfig
WebAppHandler - Class in ch.software_atelier.simpleflex
 
WebAppHandler(HashMap<String, Domain>) - Constructor for class ch.software_atelier.simpleflex.WebAppHandler
 
WebDoc - Class in ch.software_atelier.simpleflex.docs
 
WebDoc() - Constructor for class ch.software_atelier.simpleflex.docs.WebDoc
 
WebDoc.HTTPCode - Class in ch.software_atelier.simpleflex.docs
 
write() - Method in class ch.software_atelier.simpleflex.conf.text.ConfigFileIO
 

X

xml(XmlElement) - Static method in class ch.software_atelier.simpleflex.docs.impl.XMLDoc
 
XMLDoc - Class in ch.software_atelier.simpleflex.docs.impl
 

Z

ZipDoc - Class in ch.software_atelier.simpleflex.docs.impl
This WebDoc serves a few files as one ZIP-File.
ZipDoc(File[], String) - Constructor for class ch.software_atelier.simpleflex.docs.impl.ZipDoc
The Constructor

_

_fieldName - Variable in class ch.software_atelier.simpleflex.RecievedData
 
_HEADER_CONTENT_DISPOSITION - Static variable in class ch.software_atelier.simpleflex.RecievedData
 
_HEADER_CONTENT_TYPE - Static variable in class ch.software_atelier.simpleflex.RecievedData
 
_successfulReceived - Variable in class ch.software_atelier.simpleflex.RecievedData
 
A B C D E F G H I J K M N P Q R S T U V W X Z _ 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form