Femto Web Server V1.4-F
A B C D E F G H I L M P R S T U Z

A

abortRequest() - Method in class dfischer.femtowebserver.httpd.HttpdFilter
Aborts the current HTTP request or response and overrides the ordinary HTTP response.
addCookie(String, String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Allows to add a cookie to the HTTP request.
addFilter(String) - Method in class dfischer.femtowebserver.httpd.Httpd
Adds a HttpdFilter to the current Femto Web Server instance with no filter arguments.
addFilter(String, String[]) - Method in class dfischer.femtowebserver.httpd.Httpd
Adds a HttpdFilter to the current Femto Web Server instance with filter arguments.
addHeaderField(String, String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Allows to add additional HTTP header fields inside the HTTP request header.
addHeaderField(String, String) - Method in class dfischer.femtowebserver.httpd.HttpResponse
Allows to add additional HTTP header fields inside the HTTP response header.
addMimeMapping(String, String) - Method in class dfischer.femtowebserver.httpd.Httpd
Allows to add additional MIME types to the current MIME mapping.
addParameter(String, String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Allows to add an additional parameter to the HTTP request.
addSession(String, HttpdSession) - Method in class dfischer.femtowebserver.httpd.HttpdSessionHashtable
Adds a new session to the hashtable.
addUrlFileMapping(String, String) - Method in class dfischer.femtowebserver.httpd.Httpd
Maps the path of a requested file to an other (internal) path and continues further processing with the internal path.

B

Base64Decoder - class dfischer.femtowebserver.lib.Base64Decoder.
Converts a base64 transformed string back to its original value.
Base64Decoder(String) - Constructor for class dfischer.femtowebserver.lib.Base64Decoder
Creates a new instance with a base64 transformed string.
Base64Decoder(String, boolean) - Constructor for class dfischer.femtowebserver.lib.Base64Decoder
Creates a new instance with a base64 transformed string.
Base64Encoder - class dfischer.femtowebserver.lib.Base64Encoder.
Converts data to a base64 transformed string.
BasicAuthGenericTestInterface - interface dfischer.femtowebserver.test.BasicAuthGenericTestInterface.
This (example) interface is a bridge between the abstract BasicAuthGenericTestWeblet and the real instance of the BasicAuthTestWeblet.
BasicAuthGenericTestWeblet - class dfischer.femtowebserver.test.BasicAuthGenericTestWeblet.
This example of an abstract Weblet superclass checks the username/password access for a protected page.
BasicAuthGenericTestWeblet() - Constructor for class dfischer.femtowebserver.test.BasicAuthGenericTestWeblet
 
BasicAuthTestWeblet - class dfischer.femtowebserver.test.BasicAuthTestWeblet.
This example displays a username/password protected page.
BasicAuthTestWeblet() - Constructor for class dfischer.femtowebserver.test.BasicAuthTestWeblet
 
BinaryTestWeblet - class dfischer.femtowebserver.test.BinaryTestWeblet.
This Weblet example displays a small red gif image with the blue text "TEST".
BinaryTestWeblet() - Constructor for class dfischer.femtowebserver.test.BinaryTestWeblet
 

C

clearContent() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Allows to remove the request content data.
clearContent() - Method in class dfischer.femtowebserver.httpd.HttpResponse
Clears the content.
closeConnection() - Method in class dfischer.femtowebserver.adapter.HttpdSocketConnection
 
closeConnection() - Method in class dfischer.femtowebserver.httpd.HttpdConnection
Closes/terminates the client connection.
ContentCompressionFilter - class dfischer.femtowebserver.filter.ContentCompressionFilter.
This filter compresses the response content of some MIME types to save network bandwidth.
ContentCompressionFilter() - Constructor for class dfischer.femtowebserver.filter.ContentCompressionFilter
 
currentDate() - Static method in class dfischer.femtowebserver.lib.ZoneTime
Returns the current date in the time zone GMT.
CurrentServerVersionSssi - class dfischer.femtowebserver.test.CurrentServerVersionSssi.
This SSSI returns the current version of the Femto Web Server.
CurrentServerVersionSssi() - Constructor for class dfischer.femtowebserver.test.CurrentServerVersionSssi
 
CurrentTimeTestSssi - class dfischer.femtowebserver.test.CurrentTimeTestSssi.
This SSSI example displays the current time, based on a specific time zone.
CurrentTimeTestSssi() - Constructor for class dfischer.femtowebserver.test.CurrentTimeTestSssi
 

D

dateToShortString() - Static method in class dfischer.femtowebserver.lib.ZoneTime
Returns the current date in the default time zone as text string, formatted as "DD MMM YYYY HH:MM:SS.mmm".
dateToShortString(Date, boolean) - Static method in class dfischer.femtowebserver.lib.ZoneTime
Returns a recalculated GMT date in the default time zone as text string, formatted as "DD MMM YYYY HH:MM:SS[.mmm]".
dateToShortString(Date, String, boolean) - Static method in class dfischer.femtowebserver.lib.ZoneTime
Returns a recalculated GMT date in the desired time zone as text string, formatted as "DD MMM YYYY HH:MM:SS[.mmm]".
dateToShortString(String, boolean) - Static method in class dfischer.femtowebserver.lib.ZoneTime
Returns the current date in the desired time zone as text string, formatted as "DD MMM YYYY HH:MM:SS[.mmm]".
dfischer.femtowebserver.adapter - package dfischer.femtowebserver.adapter
Contains commonly used connection adapters.
dfischer.femtowebserver.filter - package dfischer.femtowebserver.filter
Contains commonly used filters.
dfischer.femtowebserver.httpd - package dfischer.femtowebserver.httpd
Contains the Femto Web Server main thread and all classes for Weblets, "Simple Server Side Includes" (SSSI), HTTP filters (including HTTP sessions and cookies) and network protocol adapters.
dfischer.femtowebserver.lib - package dfischer.femtowebserver.lib
Contains common libraries.
dfischer.femtowebserver.test - package dfischer.femtowebserver.test
Contains pre-compiled Weblet and SSSI example programs.
DivisionByNullTestWeblet - class dfischer.femtowebserver.test.DivisionByNullTestWeblet.
This example shows what happens, when a java Exception occurs during the execution of the Weblet.
DivisionByNullTestWeblet() - Constructor for class dfischer.femtowebserver.test.DivisionByNullTestWeblet
 
dropCookie(String, String) - Method in class dfischer.femtowebserver.httpd.HttpResponse
Allows to delete cookies, before they are sent.
dropInactiveSessions(int) - Method in class dfischer.femtowebserver.httpd.HttpdSessionHashtable
Removes all sessions that are inactive since a specific time.
dropLongSessions(int) - Method in class dfischer.femtowebserver.httpd.HttpdSessionHashtable
Removes all sessions that are older since a specific time.
dump() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Dumps the HTTP request header and the request content to the log output.
dump() - Method in class dfischer.femtowebserver.httpd.HttpResponse
Dumps the HTTP response header and the response content to the log output.

E

encode(byte[]) - Static method in class dfischer.femtowebserver.lib.Base64Encoder
Converts a byte[] array to a base64 transformed string.
encode(String) - Static method in class dfischer.femtowebserver.lib.Base64Encoder
Converts a string to a base64 transformed string.
encodeForCGI(byte[]) - Static method in class dfischer.femtowebserver.lib.Base64Encoder
Converts a byte[] array to a special, non standard base64 CGI format.
encodeForCGI(String) - Static method in class dfischer.femtowebserver.lib.Base64Encoder
Converts a string to a special, non standard base64 CGI format.
execute(HttpRequest, HttpResponse, HttpdProperties) - Method in class dfischer.femtowebserver.test.BasicAuthGenericTestWeblet
 
execute(HttpRequest, HttpResponse, HttpdProperties) - Method in class dfischer.femtowebserver.test.BinaryTestWeblet
 
execute(HttpRequest, HttpResponse, HttpdProperties) - Method in class dfischer.femtowebserver.test.HttpSessionListWeblet
 
execute(HttpRequest, HttpResponse, HttpdProperties) - Method in class dfischer.femtowebserver.test.DivisionByNullTestWeblet
 
execute(HttpRequest, HttpResponse, HttpdProperties) - Method in class dfischer.femtowebserver.test.InputFormTestWeblet
 
execute(HttpRequest, HttpResponse, HttpdProperties) - Method in class dfischer.femtowebserver.test.RedirectTestWeblet
 
execute(HttpRequest, HttpResponse, HttpdProperties) - Method in class dfischer.femtowebserver.test.TestWeblet
 
execute(HttpRequest, HttpResponse, HttpdProperties) - Method in interface dfischer.femtowebserver.httpd.HttpdWebletInterface
Executes the Weblet.
execute(HttpRequest, HttpResponse, HttpdProperties, String) - Method in class dfischer.femtowebserver.test.BasicAuthTestWeblet
Implements the BasicAuthGenericTestInterface which is a re-definition of the HttpdWebletInterface by adding a valid, already authorized username.
execute(HttpRequest, HttpResponse, HttpdProperties, String) - Method in interface dfischer.femtowebserver.test.BasicAuthGenericTestInterface
Re-definition example of the HttpdWebletInterface by adding an authorized username
execute(String[], HttpRequest, HttpdProperties) - Method in class dfischer.femtowebserver.test.CurrentServerVersionSssi
 
execute(String[], HttpRequest, HttpdProperties) - Method in class dfischer.femtowebserver.test.InputFormTestSssi
 
execute(String[], HttpRequest, HttpdProperties) - Method in class dfischer.femtowebserver.test.CurrentTimeTestSssi
 
execute(String[], HttpRequest, HttpdProperties) - Method in interface dfischer.femtowebserver.httpd.HttpdSssiInterface
Executes the SSSI.
EXTENDED_MIME_MAPPING - Static variable in class dfischer.femtowebserver.httpd.HttpdProperties
Extended MIME mapping definition (less secure).

F

filterRequest(HttpRequest, HttpResponse) - Method in class dfischer.femtowebserver.filter.HttpDebugFilter
 
filterRequest(HttpRequest, HttpResponse) - Method in class dfischer.femtowebserver.filter.RestrictedInetAddressFilter
 
filterRequest(HttpRequest, HttpResponse) - Method in class dfischer.femtowebserver.filter.HttpSessionCookieHandler
 
filterRequest(HttpRequest, HttpResponse) - Method in class dfischer.femtowebserver.filter.ContentCompressionFilter
 
filterRequest(HttpRequest, HttpResponse) - Method in class dfischer.femtowebserver.httpd.HttpdFilter
Allows filtering tasks on the HTTP request and to preset the HTTP response (at his time blank).
filterResponse(HttpRequest, HttpResponse) - Method in class dfischer.femtowebserver.filter.HttpDebugFilter
 
filterResponse(HttpRequest, HttpResponse) - Method in class dfischer.femtowebserver.filter.RestrictedInetAddressFilter
 
filterResponse(HttpRequest, HttpResponse) - Method in class dfischer.femtowebserver.filter.HttpSessionCookieHandler
 
filterResponse(HttpRequest, HttpResponse) - Method in class dfischer.femtowebserver.filter.ContentCompressionFilter
 
filterResponse(HttpRequest, HttpResponse) - Method in class dfischer.femtowebserver.httpd.HttpdFilter
Allows filtering tasks on the HTTP response and to access the HTTP request.

G

getAccessCount() - Method in class dfischer.femtowebserver.httpd.HttpdSession
Returns the total number a HTTP request which have made during the session.
getAttribute(String) - Method in class dfischer.femtowebserver.httpd.HttpdSession
Returns the object bound with a specific name to the session.
getAttributNames() - Method in class dfischer.femtowebserver.httpd.HttpdSession
Returns an Enumeration of Strings of all object names bound to this session.
getBasicAuthorizationPassword() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the (basic) authorization password, which has been set by the agent (browser).
getBasicAuthorizationUsername() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the (basic) authorization username, which has been set by the agent (browser).
getBindAddress() - Method in class dfischer.femtowebserver.httpd.HttpdProperties
Returns the HTTP server TCP/IP bind address.
getClientAddress() - Method in class dfischer.femtowebserver.adapter.HttpdSocketConnection
 
getClientAddress() - Method in class dfischer.femtowebserver.httpd.HttpdConnection
Returns the identification of the remote host from which the request has been started.
getConnectionAdapterClass() - Method in class dfischer.femtowebserver.httpd.HttpdProperties
Returns the class of the currently used connection adapter.
getContent() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the content data of the request.
getContent() - Method in class dfischer.femtowebserver.httpd.HttpResponse
Returns the current content as byte[] array.
getContentAsString() - Method in class dfischer.femtowebserver.httpd.HttpResponse
Returns the current content as string.
getContentSubtype() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the MIME subtype of the request content data, if this information has been set by the agent (browser).
getContentSubtype() - Method in class dfischer.femtowebserver.httpd.HttpResponse
Returns the current content subtype.
getContentType() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the MIME type of the request content data, if this information has been set by the agent (browser).
getContentType() - Method in class dfischer.femtowebserver.httpd.HttpUploadFile
Returns the MIME (data-) type of the uploaded file content.
getContentType() - Method in class dfischer.femtowebserver.httpd.HttpResponse
Returns the current content type, without the the content subtype.
getCookieValue(String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the value of a received cookie, selected by its name.
getCreationTime() - Method in class dfischer.femtowebserver.httpd.HttpdSession
Returns the time when this session was created.
getData() - Method in class dfischer.femtowebserver.httpd.HttpUploadFile
Returns the upladed file content (data).
getDefaultContent() - Method in class dfischer.femtowebserver.httpd.HttpdProperties
Returns the default file, if the URL request points to a directory.
getDefaultMimeType() - Method in class dfischer.femtowebserver.httpd.HttpdProperties
Returns the default MIME type.
getDefaultTimeZone() - Static method in class dfischer.femtowebserver.lib.ZoneTime
Returns the default time zone ID.
getFilterArguments() - Method in class dfischer.femtowebserver.httpd.HttpdFilter
Returns the (optionally) filter arguments.
getFilterArguments(String) - Method in class dfischer.femtowebserver.httpd.Httpd
Returns the arguments of a HttpdFilter.
getFilterClassNames() - Method in class dfischer.femtowebserver.httpd.Httpd
Returns a list of all HttpdFilters.
getGregorianCalendar(Date, String) - Static method in class dfischer.femtowebserver.lib.ZoneTime
Creates a calendar in a desired time zone, based on a GMT date.
getHeader() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the whole HTTP request header.
getHeaderField(String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the value of a header field name.
getHeaderField(String) - Method in class dfischer.femtowebserver.httpd.HttpResponse
Returns the value of a HTTP header field name.
getHeaderFieldNames() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns a list of all request header field names (header line 1..n-1).
getHeaderFieldNames() - Method in class dfischer.femtowebserver.httpd.HttpResponse
Returns a String[] array of all HTTP header field names.
getHttpdProperties() - Method in class dfischer.femtowebserver.httpd.HttpdFilter
Returns the Femto Web Server configuration
getHttpProtocol() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the HTTP protocol version ("HTTP/1.0", "HTTP/1.1" ...) of the agent (browser).
getId() - Method in class dfischer.femtowebserver.httpd.HttpdSession
Returns the session id.
getInputStream() - Method in class dfischer.femtowebserver.adapter.HttpdSocketConnection
 
getInputStream() - Method in class dfischer.femtowebserver.httpd.HttpdConnection
Returns the input stream of the new client connection.
getLastAccessTime() - Method in class dfischer.femtowebserver.httpd.HttpdSession
Returns the last time when the user has sent a HTTP request, bound on this session.
getLastSessionInfo() - Method in class dfischer.femtowebserver.httpd.HttpdSession
Returns the informational text about the session.
getLogStream() - Static method in class dfischer.femtowebserver.lib.Stdout
Returns the current print stream for the log output
getMethod() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the HTTP request method ("GET", "POST" ...).
getMimeMapping() - Method in class dfischer.femtowebserver.httpd.HttpdProperties
Returns the current MIME mapping.
getName() - Method in class dfischer.femtowebserver.httpd.HttpCookie
Returns the name of the received cookie.
getNextConnection(HttpdProperties) - Method in class dfischer.femtowebserver.adapter.HttpdSocketConnectionAdapter
 
getNextConnection(HttpdProperties) - Method in interface dfischer.femtowebserver.httpd.HttpdConnectionAdapterInterface
Listens for a new client connection and blocks until a new client connection is made.
getOutputStream() - Method in class dfischer.femtowebserver.adapter.HttpdSocketConnection
 
getOutputStream() - Method in class dfischer.femtowebserver.httpd.HttpdConnection
Returns the output stream of the new client connection.
getParameter(String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the value of a request parameter.
getParameter(String, boolean) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the value of a request parameter.
getParameterAsInt(String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the value of a request parameter as int number.
getParameterAsLong(String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the value of a request parameter as long number.
getParameterName() - Method in class dfischer.femtowebserver.httpd.HttpUploadFile
Returns the HTML parameter name of the uploaded file.
getParameterNames() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns a list of all names of the request parameters, nevertheless if there is a "GET" or a "POST" request.
getParameterString(String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the value of a request parameter or an empty string, if no such parameter is available.
getParameterValues(String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns all values of one request parameter name.
getProperty(String) - Method in class dfischer.femtowebserver.httpd.HttpdProperties
Returns a reference to an object which has been set with Httpd.setProperty(java.lang.String, java.lang.Object).
getProtocol() - Method in class dfischer.femtowebserver.adapter.HttpdSocketConnection
 
getProtocol() - Method in class dfischer.femtowebserver.httpd.HttpdConnection
Returns the network protocol-name of the new client connection ("http", "https", ...)
getProtocol() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the request network protocol ("http", "https" ...).
getQueryString() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Deprecated. Better use getParameterNames() and getParameter()
getReceivedCookies() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns an array[] of all received cookies.
getRemoteAddress() - Method in class dfischer.femtowebserver.httpd.HttpdSession
Returns the raw TCP/IP remote address of agent (aaa.bbb.ccc.ddd).
getRemoteAddress() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the TCP/IP remote address of the agent (browser).
getRequest() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the request file with the full path, but does not include the (optional) CGI parameters.
getRequestFile() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the request file without any path.
getRequestPath() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the path to the request file (without the request file itself).
getRequestTimeout() - Method in class dfischer.femtowebserver.httpd.HttpdProperties
Returns the HTTP request timeout.
getServerName() - Method in class dfischer.femtowebserver.httpd.HttpdProperties
Returns the HTTP server name.
getServerPort() - Method in class dfischer.femtowebserver.httpd.HttpdProperties
Returns the HTTP server port.
getSession() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the current HTTP session (only if a session handler is active).
getSession() - Method in class dfischer.femtowebserver.httpd.HttpResponse
Returns the current http session (only if a session handler is active).
getSession(String) - Method in class dfischer.femtowebserver.httpd.HttpdSessionHashtable
Returns a session selected by its session id.
getSessionHashtable() - Method in class dfischer.femtowebserver.httpd.HttpdProperties
Allows direct access to the session hashtable of the Femto Web Server instance.
getSpecificProperties() - Method in class dfischer.femtowebserver.lib.PropertyManager
Returns all property-names and property-values
getSpecificProperty(String) - Method in class dfischer.femtowebserver.lib.PropertyManager
Returns the string value of a property name.
getSpecificPropertyIntValue(String) - Method in class dfischer.femtowebserver.lib.PropertyManager
Returns the int value of a property name.
getStatus() - Method in class dfischer.femtowebserver.httpd.HttpResponse
Returns the current HTTP status code.
getStatusText() - Method in class dfischer.femtowebserver.httpd.HttpResponse
Returns the current HTTP status text.
getTimeZone(String) - Static method in class dfischer.femtowebserver.lib.ZoneTime
Converts the time zone ID to a java.util.TimeZone
getUploadFile(String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns an uploaded file with its data, selected by the HTML parameter name.
getUploadFilename() - Method in class dfischer.femtowebserver.httpd.HttpUploadFile
Returns the real uploaded filename from client side (browser) with its full path.
getUploadFiles() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns all uploaded files.
getURI() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Deprecated. Better use getRequest(), getParameterNames() and getParameter()
getUrlFileMapping() - Method in class dfischer.femtowebserver.httpd.HttpdProperties
Returns an array of all url file mappings.
getUserAgent() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the browser product name and version (if any).
getValue() - Method in class dfischer.femtowebserver.httpd.HttpCookie
Returns the value of the received cookie.
getVirtualHost() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the name of the TCP/IP host (server) to which the agent (browser) has made the request.
getVirtualPort() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Returns the non-standard server port number to which the agent (browser) has made the request.
getWelcomePage() - Method in class dfischer.femtowebserver.httpd.HttpdProperties
Returns for HTTP requests to the top level default URL "/" the welcome page.

H

hasBasicAuthorization() - Method in class dfischer.femtowebserver.httpd.HttpRequest
Checks if a base64 (basic) authorization has been set by the agent (browser).
HTTP_DEFAULT_CONTENT_TYPE - Static variable in class dfischer.femtowebserver.httpd.HttpResponse
The default content type for the Weblet response is "TEXT/HTML" (without a content subtype).
HTTP_DEFAULT_STATUS_CODE - Static variable in class dfischer.femtowebserver.httpd.HttpResponse
The default HTTP status code for a Weblet is 200.
HTTP_DEFAULT_STATUS_TEXT - Static variable in class dfischer.femtowebserver.httpd.HttpResponse
The default HTTP status text for a Weblet is "OK".
HTTP_VERSION - Static variable in class dfischer.femtowebserver.httpd.HttpResponse
The Femto Web Server supports only the HTTP protocol version 1.0 .
HttpCookie - class dfischer.femtowebserver.httpd.HttpCookie.
Contains the data of one single, received cookie from the agent (browser).
Httpd - class dfischer.femtowebserver.httpd.Httpd.
This is the Femto Web Server main class which is implemented as an independent thread.
Httpd() - Constructor for class dfischer.femtowebserver.httpd.Httpd
Creates a new instance of the Femto Web Server with its own properties and its own session hashtable.
HttpdConnection - class dfischer.femtowebserver.httpd.HttpdConnection.
Represents a network protocol independent client connection to the Femto Web Server.
HttpdConnection() - Constructor for class dfischer.femtowebserver.httpd.HttpdConnection
 
HttpdConnectionAdapterInterface - interface dfischer.femtowebserver.httpd.HttpdConnectionAdapterInterface.
Connection Adapters - network protocol listeners - are used to wire the Femto Web Server to a specific network protocol.
HttpDebugFilter - class dfischer.femtowebserver.filter.HttpDebugFilter.
This filter writes all details of the HTTP requests and the HTTP responses to the log output.
HttpDebugFilter() - Constructor for class dfischer.femtowebserver.filter.HttpDebugFilter
 
HttpdFilter - class dfischer.femtowebserver.httpd.HttpdFilter.
A HttpdFilter is an object that allows filtering tasks on either the HTTP request to a resource (a Weblet or static content), or on the HTTP response from a resource, or both.
HttpdProperties - class dfischer.femtowebserver.httpd.HttpdProperties.
Allows Weblets, SSSIs, filters and connection adapters to access the configuration of the Femto Web Server (read/only access).
HttpdSession - class dfischer.femtowebserver.httpd.HttpdSession.
HTTP sessions can be used to overlay the stateless HTTP protocol with stateful information, valid over the whole surfing session of an user.
HttpdSession(String) - Constructor for class dfischer.femtowebserver.httpd.HttpdSession
Creates a new session, initializes the session creation time and sets the access count to 1.
HttpdSession(String, String) - Constructor for class dfischer.femtowebserver.httpd.HttpdSession
Creates a new session, initializes the session creation time, sets the access count to 1 and sets the TCP/IP remote address.
HttpdSession(String, String, String) - Constructor for class dfischer.femtowebserver.httpd.HttpdSession
Creates a new session, initializes the session creation time, sets the access count to 1, sets the TCP/IP remote address and sets an informational text about the session.
HttpdSessionHashtable - class dfischer.femtowebserver.httpd.HttpdSessionHashtable.
Contains and manages all HTTP sessions of one Femto Web Server instance.
HttpdSessionHashtable() - Constructor for class dfischer.femtowebserver.httpd.HttpdSessionHashtable
Creates a new session hashtable.
HttpdSocketConnection - class dfischer.femtowebserver.adapter.HttpdSocketConnection.
Represents new TCP/IP client connections from the HttpdSocketConnectionAdapter.
HttpdSocketConnection(Socket, String) - Constructor for class dfischer.femtowebserver.adapter.HttpdSocketConnection
 
HttpdSocketConnectionAdapter - class dfischer.femtowebserver.adapter.HttpdSocketConnectionAdapter.
Supports the plain TCP/IP protocol and is the default adapter used by Httpd.
HttpdSocketConnectionAdapter() - Constructor for class dfischer.femtowebserver.adapter.HttpdSocketConnectionAdapter
 
HttpdSssiInterface - interface dfischer.femtowebserver.httpd.HttpdSssiInterface.
SSSI - Simple Server Side Includes. SSSI are directives that are placed in static HTML pages, and evaluated on the server while the HTML pages are being served.
HttpdWebletInterface - interface dfischer.femtowebserver.httpd.HttpdWebletInterface.
Weblets - direct from web browser executable java classes. Weblets are special java classes, which can be called direct from the browser - similar to Java Servlets or CGI scripts.
HttpRequest - class dfischer.femtowebserver.httpd.HttpRequest.
Allows Weblets and SSSIs to access the HTTP request data (browser request) and (optionally) allows a Filter to modify every HTTP request.
HttpResponse - class dfischer.femtowebserver.httpd.HttpResponse.
Sets the Weblet HTTP response data (server response) and (optionally) allows a Filter to modify every HTTP response.
HttpSessionCookieHandler - class dfischer.femtowebserver.filter.HttpSessionCookieHandler.
This filter enables cookie based HTTP sessions.
HttpSessionCookieHandler() - Constructor for class dfischer.femtowebserver.filter.HttpSessionCookieHandler
 
HttpSessionListWeblet - class dfischer.femtowebserver.test.HttpSessionListWeblet.
This Weblet example displays an internal list of all Femto Web Server sessions.
HttpSessionListWeblet() - Constructor for class dfischer.femtowebserver.test.HttpSessionListWeblet
 
HttpUploadFile - class dfischer.femtowebserver.httpd.HttpUploadFile.
Data encapsulation for uploaded files.

I

init(HttpdProperties) - Method in class dfischer.femtowebserver.adapter.HttpdSocketConnectionAdapter
 
init(HttpdProperties) - Method in interface dfischer.femtowebserver.httpd.HttpdConnectionAdapterInterface
Initializes the connection adapter.
InputFormTestSssi - class dfischer.femtowebserver.test.InputFormTestSssi.
This example displays a HTML input form.
InputFormTestSssi() - Constructor for class dfischer.femtowebserver.test.InputFormTestSssi
 
InputFormTestWeblet - class dfischer.femtowebserver.test.InputFormTestWeblet.
This Weblet example displays a HTML input form.
InputFormTestWeblet() - Constructor for class dfischer.femtowebserver.test.InputFormTestWeblet
 
invalidate() - Method in class dfischer.femtowebserver.httpd.HttpdSession
Invalidates the session.
isNew() - Method in class dfischer.femtowebserver.httpd.HttpdSession
Returns true if the session was newly created.

L

log() - Static method in class dfischer.femtowebserver.lib.Stdout
Writes an empty line to the log output.
log(byte[]) - Static method in class dfischer.femtowebserver.lib.Stdout
Writes binary data as ASCII/TEXT to the log output.
log(String) - Static method in class dfischer.femtowebserver.lib.Stdout
Writes a text line to the log output.
log(StringBuffer) - Static method in class dfischer.femtowebserver.lib.Stdout
Writes a string buffer to the log output.
log(String, Exception) - Static method in class dfischer.femtowebserver.lib.Stdout
Writes a stack trace of an exception to the log output.
log(Vector) - Static method in class dfischer.femtowebserver.lib.Stdout
Writes a Vector of Type java.lang.String to the log output.

M

MAX_SESSION_TIME - Static variable in class dfischer.femtowebserver.filter.HttpSessionCookieHandler
The default value of the maximum session life time is 240 minutes (4 hours).
MONTH_SHORT_STRING - Static variable in class dfischer.femtowebserver.lib.ZoneTime
Array[0..11], of (all) short month names.
MONTH_SHORT_STRING_UPPECASE - Static variable in class dfischer.femtowebserver.lib.ZoneTime
Array[0..11], of (all) short month names in UPPERCASE.

P

print(String) - Method in class dfischer.femtowebserver.httpd.HttpResponse
Appends (text) content to HTTP response.
println() - Method in class dfischer.femtowebserver.httpd.HttpResponse
Appends a <CR><NL> to the HTTP response.
println(String) - Method in class dfischer.femtowebserver.httpd.HttpResponse
Appends text content to the HTTP response and adds a <CR><NL>.
processBytes() - Method in class dfischer.femtowebserver.lib.Base64Decoder
Converts a base64 transformed string back to its original value.
processString() - Method in class dfischer.femtowebserver.lib.Base64Decoder
Converts a base64 transformed string back to its original value.
PRODUCT_MANUFACTURER - Static variable in class dfischer.femtowebserver.httpd.HttpdProperties
Femto Web Sever Manufacturer: "www.d-fischer.com"
PRODUCT_NAME - Static variable in class dfischer.femtowebserver.httpd.HttpdProperties
HTTP Web Server Product Name: "Femto Web Server"
PRODUCT_VERSION - Static variable in class dfischer.femtowebserver.httpd.HttpdProperties
Femto Web Sever Version: "1.4-F"
PropertyManager - class dfischer.femtowebserver.lib.PropertyManager.
Allows to read initial values from a property input stream.
PropertyManager(InputStream) - Constructor for class dfischer.femtowebserver.lib.PropertyManager
Creates a new instance and reads the properties from an input stream.

R

RedirectTestWeblet - class dfischer.femtowebserver.test.RedirectTestWeblet.
This Weblet example redirects the browser to http://www.d-fischer.com .
RedirectTestWeblet() - Constructor for class dfischer.femtowebserver.test.RedirectTestWeblet
 
removeCookie(String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Removes a received cookie from the HTTP request.
removeFilter(String) - Method in class dfischer.femtowebserver.httpd.Httpd
Removes a HttpdFilter from the current Femto Web Server instance.
removeHeaderField(String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Removes a HTTP header field.
removeHeaderField(String) - Method in class dfischer.femtowebserver.httpd.HttpResponse
Removes a HTTP header field.
removeParameter(String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Removes a parameter from the HTTP request.
removeSession(String) - Method in class dfischer.femtowebserver.httpd.HttpdSessionHashtable
Removes a session from the hashtable.
removeUrlFileMapping(String) - Method in class dfischer.femtowebserver.httpd.Httpd
Removes the mapping of a request file path.
RESTRICTED_MIME_MAPPING - Static variable in class dfischer.femtowebserver.httpd.HttpdProperties
Restricted MIME mapping definition (more secure).
RestrictedInetAddressFilter - class dfischer.femtowebserver.filter.RestrictedInetAddressFilter.
This filter restricts the access from a remote host to the Femto Web Server.
RestrictedInetAddressFilter() - Constructor for class dfischer.femtowebserver.filter.RestrictedInetAddressFilter
 
run() - Method in class dfischer.femtowebserver.httpd.Httpd
Starts the Femto Web Server instance (as thread).

S

SESSION_COOKIE_NAME - Static variable in class dfischer.femtowebserver.filter.HttpSessionCookieHandler
The name of the transient HTTP session cookie is fixed to "FEMTO_SESS_ID".
SESSION_TIMEOUT - Static variable in class dfischer.femtowebserver.filter.HttpSessionCookieHandler
The default value of the (inactive) session timeout is 10 minutes.
setAdditionalHeaderField(String, String) - Method in class dfischer.femtowebserver.httpd.HttpResponse
Deprecated. Replaced by addHeaderField()
setAttribute(String, Object) - Method in class dfischer.femtowebserver.httpd.HttpdSession
Allows to bind an object to the session, so that it's accessible during the whole HTTP session.
setBindAddress(String) - Method in class dfischer.femtowebserver.httpd.Httpd
Binds the server socket to a specific TCP/IP address.
setConnectionAdapterClass(String) - Method in class dfischer.femtowebserver.httpd.Httpd
Allows to set an own connection adapter which wire the Femto Web Server to a specific network protocol.
setContent(byte[]) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Allows to change the request content data.
setContent(byte[]) - Method in class dfischer.femtowebserver.httpd.HttpResponse
Sets the content data of the HTTP response.
setContentSubtype(String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Allows to set a new MIME subtype of the request content data.
setContentType(String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Allows to set a new MIME type of the request content data.
setContentType(String) - Method in class dfischer.femtowebserver.httpd.HttpResponse
Sets the MIME content type and (optionally) the content subtype of the content data.
setDefaultContent(String) - Method in class dfischer.femtowebserver.httpd.Httpd
Sets the default request file, if the HTTP request points only to a directory path.
setDefaultMimeType(String) - Method in class dfischer.femtowebserver.httpd.Httpd
Sets the default MIME type if the Femto Web Server is unable determine the MIME type from the HTTP request file.
setDefaultTimeZone(String) - Static method in class dfischer.femtowebserver.lib.ZoneTime
Alters the default time zone.
setError(int, String) - Method in class dfischer.femtowebserver.httpd.HttpResponse
Sets the HTTP status code and the HTTP status text, and appends a small HTML error message as content.
setExtendedMimeMapping() - Method in class dfischer.femtowebserver.httpd.Httpd
Sets extended MIME mapping (less secure).
setLastSessionInfo(String) - Method in class dfischer.femtowebserver.httpd.HttpdSession
Updates the informational text about the session.
setLogStream(PrintStream) - Static method in class dfischer.femtowebserver.lib.Stdout
Sets the log output to an other print stream.
setLogStream(PrintStream) - Static method in class dfischer.femtowebserver.httpd.Httpd
Sets the log output for all instances of the Femto Web Server.
setMethod(String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Allows to change the HTTP request method ("GET", "POST" ...).
setMimeMapping(String[][]) - Method in class dfischer.femtowebserver.httpd.Httpd
Allows to set an own, specific MIME mapping.
setPermanentCookie(String, String, String, int, boolean) - Method in class dfischer.femtowebserver.httpd.HttpResponse
Transfers a new permanent cookie to the agent (browser).
setProperty(String, Object) - Method in class dfischer.femtowebserver.httpd.Httpd
Allows to add any object to the HttpdProperties.
setRemoteAddress(String) - Method in class dfischer.femtowebserver.httpd.HttpdSession
Allows to alternate the remote address of agent (because it has changed: DHCP).
setRemoteAddress(String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Allows to change the TCP/IP remote address of the agent (browser).
setRequest(String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Allows to set a new request file which must include also the full path, but without (optional) CGI parameters.
setRequestTimeout(int) - Method in class dfischer.femtowebserver.httpd.Httpd
Sets the (processing) timeout of an URL request.
setRestrictedMimeMapping() - Method in class dfischer.femtowebserver.httpd.Httpd
Sets restricted MIME mapping (more secure).
setServerName(String) - Method in class dfischer.femtowebserver.httpd.Httpd
Sets the (TCP/IP) HTTP server name.
setServerPort(int) - Method in class dfischer.femtowebserver.httpd.Httpd
Sets the HTTP server port.
setSession(HttpdSession) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Allows to set a HTTP session before the request will be processed by the Femto Web Server.
setSession(HttpdSession) - Method in class dfischer.femtowebserver.httpd.HttpResponse
Allows to set a HTTP session before the request will be processed by the Femto Web Server.
setSessionHashtable(HttpdSessionHashtable) - Method in class dfischer.femtowebserver.httpd.Httpd
Allows to set an own session hashtable.
setStatus(int, String) - Method in class dfischer.femtowebserver.httpd.HttpResponse
Sets the HTTP status code and the HTTP status text.
setTimeZone(String) - Static method in class dfischer.femtowebserver.httpd.Httpd
Sets the time zone for all instances of the Femto Web Server.
setTransientCookie(String, String, String, boolean) - Method in class dfischer.femtowebserver.httpd.HttpResponse
Transfers a new transient (session-) cookie to the agent (browser).
setUserAgent(String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Allows to set a new browser product name and version.
setVirtualHost(String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Allows to set a new name of the TCP/IP host (server) to which the agent (browser) has made the request.
setVirtualPort(int) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Allows to set a non-standard server port number to which the agent (browser) has made the request.
setWelcomePage(String) - Method in class dfischer.femtowebserver.httpd.Httpd
Loads for HTTP requests to the top level default URL "/" to a welcome page (or a welcome Weblet).
shutdown() - Method in class dfischer.femtowebserver.httpd.Httpd
Does a graceful shutdown of a Femto Web Server main thread.
shutdown(HttpdProperties) - Method in class dfischer.femtowebserver.adapter.HttpdSocketConnectionAdapter
 
shutdown(HttpdProperties) - Method in interface dfischer.femtowebserver.httpd.HttpdConnectionAdapterInterface
Closes the connection adapter.
Stdout - class dfischer.femtowebserver.lib.Stdout.
Thread save library for log output to a print stream.

T

TestNoWeblet - class dfischer.femtowebserver.test.TestNoWeblet.
This Weblet example proves, that the Femto Web Server will *NOT* display nor execute java classes with no HttpdWebletInterface.
TestNoWeblet() - Constructor for class dfischer.femtowebserver.test.TestNoWeblet
 
TestWeblet - class dfischer.femtowebserver.test.TestWeblet.
This Weblet example displays the HTML text "This is a Test Weblet".
TestWeblet() - Constructor for class dfischer.femtowebserver.test.TestWeblet
 
TIME_ZONE - Static variable in class dfischer.femtowebserver.lib.ZoneTime
Array[time-zone-description 0 .. time-zone-description n-1][time-zone-ID] of all time zones.
timeZoneToFullString(String) - Static method in class dfischer.femtowebserver.lib.ZoneTime
Translates a time zone ID to its specific text-description

U

updateCookie(String, String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Allows to update the value of a cookie - or adds a new cookie if it doesn't exist.
updateCookieName(String, String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Allows to modify the name of a received cookie.
updateHeaderField(String, String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Allows to replace a HTTP header field value inside the HTTP request header.
updateHeaderField(String, String) - Method in class dfischer.femtowebserver.httpd.HttpResponse
Allows to replace a HTTP header field value inside the HTTP response header.
updateLastAccess(String) - Method in class dfischer.femtowebserver.httpd.HttpdSession
Updates the last access time, increments the access count and updates the remote TCP/IP address of the agent.
updateLastAccess(String, String) - Method in class dfischer.femtowebserver.httpd.HttpdSession
Updates the last access time, increments the access count, updates the remote TCP/IP address of the agent and updates the informational text about the session.
updateLastAccessTime() - Method in class dfischer.femtowebserver.httpd.HttpdSession
Updates the last access time and increments the access count.
updateMimeMapping(String, String) - Method in class dfischer.femtowebserver.httpd.Httpd
Allows to modify the MIME type of an already existing file extension inside the current MIME mapping.
updateParameter(String, String) - Method in class dfischer.femtowebserver.httpd.HttpRequest
Allows to replace a parameter of the HTTP request.

Z

ZoneTime - class dfischer.femtowebserver.lib.ZoneTime.
Library for date and time - supports time zones.

A B C D E F G H I L M P R S T U Z
Femto Web Server V1.4-F

Copyright 2002, 2003, 2006 by Ingenieurbüro David Fischer GmbH, Switzerland. All rights reserved.