Tynamo™-SNAP
v1.0.4
A C D F G H I L M N O P R S T U

A

ADInclude - Class in com.qindesign.servlet.example
Provides web access to ADContainer 1-Wire devices.
ADInclude() - Constructor for class com.qindesign.servlet.example.ADInclude
 
AuthenticatedHttpServlet - Class in com.qindesign.servlet
This class is provided to enable servlets to perform authentication.
AuthenticatedHttpServlet() - Constructor for class com.qindesign.servlet.AuthenticatedHttpServlet
 
AuthExampleServlet - Class in com.qindesign.servlet.example
Example of an authenticated servlet.
AuthExampleServlet() - Constructor for class com.qindesign.servlet.example.AuthExampleServlet
 
authorizedService(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.AuthenticatedHttpServlet
This method is the authorized equivalent of the HttpServlet.service(HttpServletRequest, HttpServletResponse) method.

C

clear() - Method in class com.qindesign.servlet.Template
Unsets all the template variables.
com.qindesign.mime - package com.qindesign.mime
Implements a processor for the "multipart" MIME type.
com.qindesign.protocol.mailto - package com.qindesign.protocol.mailto
Provides an implementation of a "mailto" URL protocol handler.
com.qindesign.servlet - package com.qindesign.servlet
Provides classes useful for servlets.
com.qindesign.servlet.example - package com.qindesign.servlet.example
This package contains most of the example servlets.
com.qindesign.snap.http - package com.qindesign.snap.http
This is the main server package.

D

destroy() - Method in class com.qindesign.servlet.example.FamilyCode20Include
Destroys any resources consumed by the init() method.
destroy() - Method in class com.qindesign.servlet.example.FastOneWireServlet
Destroys the servlet.
destroy() - Method in class com.qindesign.servlet.example.OneWireServlet
Destroys any resources consumed by the init() method.
doContainerGet(OneWireContainer, HttpServletRequest, HttpServletResponse, ServletOutputStream) - Method in class com.qindesign.servlet.example.ADInclude
 
doContainerGet(OneWireContainer, HttpServletRequest, HttpServletResponse, ServletOutputStream) - Method in class com.qindesign.servlet.example.FamilyCode20Include
 
doContainerGet(OneWireContainer, HttpServletRequest, HttpServletResponse, ServletOutputStream) - Method in class com.qindesign.servlet.example.OneWireSensorInclude
Performs the include just after printing the header.
doContainerGet(OneWireContainer, HttpServletRequest, HttpServletResponse, ServletOutputStream) - Method in class com.qindesign.servlet.example.PotentiometerInclude
 
doContainerGet(OneWireContainer, HttpServletRequest, HttpServletResponse, ServletOutputStream) - Method in class com.qindesign.servlet.example.SwitchInclude
 
doContainerGet(OneWireContainer, HttpServletRequest, HttpServletResponse, ServletOutputStream) - Method in class com.qindesign.servlet.example.TemperatureInclude
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.AuthExampleServlet
Authorized GET.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.FastOneWireServlet
Process a GET request.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.FileUploadServlet
Calls the POST handler.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.LogViewerServlet
Process a GET request.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.OneWireSensorInclude
Processes a GET request.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.OneWireServlet
Process a GET request.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.RequestInfoServlet
Process a GET request.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.RequestReflectorServlet
Process a GET request.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.ServerPushServlet
Processes a GET request.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.SimpleOneWireServlet
Process a GET request.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.SnapInfoServlet
Process a GET request.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.TemplateDemoServlet
Calls the POST handler.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.ShutdownServlet
Process a GET request.
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.AuthExampleServlet
Authorized POST.
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.FileUploadServlet
Processes a POST request.
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.MultipartViewerServlet
Processes a POST request.
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.OneWireSensorInclude
Processes a POST request.
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.OneWireServlet
Process a POST request.
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.RequestInfoServlet
Process a POST request.
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.RequestReflectorServlet
Process a POST request.
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.TemplateDemoServlet
The POST handler.
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.SendMailServlet
This method will be called when a mail request is posted to this servlet.
doUnauthorizedDelete(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.AuthenticatedHttpServlet
This method is called if the DELETE request was not authenticated.
doUnauthorizedGet(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.AuthenticatedHttpServlet
This method is called if the GET request was not authenticated.
doUnauthorizedGet(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.AuthExampleServlet
Unauthorized GET request.
doUnauthorizedHead(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.AuthenticatedHttpServlet
This method is called if the HEAD request was not authenticated.
doUnauthorizedOptions(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.AuthenticatedHttpServlet
This method is called if the OPTIONS request was not authenticated.
doUnauthorizedPost(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.AuthenticatedHttpServlet
This method is called if the POST request was not authenticated.
doUnauthorizedPost(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.AuthExampleServlet
Unauthorized POST request.
doUnauthorizedPut(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.AuthenticatedHttpServlet
This method is called if the PUT request was not authenticated.
doUnauthorizedTrace(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.AuthenticatedHttpServlet
This method is called if the TRACE request was not authenticated.

F

FamilyCode20Include - Class in com.qindesign.servlet.example
Provides web access to family code 0x20 1-Wire devices (quad A/D converter).
FamilyCode20Include() - Constructor for class com.qindesign.servlet.example.FamilyCode20Include
 
FastOneWireServlet - Class in com.qindesign.servlet.example
Simple 1-Wire servlet that can list adapters and devices, and can also read a device.
FastOneWireServlet() - Constructor for class com.qindesign.servlet.example.FastOneWireServlet
 
FileUploadServlet - Class in com.qindesign.servlet.example
Servlet that can process a file upload from an HTML form.
FileUploadServlet() - Constructor for class com.qindesign.servlet.example.FileUploadServlet
 
flushCache() - Static method in class com.qindesign.servlet.Template
This clears the template cache.

G

get(String) - Method in class com.qindesign.servlet.Template
Gets the value associated with the specified variable.
getAttribute(String) - Method in class com.qindesign.snap.http.ServletHttpServer
 
getAttributeNames() - Method in class com.qindesign.snap.http.ServletHttpServer
 
getContext(String) - Method in class com.qindesign.snap.http.ServletHttpServer
Returns this.
getDefaultScheme(HttpServletRequest) - Method in class com.qindesign.servlet.AuthenticatedHttpServlet
Gets the default authentication scheme.
getHeader(String) - Method in class com.qindesign.mime.Multipart.BodyPart
Gets the header with the specified name.
getHeaderNames() - Method in class com.qindesign.mime.Multipart.BodyPart
Returns an Enumeration of all header names.
getHeaders(String) - Method in class com.qindesign.mime.Multipart.BodyPart
Returns an Enumeration of all header values that are associated with the given name.
getInitParameter(String) - Method in class com.qindesign.snap.http.ServletHttpServer
 
getInitParameterNames() - Method in class com.qindesign.snap.http.ServletHttpServer
 
getInputStream() - Method in class com.qindesign.mime.Multipart.BodyPart
Returns an InputStream suitable for reading the contents of this body part.
getMajorVersion() - Method in class com.qindesign.snap.http.ServletHttpServer
Returns 2.
getMimeType(String) - Method in class com.qindesign.snap.http.ServletHttpServer
 
getMinorVersion() - Method in class com.qindesign.snap.http.ServletHttpServer
Returns 2.
getNamedDispatcher(String) - Method in class com.qindesign.snap.http.ServletHttpServer
This can return null if there was an error initializing an unloaded servlet.
getParameters(String) - Static method in class com.qindesign.mime.Multipart
Returns an Enumeration of the parameters in the given content type.
getPassword(String, String) - Method in class com.qindesign.servlet.AuthenticatedHttpServlet
This method must be implemented.
getPassword(String, String) - Method in class com.qindesign.servlet.example.AuthExampleServlet
Required method.
getPassword(String, String) - Method in class com.qindesign.servlet.ShutdownServlet
Gets the password for the specified user in the given realm.
getProperty(String, HttpServletRequest) - Method in class com.qindesign.servlet.AuthenticatedHttpServlet
Gets a property of the authentication scheme.
getRealm(HttpServletRequest) - Method in class com.qindesign.servlet.AuthenticatedHttpServlet
Users must implement this to find the "realm" of a specific request.
getRealm(HttpServletRequest) - Method in class com.qindesign.servlet.example.AuthExampleServlet
Required method.
getRealm(HttpServletRequest) - Method in class com.qindesign.servlet.ShutdownServlet
The realm is "Shutdown".
getRealPath(String) - Method in class com.qindesign.snap.http.ServletHttpServer
Returns the path if the file is a normal file.
getRequestDispatcher(String) - Method in class com.qindesign.snap.http.ServletHttpServer
Returns null if the path does not start with a '/'.
getResource(String) - Method in class com.qindesign.snap.http.ServletHttpServer
Currently only returns a "file:" URL.
getResourceAsStream(String) - Method in class com.qindesign.snap.http.ServletHttpServer
 
getServlet(String) - Method in class com.qindesign.snap.http.ServletHttpServer
Deprecated.  
getServletNames() - Method in class com.qindesign.snap.http.ServletHttpServer
Deprecated.  
getServlets() - Method in class com.qindesign.snap.http.ServletHttpServer
Deprecated.  
getType(String) - Static method in class com.qindesign.mime.Multipart
Gets the media type portion of the given content type.
getValue(DSPortAdapter, OneWireContainer, HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.example.SimpleOneWireServlet
Retrieves a value from the given container.

H

Handler - Class in com.qindesign.protocol.mailto
A "mailto" protocol handler.
has(String) - Method in class com.qindesign.servlet.Template
Checks if this template has the specified variable.

I

init() - Method in class com.qindesign.servlet.example.FamilyCode20Include
Initializes the servlet by pre-preparing some common HTML.
init() - Method in class com.qindesign.servlet.example.FastOneWireServlet
Initializes the servlet.
init() - Method in class com.qindesign.servlet.example.LogViewerServlet
Find the server and transfer log files.
init() - Method in class com.qindesign.servlet.example.OneWireServlet
Initializes the servlet.
init() - Method in class com.qindesign.servlet.example.SnapInfoServlet
Initializes the servlet.
init() - Method in class com.qindesign.servlet.SendMailServlet
Checks the "mailTo" initialization parameter for the target email address.
instance - Static variable in class com.qindesign.protocol.mailto.Handler
An instance of this "mailto" handler.
isAuthExpired(long, HttpServletRequest) - Method in class com.qindesign.servlet.AuthenticatedHttpServlet
Checks if the authorization is expired for the given request.
isAuthExpired(long, HttpServletRequest) - Method in class com.qindesign.servlet.example.AuthExampleServlet
Checks if the authorization is expired for the given request.
isMultipart(String) - Static method in class com.qindesign.mime.Multipart
Checks if the given content type is multipart.
isSchemeAcceptable(String, HttpServletRequest) - Method in class com.qindesign.servlet.AuthenticatedHttpServlet
Determines if the specified scheme is acceptable for the given request.

L

log(String) - Method in class com.qindesign.snap.http.ServletHttpServer
Logs a message.
log(String, Throwable) - Method in class com.qindesign.snap.http.ServletHttpServer
Logs a string plus a Throwable object.
log(Exception, String) - Method in class com.qindesign.snap.http.ServletHttpServer
Deprecated.  
LogViewerServlet - Class in com.qindesign.servlet.example
Example servlet that can read the server and transfer logs.
LogViewerServlet() - Constructor for class com.qindesign.servlet.example.LogViewerServlet
 

M

Main - Class in com.qindesign.snap.http
Main invoker class.
main(String[]) - Static method in class com.qindesign.snap.http.Main
Main entry point to the Tynamo™-SNAP web server.
Multipart - Class in com.qindesign.mime
Processes multipart messages.
Multipart(InputStream, String) - Constructor for class com.qindesign.mime.Multipart
Creates a new multipart processor.
Multipart.BodyPart - Class in com.qindesign.mime
Represents one body part of a multipart body.
MultipartViewerServlet - Class in com.qindesign.servlet.example
Servlet that can read and process multipart content.
MultipartViewerServlet() - Constructor for class com.qindesign.servlet.example.MultipartViewerServlet
 

N

names() - Method in class com.qindesign.servlet.Template
Returns an enumeration of the variable names in this template.
nextBodyPart() - Method in class com.qindesign.mime.Multipart
Reads the next body part.

O

OneWireSensorInclude - Class in com.qindesign.servlet.example
The purpose of this class is to provide a base-point for handling specific 1-Wire containers that extend from OneWireSensor.
OneWireSensorInclude() - Constructor for class com.qindesign.servlet.example.OneWireSensorInclude
 
OneWireServlet - Class in com.qindesign.servlet.example
Allows the user to explore 1-Wire devices on a system.
OneWireServlet() - Constructor for class com.qindesign.servlet.example.OneWireServlet
 
openConnection(URL) - Method in class com.qindesign.protocol.mailto.Handler
Opens a connection to the object referenced by the URL argument.
output(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.Template
Outputs the template.

P

parse(File) - Static method in class com.qindesign.servlet.Template
Parses a file containing a template.
parse(String) - Static method in class com.qindesign.servlet.Template
Parses a string containing a template.
parseURL(URL, String, int, int) - Method in class com.qindesign.protocol.mailto.Handler
Parses the string representation of a URL into a URL object.
performGC() - Method in class com.qindesign.snap.http.ServletHttpServer
Perform some cleanup.
performShutdown() - Method in class com.qindesign.snap.http.ServletHttpServer
Performs shutdown cleanup.
PotentiometerInclude - Class in com.qindesign.servlet.example
Provides web access to PotentiometerContainer 1-Wire devices.
PotentiometerInclude() - Constructor for class com.qindesign.servlet.example.PotentiometerInclude
 
printDevice(HttpServletRequest, HttpServletResponse, DSPortAdapter, OneWireContainer) - Method in class com.qindesign.servlet.example.FastOneWireServlet
Retrieves a value from the given container.
printErrorMessage(HttpServletResponse, String) - Method in class com.qindesign.servlet.example.FastOneWireServlet
Prints an error message.
printMessage(HttpServletResponse, Object) - Method in class com.qindesign.servlet.example.SimpleOneWireServlet
Prints the output message.

R

removeAttribute(String) - Method in class com.qindesign.snap.http.ServletHttpServer
 
RequestInfoServlet - Class in com.qindesign.servlet.example
Example servlet showing request headers and info.
RequestInfoServlet() - Constructor for class com.qindesign.servlet.example.RequestInfoServlet
 
RequestReflectorServlet - Class in com.qindesign.servlet.example
Example servlet that reflects a request, as the server sees it, back to the client.
RequestReflectorServlet() - Constructor for class com.qindesign.servlet.example.RequestReflectorServlet
 

S

SendMailServlet - Class in com.qindesign.servlet
Example servlet that processes POST requests to mail things.
SendMailServlet() - Constructor for class com.qindesign.servlet.SendMailServlet
 
ServerPushServlet - Class in com.qindesign.servlet.example
Example servlet that shows how to perform "server push".
ServerPushServlet() - Constructor for class com.qindesign.servlet.example.ServerPushServlet
 
service(ServletRequest, ServletResponse) - Method in class com.qindesign.servlet.AuthenticatedHttpServlet
This method is implemented so that it can be prevented from being overridden.
service(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.AuthenticatedHttpServlet
Receives standard HTTP requests from the public service method and dispatches them to the doXXX methods defined in this class.
service(HttpRequest, HttpResponse) - Method in class com.qindesign.snap.http.ServletHttpServer
 
ServletHttpServer - Class in com.qindesign.snap.http
Implements a servlet container.
ServletHttpServer(Properties) - Constructor for class com.qindesign.snap.http.ServletHttpServer
Convenience method that calls ServletHttpServer.ServletHttpServer(Properties, Properties) with a value of null for the second parameter.
ServletHttpServer(Properties, Properties) - Constructor for class com.qindesign.snap.http.ServletHttpServer
Creates a new servlet server.
set(String, String) - Method in class com.qindesign.servlet.Template
Sets a value in the template.
setAttribute(String, Object) - Method in class com.qindesign.snap.http.ServletHttpServer
 
setUnsetVariableHandler(Template.UnsetVariableHandler) - Method in class com.qindesign.servlet.Template
Sets the handler for unset variables.
ShutdownServlet - Class in com.qindesign.servlet
Example servlet that provides a link to the shutdown URL.
ShutdownServlet() - Constructor for class com.qindesign.servlet.ShutdownServlet
 
SimpleOneWireServlet - Class in com.qindesign.servlet.example
Simple servlet that reads from a 1-Wire sensor.
SimpleOneWireServlet() - Constructor for class com.qindesign.servlet.example.SimpleOneWireServlet
 
SnapInfoServlet - Class in com.qindesign.servlet.example
This servlet prints information about the SNAP.
SnapInfoServlet() - Constructor for class com.qindesign.servlet.example.SnapInfoServlet
 
SwitchInclude - Class in com.qindesign.servlet.example
Provides web access to SwitchContainer 1-Wire devices.
SwitchInclude() - Constructor for class com.qindesign.servlet.example.SwitchInclude
 

T

TemperatureInclude - Class in com.qindesign.servlet.example
Provides web access to TemperatureContainer 1-Wire devices.
TemperatureInclude() - Constructor for class com.qindesign.servlet.example.TemperatureInclude
 
Template - Class in com.qindesign.servlet
This class implements a simple template engine for use in servlets.
Template.UnsetVariableHandler - Interface in com.qindesign.servlet
This handler is called for each variable that is not set.
TemplateDemoServlet - Class in com.qindesign.servlet.example
Demonstrates a simple template engine.
TemplateDemoServlet() - Constructor for class com.qindesign.servlet.example.TemplateDemoServlet
 
templateVariable(String, ServletOutputStream, HttpServletRequest, HttpServletResponse) - Method in interface com.qindesign.servlet.Template.UnsetVariableHandler
This is called for each variable that is not set.

U

unauthorizedService(HttpServletRequest, HttpServletResponse) - Method in class com.qindesign.servlet.AuthenticatedHttpServlet
This method is the unauthorized equivalent of the HttpServlet.service(HttpServletRequest, HttpServletResponse) method.

A C D F G H I L M N O P R S T U
Tynamo™-SNAP
v1.0.4

© 2001-2007 Shawn Silverman