Sun Microsystems Laboratories Experimental Stuff Index (Brazil Project)
A B C D E F G H I J K L M N O P Q R S T U V W X

A

ABORT - Static variable in class sunlabs.brazil.template.BSLTemplate
 
abort() - Method in class sunlabs.brazil.template.RewriteContext
Cause this RewriteContext to abort its processing.
accept() - Method in class sunlabs.brazil.servlet.BServletServerSocket
Dummy method, not implemented.
acceptCount - Variable in class sunlabs.brazil.server.Server
Count of accepted connections so far.
accumulate(boolean) - Method in class sunlabs.brazil.handler.HtmlRewriter
Turns on or off the automatic accumulation of each token.
AclSwitchHandler - class sunlabs.brazil.handler.AclSwitchHandler.
Simple access control hander based on url prefixes or regexps.
AclSwitchHandler() - Constructor for class sunlabs.brazil.handler.AclSwitchHandler
 
add(String, int) - Method in class sunlabs.brazil.util.http.MimeHeaders
Adds a mapping for the given case-insensitive key to the specified value in this MimeHeaders object.
add(String, String) - Method in class sunlabs.brazil.util.StringMap
Maps the given case-insensitive key to the specified value in this StringMap.
addAfter(PropertiesList) - Method in class sunlabs.brazil.properties.PropertiesList
Adds this PropertiesList object into a linked list following the object referenced by the cursor parameter.
addBefore(PropertiesList) - Method in class sunlabs.brazil.properties.PropertiesList
Adds this PropertiesList object into a linked list preceding the object referenced by the cursor parameter.
addChild(XmlTree.Node) - Method in class sunlabs.brazil.sunlabs.XmlTree.Node
 
addClosingTag(String) - Method in class sunlabs.brazil.template.RewriteContext
Add a closing tag to the list of tags that mark un-interpreted text Deal with the tag prefix, if any
addError(int, String, int, String) - Method in class sunlabs.brazil.sunlabs.XmlTree.IllegalXmlException
 
addHeader(String) - Method in class sunlabs.brazil.server.Request
Adds a response header to the HTTP response.
addHeader(String, String) - Method in class sunlabs.brazil.server.Request
Adds a response header to the HTTP response.
addHeaders(String, Properties) - Method in class sunlabs.brazil.util.http.HttpRequest
Convenience method for adding request headers by looking them up in a properties object.
AddHeaderTemplate - class sunlabs.brazil.template.AddHeaderTemplate.
Template class for adding arbitrary mime headers to a reply.
AddHeaderTemplate() - Constructor for class sunlabs.brazil.template.AddHeaderTemplate
 
addMap(MapPage) - Method in class sunlabs.brazil.handler.MultiProxyHandler
this gets called by the parent class.
addMap(MapPage) - Method in class sunlabs.brazil.handler.GenericProxyHandler
for subclassing
addMapEntry(String, String) - Method in class sunlabs.brazil.handler.MapPage
Add or remove an item to the map table
addPatternEntry(String, String) - Method in class sunlabs.brazil.handler.MapPage
Add or remove an item to the pattern table
addSharedProps(Dictionary) - Method in class sunlabs.brazil.server.Request
Adds the given Dictionary to the set of properties that are searched by request.props.getProperty().
addTag(String, String) - Method in class sunlabs.brazil.handler.MapPage
add a tag/attribute pair to the rewrite list.
admin - Variable in class sunlabs.brazil.proxy.HistoryFilter
 
admin - Variable in class sunlabs.brazil.proxy.CookieFilter
 
AllowGtTemplate - class sunlabs.brazil.template.AllowGtTemplate.
Template that changes the behavior of the HTML/XML parser to allow unescaped >'s inside of entity attribute values.
AllowGtTemplate() - Constructor for class sunlabs.brazil.template.AllowGtTemplate
 
append(String) - Method in class sunlabs.brazil.handler.HtmlRewriter
Instead of modifying an existing token, this method allows the user to completely replace the current token with arbitrary new content.
append(String, String) - Method in class sunlabs.brazil.sunlabs.ListTemplate.MyList
Append a list to the end of the named list
appendCdata(String) - Method in class sunlabs.brazil.sunlabs.XmlTree.Node
 
appendToken() - Method in class sunlabs.brazil.handler.HtmlRewriter
Appends the current token to the resultant HTML document.
applySubspec(Regsub, String, StringBuffer) - Static method in class sunlabs.brazil.util.regexp.Regexp
Utility method to give access to the standard substitution algorithm used by sub and subAll.
AsteriskTemplate - class sunlabs.brazil.sunlabs.AsteriskTemplate.
Connect to Asterisk manager api.
AsteriskTemplate() - Constructor for class sunlabs.brazil.sunlabs.AsteriskTemplate
 
auth - Variable in class sunlabs.brazil.proxy.ProxyHandler
The string to send as the value for the "Proxy-Authorization" HTTP header (if needed).
AUTH - Static variable in class sunlabs.brazil.proxy.ProxyHandler
 
authenticate - Variable in class sunlabs.brazil.handler.BasicAuthHandler
 
authorization - Variable in class sunlabs.brazil.handler.BasicAuthHandler
 

B

Base64 - class sunlabs.brazil.util.Base64.
Utility to base64 encode and decode a string.
BasicAuthHandler - class sunlabs.brazil.handler.BasicAuthHandler.
The BasicAuthHandler obtains a Session ID by performing "basic" authentication, using either the "Authorization" or the "Proxy-Authorization" headers.
BasicAuthHandler() - Constructor for class sunlabs.brazil.handler.BasicAuthHandler
 
BeanShellHandler - class sunlabs.brazil.beanshell.BeanShellHandler.
The BeanShellHandler permits handlers to be written in "beanshell".
BeanShellHandler() - Constructor for class sunlabs.brazil.beanshell.BeanShellHandler
 
BeanShellServerTemplate - class sunlabs.brazil.beanshell.BeanShellServerTemplate.
The BeanShellServerTemplate looks for one of the starting tags <server language="beanshell">, <beanshell>, or <bsh> in an HTML page and treats the following data up to the corresponding ending tag ( </server>, </beanshell>, or </bsh>) as a BeanShell script to evaluate.
BeanShellServerTemplate() - Constructor for class sunlabs.brazil.beanshell.BeanShellServerTemplate
 
BeanShellTemplate - class sunlabs.brazil.beanshell.BeanShellTemplate.
Template to define new templates in beanshell, and use them later on in the current session (or page).
BeanShellTemplate() - Constructor for class sunlabs.brazil.beanshell.BeanShellTemplate
 
BrazilServlet - class sunlabs.brazil.servlet.BrazilServlet.
This is the Brazil Toolkit Servlet Adapter.
BrazilServlet() - Constructor for class sunlabs.brazil.servlet.BrazilServlet
 
BREAK - Static variable in class sunlabs.brazil.template.BSLTemplate
 
BServletRequest - class sunlabs.brazil.servlet.BServletRequest.
This is a subclass of Request that is used by BrazilServlet to map servlet style requests and responses to and from Brazil style requests.
BServletRequest.HttpOutputStream - class sunlabs.brazil.servlet.BServletRequest.HttpOutputStream.
An HttpOutputStream that is used by the Brazil Servlet adaptor to add the web application context path to the front of all response URI's so subsequent requests will be mapped to the BrazilServlet's context.
BServletRequest.HttpOutputStream(OutputStream) - Constructor for class sunlabs.brazil.servlet.BServletRequest.HttpOutputStream
 
BServletServerSocket - class sunlabs.brazil.servlet.BServletServerSocket.
This is a special ServerSocket intended for use by the Brazil Servlet Adapter.
BServletServerSocket() - Constructor for class sunlabs.brazil.servlet.BServletServerSocket
Creates a BServletServerSocket object using -1 as a port number.
BServletServerSocket(int) - Constructor for class sunlabs.brazil.servlet.BServletServerSocket
Creates a BServletServerSocket object.
BServletSocket - class sunlabs.brazil.servlet.BServletSocket.
This is a special Socket intended for use by the Brazil Servlet Adapter.
BServletSocket(HttpServletRequest, HttpServletResponse) - Constructor for class sunlabs.brazil.servlet.BServletSocket
Creates a BServletSocket object.
BSLTemplate - class sunlabs.brazil.template.BSLTemplate.
The BSLTemplate takes an HTML document with embedded "BSL" markup tags in it and evaluates those special tags to produce a standard HTML document.
BSLTemplate() - Constructor for class sunlabs.brazil.template.BSLTemplate
 
bufsize - Variable in class sunlabs.brazil.server.Server
Default buffer size for copies to and from client sockets.
BUFSIZE - Static variable in class sunlabs.brazil.handler.ChainSawHandler
 
bytesWritten - Variable in class sunlabs.brazil.server.Request.HttpOutputStream
Count the number of bytes that are written to this stream

C

CacheManager - class sunlabs.brazil.session.CacheManager.
This SessionManager associates an object with a Session ID to give Handlers the ability to maintain state that lasts for the duration of a session instead of just for the duration of a request.
CacheManager() - Constructor for class sunlabs.brazil.session.CacheManager
 
Calculator - class sunlabs.brazil.util.Calculator.
Calculator implements a simple arithmetic expression evaluator.
Calculator() - Constructor for class sunlabs.brazil.util.Calculator
The no argument constructor will create an internal Hashtable in which it looks up and stores values associated with variables.
Calculator(Dictionary) - Constructor for class sunlabs.brazil.util.Calculator
This constructor will use the Dictionary parameter to lookup and store values associated with variables.
cancel - Variable in class sunlabs.brazil.handler.DialogHandler
 
CertHandler - class sunlabs.brazil.ssl.CertHandler.
Handler for issuing A netscape certificate.
CertHandler() - Constructor for class sunlabs.brazil.ssl.CertHandler
 
CgiHandler - class sunlabs.brazil.handler.CgiHandler.
Handler for implementing cgi/1.1 interface.
CgiHandler() - Constructor for class sunlabs.brazil.handler.CgiHandler
 
ChainHandler - class sunlabs.brazil.server.ChainHandler.
Allows multiple handlers to be invoked sequentially for a single HTTP request.
ChainHandler() - Constructor for class sunlabs.brazil.server.ChainHandler
 
ChainSawHandler - class sunlabs.brazil.handler.ChainSawHandler.
Variant of the chain handler for doing standard logging.
ChainSawHandler() - Constructor for class sunlabs.brazil.handler.ChainSawHandler
 
ChangedTemplate - class sunlabs.brazil.template.ChangedTemplate.
This Template adds an icon to HREFs to indicate when the file being referred to is new, changed, or unchanged with respect to the user's session.
ChangedTemplate() - Constructor for class sunlabs.brazil.template.ChangedTemplate
 
checkRewriteState(int) - Method in class sunlabs.brazil.template.RewriteContext
Check whether this RewriteContext is in the specified state.
childCount() - Method in class sunlabs.brazil.sunlabs.XmlTree.Node
 
ChownHandler - class sunlabs.brazil.handler.ChownHandler.
Handler for changing the group and owner of the server.
ChownHandler() - Constructor for class sunlabs.brazil.handler.ChownHandler
 
chunk - Variable in class sunlabs.brazil.sunlabs.ListTemplate.MyList
 
chunks() - Method in class sunlabs.brazil.sunlabs.ListTemplate.MyList
 
chunksize - Variable in class sunlabs.brazil.sunlabs.ListTemplate.MyList
 
clamp(int, int, int) - Static method in class sunlabs.brazil.sunlabs.ListTemplate
Clamp an integer value.
cleanForSerialization(Object) - Static method in class sunlabs.brazil.session.SerialPersist
Recursively decend through an object "Cleaning" it for serialization.
clear() - Method in class sunlabs.brazil.properties.PropertiesList
Invokes the same method on the wrapped Hashtable object.
clear() - Method in class sunlabs.brazil.sunlabs.ListTemplate.MyList
Clear a list.
clear() - Method in class sunlabs.brazil.template.QueueTemplate.Queue
Clear the queue.
clear() - Method in class sunlabs.brazil.util.StringMap
Removes all the keys and values from this StringMap.
ClockFormat - class sunlabs.brazil.util.ClockFormat.
This class implements the "strftime" style clock format command.
ClockFormat() - Constructor for class sunlabs.brazil.util.ClockFormat
 
ClockScan - class sunlabs.brazil.util.ClockScan.
This class implements time and date scanning.
ClockScan() - Constructor for class sunlabs.brazil.util.ClockScan
 
clone() - Method in class sunlabs.brazil.properties.PropertiesList
Invokes the same method on the wrapped Hashtable object.
close() - Method in class sunlabs.brazil.server.Server
Stop the server, and kill all pending requests
close() - Method in class sunlabs.brazil.servlet.BServletServerSocket
Closes this socket.
close() - Method in class sunlabs.brazil.servlet.BServletSocket
Closes this socket.
close() - Method in class sunlabs.brazil.servlet.BServletRequest.HttpOutputStream
Remaps URI's in the buffered HTML content and the writes the result to the response stream.
close() - Method in class sunlabs.brazil.util.http.HttpRequest
Gracefully closes this HTTP request when user is done with it.
close(HttpSocket, boolean) - Method in interface sunlabs.brazil.util.http.HttpSocketPool
Releases an HttpSocket to this pool when it is not in use any more.
code - Variable in class sunlabs.brazil.handler.BasicAuthHandler
 
COMMENT - Static variable in class sunlabs.brazil.util.LexML
The value returned by getType for comment tokens
comment(RewriteContext) - Method in class sunlabs.brazil.template.DeCommentTemplate
 
comment(RewriteContext) - Method in class sunlabs.brazil.template.IncludeTemplate
Treat comments of the form: <!#include ...> as if they were include tags.
compare(Object, int, int) - Method in interface sunlabs.brazil.util.Sort.Compare
Compare two elements in the given array.
complain(Request, String) - Method in class sunlabs.brazil.handler.BasicAuthHandler
Authentication failed.
computeA1(String, String, String) - Static method in class sunlabs.brazil.handler.DigestAuthHandler
Compute the A1 parameter as per the RFC.
ConfigFileHandler - class sunlabs.brazil.handler.ConfigFileHandler.
Handler for manipulating per-user session state that can be represented as ASCII name/value pairs.
ConfigFileHandler() - Constructor for class sunlabs.brazil.handler.ConfigFileHandler
 
connect() - Method in class sunlabs.brazil.util.http.HttpRequest
Connect to the target host (or proxy), send the request, and read the response headers.
connectionHeader - Variable in class sunlabs.brazil.server.Request
The header "Connection" usually controls whether the client connection will be of type "Keep-Alive" or "close".
contains(Object) - Method in class sunlabs.brazil.properties.PropertiesList
Invokes the same method on the wrapped Hashtable object.
containsKey(Object) - Method in class sunlabs.brazil.properties.PropertiesList
Invokes the same method on the wrapped Hashtable object.
content() - Method in class sunlabs.brazil.handler.PushHandler.Split
Get the content as a string
ContentTemplate - class sunlabs.brazil.template.ContentTemplate.
Template class for extracting content out of remote html pages.
ContentTemplate() - Constructor for class sunlabs.brazil.template.ContentTemplate
 
CONTINUE - Static variable in class sunlabs.brazil.template.BSLTemplate
 
convertHtml(String) - Method in class sunlabs.brazil.handler.MapPage
Rewrite all the url's in this document.
convertString(String) - Method in class sunlabs.brazil.handler.MapPage
Rewrite a url inside a tag parameter.
CookieFilter - class sunlabs.brazil.proxy.CookieFilter.
The CookieFilter keeps a record of all the browser cookies associated with a given session.
CookieFilter() - Constructor for class sunlabs.brazil.proxy.CookieFilter
 
cookieName - Variable in class sunlabs.brazil.filter.SessionFilter
 
cookieName - Variable in class sunlabs.brazil.handler.CookieSessionHandler
 
CookieSessionHandler - class sunlabs.brazil.handler.CookieSessionHandler.
Handler for creating browser sessions using cookies.
CookieSessionHandler() - Constructor for class sunlabs.brazil.handler.CookieSessionHandler
 
CopyContentFilter - class sunlabs.brazil.filter.CopyContentFilter.
Filter to save content (of an entire site) to a disk file.
CopyContentFilter() - Constructor for class sunlabs.brazil.filter.CopyContentFilter
 
copyTo(MimeHeaders) - Method in class sunlabs.brazil.util.http.MimeHeaders
Copies the contents of this MimeHeaders object, adding all the other's keys and values to the other.
copyTo(OutputStream) - Method in class sunlabs.brazil.util.http.HttpInputStream
Copies bytes from this input stream to the specified output stream until end of the input stream is reached.
copyTo(OutputStream, int) - Method in class sunlabs.brazil.util.http.HttpInputStream
Copies bytes from this input stream to the specified output stream until the specified number of bytes are copied or the end of the input stream is reached.
copyTo(OutputStream, int, byte[]) - Method in class sunlabs.brazil.util.http.HttpInputStream
Copies bytes from this input stream to the specified output stream until the specified number of bytes are copied or the end of the input stream is reached.
count - Variable in class sunlabs.brazil.handler.MapPage
 
count() - Method in class sunlabs.brazil.template.QueueTemplate.Queue
Return the total number of items Q'd.
currentLine - Variable in class sunlabs.brazil.sunlabs.XmlTree.XmlErrorInfo
 
currentTag - Variable in class sunlabs.brazil.sunlabs.XmlTree.XmlErrorInfo
 

D

DateTemplate - class sunlabs.brazil.sunlabs.DateTemplate.
Template for doing date and time calculations and formatting.
DateTemplate() - Constructor for class sunlabs.brazil.sunlabs.DateTemplate
 
debug - Static variable in class sunlabs.brazil.properties.PropertiesList
Set true to turn on debug output.
debug - Variable in class sunlabs.brazil.template.Template
 
debug - Static variable in class sunlabs.brazil.util.ClockScan
 
debugging - Variable in class sunlabs.brazil.util.Calculator
Set true for debug output.
DebugTemplate - class sunlabs.brazil.template.DebugTemplate.
Template class for printing stuff to stderr (for template debugging).
DebugTemplate() - Constructor for class sunlabs.brazil.template.DebugTemplate
 
decode(String) - Static method in class sunlabs.brazil.util.Base64
A Base64 decoder.
DeCommentTemplate - class sunlabs.brazil.template.DeCommentTemplate.
Template class for removing comments from html pages.
DeCommentTemplate() - Constructor for class sunlabs.brazil.template.DeCommentTemplate
 
decrNestingLevel() - Method in class sunlabs.brazil.template.RewriteContext
Decrement the nesting level counter.
defaultBufsize - Static variable in class sunlabs.brazil.util.http.HttpInputStream
The default size of the temporary buffer used when copying from an input stream to an output stream.
defaultFactory - Static variable in interface sunlabs.brazil.util.SocketFactory
The default socket factory.
DefaultFileHandler - class sunlabs.brazil.handler.DefaultFileHandler.
Handler for appending a url ending with '/' into the appropriate url based on a default file in the file system.
DefaultFileHandler() - Constructor for class sunlabs.brazil.handler.DefaultFileHandler
 
defaultHTTPVersion - Static variable in class sunlabs.brazil.util.http.HttpRequest
The default HTTP version string to send to the remote host when issuing requests.
defaultProxyHost - Static variable in class sunlabs.brazil.util.http.HttpRequest
The default proxy host for HTTP requests.
defaultProxyPort - Static variable in class sunlabs.brazil.util.http.HttpRequest
The default proxy port for HTTP requests.
defaultTag(RewriteContext) - Method in class sunlabs.brazil.beanshell.BeanShellTemplate
if a mapping exists for this tag, run the code
defaultTag(RewriteContext) - Method in class sunlabs.brazil.sunlabs.SubstAllTemplate
 
defaultTag(RewriteContext) - Method in class sunlabs.brazil.template.MacroTemplate
Run the macro, push formal parameters on the stack first.
DeferredHandler - class sunlabs.brazil.handler.DeferredHandler.
Wrap another handler, deferring its initialization until request time.
DeferredHandler() - Constructor for class sunlabs.brazil.handler.DeferredHandler
 
DelayHandler - class sunlabs.brazil.sunlabs.DelayHandler.
Handler or template for adding a delay into a response.
DelayHandler() - Constructor for class sunlabs.brazil.sunlabs.DelayHandler
 
delete(int) - Method in class sunlabs.brazil.sunlabs.ListTemplate.MyList
Remove an element by index.
dequeue(String, int) - Static method in class sunlabs.brazil.template.QueueTemplate
Program access to the Q.
destroy() - Method in class sunlabs.brazil.servlet.BrazilServlet
Called by the servlet container to indicate to a servlet that the servlet is being taken out of service.
DialogHandler - class sunlabs.brazil.handler.DialogHandler.
Sample handler for popping up a dialog box on the server.
DialogHandler() - Constructor for class sunlabs.brazil.handler.DialogHandler
 
DigestAuthHandler - class sunlabs.brazil.handler.DigestAuthHandler.
Perform digest authentication.
DigestAuthHandler() - Constructor for class sunlabs.brazil.handler.DigestAuthHandler
 
DigestTemplate - class sunlabs.brazil.sunlabs.DigestTemplate.
Compute the Base64 encoded SHA1 digest of a value (so I don't have to store plain text passwords).
DigestTemplate() - Constructor for class sunlabs.brazil.sunlabs.DigestTemplate
 
DirectoryHandler - class sunlabs.brazil.handler.DirectoryHandler.
This is a bare-bones handler for providing directory listings for web servers.
DirectoryHandler() - Constructor for class sunlabs.brazil.handler.DirectoryHandler
 
DirectoryTemplate - class sunlabs.brazil.template.DirectoryTemplate.
Put current directory information (based on the URL) into the request properties.
DirectoryTemplate() - Constructor for class sunlabs.brazil.template.DirectoryTemplate
 
disconnect() - Method in class sunlabs.brazil.util.http.HttpRequest
Interrupts this HTTP request.
dismiss(boolean) - Method in class sunlabs.brazil.handler.DialogHandler
 
displayAllHeaders - Static variable in class sunlabs.brazil.util.http.HttpRequest
setting this to "true" causing all http headers to be printed on the standard error stream; useful for debugging client/server interactions.
done(RewriteContext) - Method in class sunlabs.brazil.email.EmailTemplate
If we run off the end of the page, but there is email pending to be sent, send it anyway.
done(RewriteContext) - Method in class sunlabs.brazil.handler.SMTPHandler
If we run off the end of the page, but there is email pending to be sent, send it anyway.
done(RewriteContext) - Method in class sunlabs.brazil.sunlabs.ExpContentTemplate
Run the content through a regexp to do further extraction.
done(RewriteContext) - Method in class sunlabs.brazil.tcl.TclServerTemplate
Called after the HTML document has been processed.
done(RewriteContext) - Method in class sunlabs.brazil.template.ModifiedTemplate
Compute the http last modified value by comparing the origin last-modified value (if any) with the transform value
done(RewriteContext) - Method in class sunlabs.brazil.template.ChangedTemplate
 
done(RewriteContext) - Method in class sunlabs.brazil.template.ContentTemplate
Extract useful properties out of the http mime headers.
done(RewriteContext) - Method in class sunlabs.brazil.template.RedirectTemplate
adjust the response headers to reflect redirection, if supplied.
done(RewriteContext) - Method in class sunlabs.brazil.template.FormTemplate
This is for debugging only !!
done(RewriteContext) - Method in interface sunlabs.brazil.template.TemplateInterface
Called after all tags have been processed, one final chance.
done(RewriteContext) - Method in class sunlabs.brazil.template.Template
Called after all tags have been processed, one final chance.
DRAIN_TIMEOUT - Static variable in class sunlabs.brazil.util.http.HttpRequest
Timeout (in msec) to drain an input stream that has been closed before the entire HTTP response has been read.
dump(boolean, String) - Method in class sunlabs.brazil.properties.PropertiesList
Starting with this object, print the contents of this and succeeding objects that are on the same list as this object is.
DynamicConfigHandler - class sunlabs.brazil.handler.DynamicConfigHandler.
The DynamicConfigHandler allows the user to change the configuration of the server and its handlers on the fly.
DynamicConfigHandler() - Constructor for class sunlabs.brazil.handler.DynamicConfigHandler
 

E

elements() - Method in class sunlabs.brazil.properties.PropertiesList
Invokes the same method on the wrapped Dictionary object.
elements() - Method in class sunlabs.brazil.sunlabs.XmlTree
 
elements() - Method in class sunlabs.brazil.sunlabs.ListTemplate.MyList
Return the actual list items.
elements() - Method in class sunlabs.brazil.util.StringMap
Returns an enumeration of the values in this StringMap.
elements(XmlTree.Node, Vector) - Static method in class sunlabs.brazil.sunlabs.XmlTree
 
EmailTemplate - class sunlabs.brazil.email.EmailTemplate.
The EmailTemplate takes an HTML document with embedded "Email" markup tags in it and evaluates those special tags to produce resulting properties that allow email reading/composing functionality to be embedded within the document.
EmailTemplate() - Constructor for class sunlabs.brazil.email.EmailTemplate
 
encode(byte[]) - Static method in class sunlabs.brazil.util.Base64
base-64 encode a byte array
encode(byte[], int, int) - Static method in class sunlabs.brazil.util.Base64
base-64 encode a byte array
encode(String) - Static method in class sunlabs.brazil.util.Base64
base-64 encode a string
encoding - Variable in class sunlabs.brazil.filter.SessionFilter
 
enqueue(String, String, String, String, boolean, boolean) - Static method in class sunlabs.brazil.template.QueueTemplate
Allow another data to be enqueued from java code.
entrySet() - Method in class sunlabs.brazil.properties.PropertiesList
Invokes the same method on the wrapped Hashtable object.
equals(Object) - Method in class sunlabs.brazil.properties.PropertiesList
Invokes the same method on the wrapped Hashtable object.
errorCount - Variable in class sunlabs.brazil.server.Server
Count of errors that occurred so far.
errors - Variable in class sunlabs.brazil.sunlabs.XmlTree.IllegalXmlException
 
ExecFilter - class sunlabs.brazil.filter.ExecFilter.
Filter to Run all content through an external process filter.
ExecFilter() - Constructor for class sunlabs.brazil.filter.ExecFilter
 
ExecTemplate - class sunlabs.brazil.sunlabs.ExecTemplate.
template to exec a program, and return its arguments into request properties .
ExecTemplate() - Constructor for class sunlabs.brazil.sunlabs.ExecTemplate
 
exitOnError - Variable in class sunlabs.brazil.server.ChainHandler
A flag to require the successfull initialization of all handlers.
ExpContentTemplate - class sunlabs.brazil.sunlabs.ExpContentTemplate.
Allow extracted content to be filtered through regular expressions.
ExpContentTemplate() - Constructor for class sunlabs.brazil.sunlabs.ExpContentTemplate
 
ExprProps - class sunlabs.brazil.properties.ExprProps.
ExprProps is a subclass of Properties that is "smart" in the sense that it wraps a Calculator object, passing get and getProperty keys to the Calculator for processing.
ExprProps() - Constructor for class sunlabs.brazil.properties.ExprProps
This constructor creates a Calculator instance with this instance of ExprProps as it's symbol table.
ExprProps(Properties) - Constructor for class sunlabs.brazil.properties.ExprProps
This constructor creates a Calculator instance with this instance of ExprProps as it's symbol table and with the Properties instance referenced by the parameter defaults as it's set of default values.
ExprProps(Request) - Constructor for class sunlabs.brazil.properties.ExprProps
This constructor creates a Calculator instance with request.props as it's symbol table.
ExprProps(Request, Properties) - Constructor for class sunlabs.brazil.properties.ExprProps
This constructor creates a Calculator instance with request.props as it's symbol table and with the Properties instance referenced by the parameter defaults as it's set of default values.
ExprPropsHandler - class sunlabs.brazil.properties.ExprPropsHandler.
The ExprPropsHandler installs an expression evaluator as a "smart properties" into the current request object, enabling arithmetic and logical expression evaluation in property name lookups.
ExprPropsHandler() - Constructor for class sunlabs.brazil.properties.ExprPropsHandler
 
extract() - Method in class sunlabs.brazil.handler.RePollHandler.Extract
 
extract(Properties, String) - Method in class sunlabs.brazil.handler.RePollHandler.Extract
Do the extraction
extractAuth(String) - Static method in class sunlabs.brazil.handler.DigestAuthHandler
Parse an auth header, placing the results into a Properties object.
extractQuery(String, Dictionary) - Static method in class sunlabs.brazil.util.http.HttpUtil
Turns x-www-form-urlencoded form data into a dictionary.
extractUrlHost(String) - Static method in class sunlabs.brazil.util.http.HttpUtil
Get the host portion of a Url String.
extractUrlPath(String) - Static method in class sunlabs.brazil.util.http.HttpUtil
Get the path portion of a Url String.
extractUrlPort(String) - Static method in class sunlabs.brazil.util.http.HttpUtil
Get the port portion of a Url String as a string.
extractUrlProtocol(String) - Static method in class sunlabs.brazil.util.http.HttpUtil
Get the protocol portion of a Url String.

F

fail() - Method in class sunlabs.brazil.handler.RePollHandler.Extract
 
file - Variable in class sunlabs.brazil.handler.LogHandler
 
file2path(Properties, String, String) - Method in class sunlabs.brazil.template.SetTemplate
Convert a file name into a file object.
FileHandler - class sunlabs.brazil.server.FileHandler.
Standard handler for fetching static files.
FileHandler() - Constructor for class sunlabs.brazil.server.FileHandler
 
fillProps(Properties, HttpRequest) - Method in class sunlabs.brazil.handler.RePollHandler
Fill the properties by extracting fields from the response.
fillProps(Properties, HttpRequest) - Method in class sunlabs.brazil.handler.PollHandler
Fill the properties from the input stream
fillProps(Properties, HttpRequest) - Method in class sunlabs.brazil.tcl.TclRePollHandler
Fill the properties from the input stream
filter - Variable in class sunlabs.brazil.proxy.HistoryFilter
 
Filter - interface sunlabs.brazil.filter.Filter.
The Filter interface is used by the FilterHandler to examine and dynamically rewrite the contents of web pages obtained from some source before returning that page to the client.
filter(Regsub, StringBuffer) - Method in interface sunlabs.brazil.util.regexp.Regexp.Filter
Given the current state of the match, generate the replacement string.
filter(Request, MimeHeaders, byte[]) - Method in class sunlabs.brazil.email.EmailTemplate
 
filter(Request, MimeHeaders, byte[]) - Method in class sunlabs.brazil.filter.UrlMapFilter
Rewrite all absolute links, if there are any left
filter(Request, MimeHeaders, byte[]) - Method in class sunlabs.brazil.filter.MD5Filter
Compute digest, add to header.
filter(Request, MimeHeaders, byte[]) - Method in class sunlabs.brazil.filter.ExecFilter
Run content through filter.
filter(Request, MimeHeaders, byte[]) - Method in class sunlabs.brazil.filter.CopyContentFilter
Grab the contents, and save as a file (if file doesn't already exist).
filter(Request, MimeHeaders, byte[]) - Method in class sunlabs.brazil.filter.ReplaceFilter
Grab the template file name, Read in the file, and deliver it as content.
filter(Request, MimeHeaders, byte[]) - Method in class sunlabs.brazil.filter.SessionFilter
Rewrite all the url's, adding the session id to the end
filter(Request, MimeHeaders, byte[]) - Method in class sunlabs.brazil.filter.UrlSessionFilter
Rewrite all the url's, adding the session id to the end
filter(Request, MimeHeaders, byte[]) - Method in class sunlabs.brazil.filter.TemplateFilter
Evaluates the content as html/XML tags, if the file is (or has now been converted to) "text/html".
filter(Request, MimeHeaders, byte[]) - Method in class sunlabs.brazil.filter.ReFilter
If the content matches the regular expression, do the substitution.
filter(Request, MimeHeaders, byte[]) - Method in class sunlabs.brazil.filter.PlainFilter
Wrap html around text/plain, converting it to html.
filter(Request, MimeHeaders, byte[]) - Method in interface sunlabs.brazil.filter.Filter
Filters the content generated by the wrapped Handler.
filter(Request, MimeHeaders, byte[]) - Method in class sunlabs.brazil.proxy.HistoryFilter
Returns the original content, since this filter does not change content.
filter(Request, MimeHeaders, byte[]) - Method in class sunlabs.brazil.proxy.CookieFilter
Returns the original content, since this filter does not change content; it changes the headers.
filter(Request, MimeHeaders, byte[]) - Method in class sunlabs.brazil.tcl.TclFilter
 
filter(Request, MimeHeaders, byte[]) - Method in class sunlabs.brazil.velocity.VelocityFilter
Execute the BeanShell script if it exists and then process the content as a Velocity template.
FilterHandler - class sunlabs.brazil.filter.FilterHandler.
The FilterHandler captures the output of another Handler and allows the ouput to be modified.
FilterHandler() - Constructor for class sunlabs.brazil.filter.FilterHandler
 
filters - Variable in class sunlabs.brazil.filter.FilterHandler
 
firstTime - Variable in class sunlabs.brazil.util.http.HttpSocket
 
flush - Variable in class sunlabs.brazil.handler.LogHandler
 
FLUSH - Static variable in class sunlabs.brazil.handler.ChainSawHandler
 
format - Variable in class sunlabs.brazil.handler.LogHandler
 
Format - class sunlabs.brazil.util.Format.
Format a string by substituting values into it from a properties object.
Format() - Constructor for class sunlabs.brazil.util.Format
 
format(int, String, String) - Static method in class sunlabs.brazil.util.ClockFormat
Formats a time value based on seconds into a human readable string.
formatTable(Dictionary, String) - Static method in class sunlabs.brazil.handler.ReflectHandler
Turn a hash table into html format.
formatTime() - Static method in class sunlabs.brazil.util.http.HttpUtil
Returns a string containing the current time as an HTTP-formatted date.
formatTime(long) - Static method in class sunlabs.brazil.util.http.HttpUtil
Returns a string containing an HTTP-formatted date.
FormClientTemplate - class sunlabs.brazil.template.FormClientTemplate.
[Deprecated, use the FormTemplate and SetTemplate instead]
SAMPLE Template class for substituting Default values into html forms The data is retrieved from the client, and sent back to the client later on.
FormClientTemplate() - Constructor for class sunlabs.brazil.template.FormClientTemplate
 
FormTemplate - class sunlabs.brazil.template.FormTemplate.
Template class for substituting default values into html forms.
FormTemplate() - Constructor for class sunlabs.brazil.template.FormTemplate
 
frame_1 - Variable in class sunlabs.brazil.handler.DialogHandler
 
from - Variable in class sunlabs.brazil.template.QueueTemplate.QueueItem
 

G

GenericProxyHandler - class sunlabs.brazil.handler.GenericProxyHandler.
Handler for implementing a virtual web site.
GenericProxyHandler() - Constructor for class sunlabs.brazil.handler.GenericProxyHandler
 
get(int) - Method in class sunlabs.brazil.template.QueueTemplate.Queue
Return the next item on the queue, waiting for up to "timeout" seconds or for an interrupt.
get(int) - Method in class sunlabs.brazil.util.StringMap
Returns the value at the specified index.
get(Object) - Method in class sunlabs.brazil.properties.SubstPropsHandler.SubstProps
If the key doesn't exist, but the "derived" key and value do exist, then return the substituted value
get(Object) - Method in class sunlabs.brazil.properties.ExprProps
Returns the value to which the specified key is mapped in this Hashtable.
get(Object) - Method in class sunlabs.brazil.properties.PropertiesList
Invokes the same method on the wrapped Dictionary object.
get(Object) - Method in class sunlabs.brazil.sunlabs.XmlTree
Given a node description, return the value, if any.
get(Object) - Method in class sunlabs.brazil.sunlabs.ListTemplate.MyList
 
get(Object) - Method in class sunlabs.brazil.util.StringMap
Performs the same job as get(String).
get(Object, Object) - Static method in class sunlabs.brazil.session.SessionManager
get an object from the session manager.
get(String) - Method in class sunlabs.brazil.handler.HtmlRewriter
Returns the value that the specified case-insensitive key maps to in the attributes for the current tag.
get(String) - Method in class sunlabs.brazil.template.RewriteContext
overwrite "get" to automatically do ${...} substitutions The default is "true".
get(String) - Method in class sunlabs.brazil.util.StringMap
Returns the value that the specified case-insensitive key maps to in this StringMap.
get(String) - Method in class sunlabs.brazil.velocity.VelocityFilter.Vserver
 
get(String) - Method in class sunlabs.brazil.velocity.VelocityFilter.Vrequest
 
get(String, boolean) - Method in class sunlabs.brazil.template.RewriteContext
Get an attribute value, and optionally perform ${...} substitutions.
get(String, int, boolean) - Method in interface sunlabs.brazil.util.http.HttpSocketPool
Returns an HttpSocket that can be used to communicate with the specified port on the named host.
get(String, String) - Method in class sunlabs.brazil.template.RewriteContext
Get a tag attribute, with a default value.
getArgs() - Method in class sunlabs.brazil.handler.HtmlRewriter
Gets the arguments of the current token as a string.
getArgs() - Method in class sunlabs.brazil.util.LexML
Gets the name/value pairs in the body of the current tag as a string.
getAttribute(String) - Method in class sunlabs.brazil.sunlabs.XmlTree.Node
 
getAttributes() - Method in class sunlabs.brazil.sunlabs.XmlTree.Node
 
getAttributes() - Method in class sunlabs.brazil.util.LexML
Gets the name/value pairs in the body of the current tag as a table.
getBody() - Method in class sunlabs.brazil.handler.HtmlRewriter
Gets the body of the current token as a string.
getBody() - Method in class sunlabs.brazil.util.LexML
Gets the string making up the current token, not including the angle brackets or comment delimiters, if appropriate.
getCdata() - Method in class sunlabs.brazil.sunlabs.XmlTree.Node
 
getChild(int) - Method in class sunlabs.brazil.sunlabs.XmlTree.Node
 
getClosingTags() - Method in class sunlabs.brazil.util.LexHTML
Get the set of HTML tags that have the special body-processing behavior mentioned above.
getContent() - Method in class sunlabs.brazil.util.http.HttpRequest
Return the content as a string.
getContent(Request, File, String) - Method in class sunlabs.brazil.template.TemplateHandler
get the content associated with this template.
getContent(String) - Method in class sunlabs.brazil.util.http.HttpRequest
Get the content as a string.
getContentLength() - Method in class sunlabs.brazil.util.http.HttpRequest
Convenience method to get the "Content-Length" header from the HTTP response.
GetDate(String, Date, String) - Static method in class sunlabs.brazil.util.ClockScan
Scan a human readable date string and construct a Date.
getEncoding() - Method in class sunlabs.brazil.util.http.HttpRequest
 
getError() - Method in class sunlabs.brazil.template.TemplateRunner
Return the last error message generated, or null of no errors have occurred since the last call to "process".
getEx(XmlTree.IllegalXmlException, String, int, String, int, String) - Static method in class sunlabs.brazil.sunlabs.XmlTree.IllegalXmlException
 
getFile(InputStream) - Static method in class sunlabs.brazil.sunlabs.XmlTree
 
getFile(String) - Static method in class sunlabs.brazil.sunlabs.XmlTree
 
getFiles(String, String, Request, String) - Static method in class sunlabs.brazil.template.DirectoryTemplate
Generate properties containing the files and directories in the "current" directory.
getHead() - Method in class sunlabs.brazil.properties.PropertiesList
Returns the PropertiesList object that is the first object on the list of which this object is a member.
getIndex() - Method in class sunlabs.brazil.sunlabs.XmlTree.Node
 
getInetAddress() - Method in class sunlabs.brazil.servlet.BServletServerSocket
Returns the local address to which this socket is bound.
getInetAddress() - Method in class sunlabs.brazil.servlet.BServletSocket
Returns the address to which the socket is connected.
getInputStream() - Method in class sunlabs.brazil.servlet.BServletSocket
Returns an input stream for this socket.
getInputStream() - Method in class sunlabs.brazil.util.http.HttpRequest
Gets an input stream that can be used to read the body of the HTTP response.
getKeepAlive() - Method in class sunlabs.brazil.servlet.BServletSocket
Dummy method, not implemented.
getKey(int) - Method in class sunlabs.brazil.util.StringMap
Returns the key at the specified index.
getLocalAddress() - Method in class sunlabs.brazil.servlet.BServletSocket
Returns the local address to which the socket is bound.
getLocalPort() - Method in class sunlabs.brazil.servlet.BServletServerSocket
Returns the local port to which this socket is bound.
getLocalPort() - Method in class sunlabs.brazil.servlet.BServletSocket
Returns the local port to which this socket is bound.
getLocation() - Method in class sunlabs.brazil.util.LexML
Return the current processing location.
getName(XmlTree.Node) - Method in interface sunlabs.brazil.sunlabs.XmlTree.NodeName
 
getName(XmlTree.Node) - Method in class sunlabs.brazil.sunlabs.XmlTree.DefaultNodeName
 
getNestingLevel() - Method in class sunlabs.brazil.template.RewriteContext
Return the current nesting level counter.
getNext() - Method in class sunlabs.brazil.properties.PropertiesList
Returns the PropertiesList object that succedes this object on the list of which this object is a member.
getOutputStream() - Method in class sunlabs.brazil.servlet.BServletSocket
Returns an output stream for this socket.
getOutputStream() - Method in class sunlabs.brazil.util.http.HttpRequest
Gets an output stream that can be used for uploading data to the host.
getParent() - Method in class sunlabs.brazil.sunlabs.XmlTree.Node
 
getPart(String) - Method in class sunlabs.brazil.sunlabs.XmlTree
Given a node descriptor, return the result.
getPort() - Method in class sunlabs.brazil.servlet.BServletSocket
Returns the remote port to which this socket is connected.
getPrior() - Method in class sunlabs.brazil.properties.PropertiesList
Returns the PropertiesList object that precedes this object on the list of which this object is a member.
getProperty(Properties, String, String) - Static method in class sunlabs.brazil.util.Format
Allow a property name to contain the value of another property, permitting nested variable substitution in attribute values.
getProperty(String) - Method in class sunlabs.brazil.properties.SubstPropsHandler.SubstProps
 
getProperty(String) - Method in class sunlabs.brazil.properties.ExprProps
Searches for the property with the specified key in this property list.
getProperty(String) - Method in class sunlabs.brazil.properties.PropertiesList
Looks up key in the wrapped object.
getProperty(String, String) - Method in class sunlabs.brazil.properties.PropertiesList
Uses getProperty(String) to look up the value associated with the key.
getQ(String) - Static method in class sunlabs.brazil.template.QueueTemplate
Return a Q
getQueryData() - Method in class sunlabs.brazil.server.Request
Retrieves the query data as a hashtable.
getQueryData(Hashtable) - Method in class sunlabs.brazil.server.Request
Retrieves the query data as a hashtable.
getReceiveBufferSize() - Method in class sunlabs.brazil.servlet.BServletSocket
Dummy method, not implemented.
getRegexp() - Method in class sunlabs.brazil.util.regexp.Regsub
Return the regexp used by this regsub.
getRequest() - Method in class sunlabs.brazil.server.Request
Reads an HTTP request from the socket.
getRequest() - Method in class sunlabs.brazil.servlet.BServletRequest
Converts an HTTP request from the form encapsulated in a servlet request object to the form expected by Brazil handlers.
getRequestHeader(String) - Method in class sunlabs.brazil.server.Request
Returns the value that the given case-insensitive key maps to in the HTTP request headers.
getResourceBytes(Properties, String, String) - Static method in class sunlabs.brazil.handler.ResourceHandler
Find a file blob as a resource in our jar file (experimental).
getResourceStream(Properties, String, String) - Static method in class sunlabs.brazil.handler.ResourceHandler
Look for a file in the filesystem.
getResourceString(Properties, String, String) - Static method in class sunlabs.brazil.handler.ResourceHandler
 
getResponseCode() - Method in class sunlabs.brazil.util.http.HttpRequest
Gets the HTTP response status code.
getResponseHeader(String) - Method in class sunlabs.brazil.util.http.HttpRequest
Gets the value associated with the given case-insensitive header name from the HTTP response.
getReuseCount() - Method in class sunlabs.brazil.server.Request
Return uses of this socket
getSendBufferSize() - Method in class sunlabs.brazil.servlet.BServletSocket
Dummy method, not implemented.
getSession(Object, Object, Class) - Static method in class sunlabs.brazil.session.SessionManager
Returns the object associated with the given Session ID.
getSocket() - Method in class sunlabs.brazil.server.Request
The socket from which the HTTP request was received, and to where the HTTP response will be written.
getSoLinger() - Method in class sunlabs.brazil.servlet.BServletSocket
Dummy method, not implemented.
getSoTimeout() - Method in class sunlabs.brazil.servlet.BServletServerSocket
Dummy method, not implemented.
getSoTimeout() - Method in class sunlabs.brazil.servlet.BServletSocket
Dummy method, not implemented.
getStatus() - Method in class sunlabs.brazil.server.Request
Return the status code.
getStatusPhrase(int) - Static method in class sunlabs.brazil.util.http.HttpUtil
Returns the HTTP error string associated with the integer error code.
getString() - Static method in class sunlabs.brazil.util.Guid
Return a GUID as a string.
getString() - Method in class sunlabs.brazil.util.LexML
Return the string we are currently processing
getTag() - Method in class sunlabs.brazil.handler.HtmlRewriter
Gets the current tag's name.
getTag() - Method in class sunlabs.brazil.sunlabs.XmlTree.Node
 
getTag() - Method in class sunlabs.brazil.util.LexHTML
Gets the tag name at the begining of the current tag.
getTag() - Method in class sunlabs.brazil.util.LexML
Gets the tag name at the beginning of the current tag.
getTags() - Method in class sunlabs.brazil.sunlabs.XmlTree
 
getTcpNoDelay() - Method in class sunlabs.brazil.servlet.BServletSocket
Dummy method, not implemented.
getToken() - Method in class sunlabs.brazil.handler.HtmlRewriter
Gets the raw string making up the entire current token, including the angle brackets or comment delimiters, if applicable.
getToken() - Method in class sunlabs.brazil.util.LexML
Gets the string making up the whole current token, including the brackets or comment delimiters, if appropriate.
getType() - Method in class sunlabs.brazil.handler.HtmlRewriter
Gets the type of the current token.
getType() - Method in class sunlabs.brazil.util.LexML
Gets the type of the current token.
getValue(String) - Method in class sunlabs.brazil.util.Calculator
Computes the value of the statement passed in the parameter string and returns a string representation of the result.
getValue(String, Dictionary) - Method in class sunlabs.brazil.util.Calculator
Computes the value of the statement passed in the parameter string and returns a string representation of the result.
getWrapped() - Method in class sunlabs.brazil.properties.PropertiesList
Returns the Dictionary object wrapped by this PropertiesList.
Glob - class sunlabs.brazil.util.Glob.
Glob-style string matching and substring extraction.
GroovyServerTemplate - class sunlabs.brazil.groovy.GroovyServerTemplate.
The GroovyServerTemplate looks for each <groovy> tag in an HTML page and treats the following data up to the next </groovy>) tag as a groovy script to evaluate.
GroovyServerTemplate() - Constructor for class sunlabs.brazil.groovy.GroovyServerTemplate
 
Guid - class sunlabs.brazil.util.Guid.
Utility to generate GUID's (Globally Unique Identifiers).
Guid() - Constructor for class sunlabs.brazil.util.Guid
 

H

handle(Signal) - Method in class sunlabs.brazil.session.SerializableCacheManager
 
handle(Signal) - Method in class sunlabs.brazil.session.SerialPersist
 
handle(Signal) - Method in class sunlabs.brazil.sunlabs.RestartHandler
Restart the server after re-reading the config file
handleEvent(Event) - Method in class sunlabs.brazil.handler.DialogHandler
 
handler - Variable in class sunlabs.brazil.filter.FilterHandler
 
handler - Variable in class sunlabs.brazil.handler.LogHandler
 
handler - Variable in class sunlabs.brazil.server.Server
 
Handler - interface sunlabs.brazil.server.Handler.
The interface for writing HTTP handlers.
handlers - Variable in class sunlabs.brazil.server.ChainHandler
The array of handlers that will be invoked to handle the request.
hashCode() - Method in class sunlabs.brazil.properties.PropertiesList
Invokes the same method on the wrapped Hashtable object.
haveZone(String) - Static method in class sunlabs.brazil.util.ClockFormat
See if a particular timezone is valid
header() - Method in class sunlabs.brazil.handler.PushHandler.Split
Return the header as a string
headers - Variable in class sunlabs.brazil.handler.LogHandler
 
headers - Variable in class sunlabs.brazil.server.Request
The HTTP request headers.
HighlightTemplate - class sunlabs.brazil.template.HighlightTemplate.
Template class for highlighting text that matches a regular expression.
HighlightTemplate() - Constructor for class sunlabs.brazil.template.HighlightTemplate
 
HistoryFilter - class sunlabs.brazil.proxy.HistoryFilter.
The HistoryFilter is both a Handler and a Filter that keeps a record of all pages visited by a given session.
HistoryFilter() - Constructor for class sunlabs.brazil.proxy.HistoryFilter
 
HomeDirHandler - class sunlabs.brazil.handler.HomeDirHandler.
Handler for converting ~username queries.
HomeDirHandler() - Constructor for class sunlabs.brazil.handler.HomeDirHandler
 
host - Variable in class sunlabs.brazil.util.http.HttpSocket
 
host - Variable in class sunlabs.brazil.util.http.HttpRequest
The host extracted from the URL used to construct this HttpRequest.
HOST - Static variable in class sunlabs.brazil.handler.GenericProxyHandler
Handler configuration property host.
hostName - Variable in class sunlabs.brazil.server.Server
The hostname that this Server should use to identify itself in an HTTP Redirect.
htmlEncode(String) - Static method in class sunlabs.brazil.util.http.HttpUtil
Converts a string into a valid HTML fragment.
HtmlRewriter - class sunlabs.brazil.handler.HtmlRewriter.
This class helps with parsing and rewriting an HTML document.
HtmlRewriter(LexHTML) - Constructor for class sunlabs.brazil.handler.HtmlRewriter
Creates a new HtmlRewriter from the given HTML parser.
HtmlRewriter(String) - Constructor for class sunlabs.brazil.handler.HtmlRewriter
Creates a new HtmlRewriter that will operate on the given string.
HttpInputStream - class sunlabs.brazil.util.http.HttpInputStream.
This class is an input stream that provides added methods that are of help when reading the result of an HTTP request.
HttpInputStream(InputStream) - Constructor for class sunlabs.brazil.util.http.HttpInputStream
Creates a new HttpInputStream that reads its input from the specified input stream.
HttpRequest - class sunlabs.brazil.util.http.HttpRequest.
Sends an HTTP request to some target host and gets the answer back.
HttpRequest(String) - Constructor for class sunlabs.brazil.util.http.HttpRequest
Creates a new HttpRequest object that will send an HTTP request to fetch the resource represented by the URL.
HttpRequest(URL) - Constructor for class sunlabs.brazil.util.http.HttpRequest
Creates a new HttpRequest object that will send an HTTP request to fetch the resource represented by the URL.
HttpSocket - class sunlabs.brazil.util.http.HttpSocket.
This class is used as the bag of information kept about a open, idle socket.
HttpSocket(String, int) - Constructor for class sunlabs.brazil.util.http.HttpSocket
 
HttpSocketPool - interface sunlabs.brazil.util.http.HttpSocketPool.
This interface represents a cache of idle sockets.
HttpUtil - class sunlabs.brazil.util.http.HttpUtil.
The HttpUtil class contains methods for performing simple HTTP operations.

I

ID_KEY - Static variable in class sunlabs.brazil.handler.RolesHandler
Handler configuration property SessionID.
ident - Variable in class sunlabs.brazil.handler.CookieSessionHandler
 
ident - Variable in class sunlabs.brazil.handler.BasicAuthHandler
 
in - Variable in class sunlabs.brazil.util.http.HttpSocket
 
IncludeTemplate - class sunlabs.brazil.sunlabs.IncludeTemplate.
Template class for substituting html pages into an html page.
IncludeTemplate - class sunlabs.brazil.template.IncludeTemplate.
Convert the html tag "include" in to text for an included html page.
IncludeTemplate() - Constructor for class sunlabs.brazil.sunlabs.IncludeTemplate
 
IncludeTemplate() - Constructor for class sunlabs.brazil.template.IncludeTemplate
 
incrNestingLevel() - Method in class sunlabs.brazil.template.RewriteContext
Increment the nesting level counter.
indexOf(byte[], int, int, byte[], int, int) - Static method in class sunlabs.brazil.handler.PushHandler
Find the index of dst in src or -1 if not found > This is the byte array equivalent to string.indexOf()
indexOf(byte[], int, int, String) - Static method in class sunlabs.brazil.handler.PushHandler
 
init() - Method in class sunlabs.brazil.handler.DialogHandler
Machine generated code.
init() - Method in class sunlabs.brazil.server.Server
 
init(RewriteContext) - Method in class sunlabs.brazil.beanshell.BeanShellServerTemplate
Called at the beginning of each HTML document that this BeanShellServerTemplate is asked to process.
init(RewriteContext) - Method in class sunlabs.brazil.email.EmailTemplate
 
init(RewriteContext) - Method in class sunlabs.brazil.handler.SMTPHandler
 
init(RewriteContext) - Method in class sunlabs.brazil.javascript.JavaScriptTemplate
Called at the beginning of each HTML document that this JavaScriptTemplate is asked to process.
init(RewriteContext) - Method in class sunlabs.brazil.python.PythonServerTemplate
 
init(RewriteContext) - Method in class sunlabs.brazil.sql.SqlTemplate
 
init(RewriteContext) - Method in class sunlabs.brazil.sunlabs.PlainTemplate
 
init(RewriteContext) - Method in class sunlabs.brazil.sunlabs.ListTemplate
Clear any left-over lists.
init(RewriteContext) - Method in class sunlabs.brazil.sunlabs.ExpContentTemplate
 
init(RewriteContext) - Method in class sunlabs.brazil.sunlabs.SnarfTemplate
Get the debug flag and reset page.
init(RewriteContext) - Method in class sunlabs.brazil.tcl.TclServerTemplate
Defer setting up the interpreter until its first use.
init(RewriteContext) - Method in class sunlabs.brazil.template.AllowGtTemplate
Replace the "default" parser with our modified one.
init(RewriteContext) - Method in class sunlabs.brazil.template.DeCommentTemplate
 
init(RewriteContext) - Method in class sunlabs.brazil.template.MacroTemplate
Read in the inital macros, if needed.
init(RewriteContext) - Method in class sunlabs.brazil.template.DebugTemplate
 
init(RewriteContext) - Method in class sunlabs.brazil.template.MultipartSetTemplate
 
init(RewriteContext) - Method in class sunlabs.brazil.template.SetTemplate
Chain the session-id properties into the request chain, if there are any.
init(RewriteContext) - Method in class sunlabs.brazil.template.HighlightTemplate
This gets called at every page, at the beginning.
init(RewriteContext) - Method in class sunlabs.brazil.template.DirectoryTemplate
Reset at each page
init(RewriteContext) - Method in class sunlabs.brazil.template.