A C D E F G H I K L M N P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(Template.TemplateData) - Method in class template.Template
- addHeader(String, String) - Method in class contrib.NanoHTTPD.Response
-
Adds given line to the header.
- addHook(String, SleepClosure) - Method in class httpd.Moconti.Session
-
register the specified URL with this session handler, eh?!?
- addSite(String, String, String, String) - Method in class httpd.Moconti
- addSite(String, String, String, String, String) - Method in class httpd.Moconti
- addStatements(Block) - Method in class template.Template
- addStatic(String, String) - Method in class httpd.Moconti
- addString(String) - Method in class template.Template
C
- contrib - package contrib
D
- data - Variable in class contrib.NanoHTTPD.Response
-
Data of the response, may be null.
- defaultSite - Variable in class httpd.Moconti
E
- environment - Variable in class httpd.Moconti
- evaluate(String, ScriptInstance, Stack) - Method in class template.TemplateEngine
- evaluate(ScriptInstance, Stack) - Method in class template.Template
-
evaluates the template
F
G
- getId() - Method in class httpd.Moconti.Session
- getSession(Site, String) - Method in class httpd.Moconti
-
obtain a session
- getSharedData() - Method in class httpd.Moconti.Session
-
returns data structure for vars shared between sessions
- getSiteLock() - Method in class httpd.Moconti.Session
-
returns site lock
H
- hasChanged() - Method in class httpd.Moconti.Session
-
check if the underlying source code powering this session has changed at all
- header - Variable in class contrib.NanoHTTPD.Response
-
Headers for the HTTP response.
- hooks - Variable in class httpd.Moconti.Session
- HTTP_BADREQUEST - Static variable in class contrib.NanoHTTPD
-
Some HTTP response status codes
- HTTP_FORBIDDEN - Static variable in class contrib.NanoHTTPD
-
Some HTTP response status codes
- HTTP_INTERNALERROR - Static variable in class contrib.NanoHTTPD
-
Some HTTP response status codes
- HTTP_NOT_MODIFIED - Static variable in class contrib.NanoHTTPD
-
Some HTTP response status codes
- HTTP_NOTFOUND - Static variable in class contrib.NanoHTTPD
-
Some HTTP response status codes
- HTTP_NOTIMPLEMENTED - Static variable in class contrib.NanoHTTPD
-
Some HTTP response status codes
- HTTP_OK - Static variable in class contrib.NanoHTTPD
-
Some HTTP response status codes
- HTTP_REDIRECT - Static variable in class contrib.NanoHTTPD
-
Some HTTP response status codes
- httpd - package httpd
I
- id - Variable in class httpd.Moconti.Session
- isExpired() - Method in class httpd.Moconti.Session
- isValid() - Method in class template.Template
-
check if this template is still valid (otherwise it must be reloaded)
K
- kill() - Method in class httpd.Moconti.Session
L
- last - Variable in class template.Template
- lastUsed - Variable in class httpd.Moconti.Session
- listen() - Method in class contrib.NanoHTTPD
-
Starts the HTTP server listening on the port it was initialized with
- loadedTime - Variable in class template.Template
-
the time when this template was loaded
- loader - Variable in class httpd.Moconti
M
- main(String[]) - Static method in class contrib.NanoHTTPD
-
Starts as a standalone file server and waits for Enter.
- main(String[]) - Static method in class httpd.Moconti
- main(String[]) - Static method in class template.TemplateEngine
- MIME_DEFAULT_BINARY - Static variable in class contrib.NanoHTTPD
-
Common mime types for dynamic content
- MIME_HTML - Static variable in class contrib.NanoHTTPD
-
Common mime types for dynamic content
- MIME_PLAINTEXT - Static variable in class contrib.NanoHTTPD
-
Common mime types for dynamic content
- mimeType - Variable in class contrib.NanoHTTPD.Response
-
MIME type of content, e.g.
- Moconti - Class in httpd
- Moconti() - Constructor for class httpd.Moconti
- Moconti.Session - Class in httpd
N
- NanoHTTPD - Class in contrib
-
A simple, tiny, nicely embeddable HTTP 1.0 server in Java
- NanoHTTPD(int) - Constructor for class contrib.NanoHTTPD
-
Inits an HTTP server to given port.
- NanoHTTPD(int, boolean) - Constructor for class contrib.NanoHTTPD
-
Inits an HTTP server to given port.
- NanoHTTPD.Response - Class in contrib
-
HTTP response.
- needsInitialization - Variable in class httpd.Moconti.Session
P
- parent - Variable in class httpd.Moconti.Session
- parseCode(String, int, ImportManager, String) - Method in class template.TemplateEngine
-
parses the template code
- parseTemplate(File, String) - Method in class template.TemplateEngine
-
parses a Sleep template file.
- processScriptWarning(ScriptWarning) - Method in class httpd.Moconti
R
- removeEldestEntry(Map.Entry) - Method in class httpd.SessionCache
- Response() - Constructor for class contrib.NanoHTTPD.Response
-
Default constructor: response = HTTP_OK, data = mime = 'null'
- Response(String, String, InputStream) - Constructor for class contrib.NanoHTTPD.Response
-
Basic constructor.
- Response(String, String, String) - Constructor for class contrib.NanoHTTPD.Response
-
Convenience method that makes an InputStream out of given text.
- rootDirectory - Variable in class httpd.Moconti.Session
- runCode(ScriptEnvironment, Variable) - Method in class template.Template
S
- scriptLoaded(ScriptInstance) - Method in class httpd.Moconti
- scriptLoaded(ScriptInstance) - Method in class template.TemplateEngine
- scriptUnloaded(ScriptInstance) - Method in class httpd.Moconti
- scriptUnloaded(ScriptInstance) - Method in class template.TemplateEngine
- serve(String, String, Properties, Properties) - Method in class contrib.NanoHTTPD
-
Override this to customize the server.
- serve(String, String, Properties, Properties) - Method in class httpd.Moconti
- serve(String, String, Properties, Properties) - Method in class httpd.Moconti.Session
- serveFile(String, Properties, File, boolean) - Method in class contrib.NanoHTTPD
-
Serves file from homeDir and its' subdirectories (only).
- Session(Site, ScriptInstance, File, String) - Constructor for class httpd.Moconti.Session
- SessionCache - Class in httpd
- SessionCache() - Constructor for class httpd.SessionCache
- setSharedData(Object) - Method in class httpd.Moconti.Session
-
sets the shared data for these sessions
- sites - Variable in class httpd.Moconti
- size - Variable in class contrib.NanoHTTPD.Response
-
Size of the response.
- sourceFile - Variable in class template.Template
-
the source file for this template
- status - Variable in class contrib.NanoHTTPD.Response
-
HTTP status code after processing, e.g.
T
- template - package template
- Template - Class in template
-
a template object ready for evaluation
- Template(File) - Constructor for class template.Template
-
construct an empty template
- templateCache - Variable in class template.TemplateEngine
- TemplateEngine - Class in template
-
This class is an implementation of the Sleep template engine.
- TemplateEngine() - Constructor for class template.TemplateEngine
- tengine - Variable in class httpd.Moconti
- testit() - Static method in class httpd.Moconti
- theScript - Variable in class httpd.Moconti.Session
- toString() - Method in class httpd.Moconti.Session
- touch() - Method in class httpd.Moconti.Session
V
- virtualContent - Variable in class httpd.Moconti
All Classes All Packages