A B C D E F G H I J K L M N O P Q R S T U V W X 

S

save(OutputStream, String) - Method in class sunlabs.brazil.properties.PropertiesList
Invokes the same method on the wrapped Properties object.
save(OutputStream, String) - Method in interface sunlabs.brazil.session.PropertiesCacheManager.Saveable
Create an ascii representation of this object in a Java Properties format.
save(OutputStream, String) - Method in class sunlabs.brazil.sunlabs.ListTemplate.MyList
 
save(OutputStream, String) - Method in class sunlabs.brazil.sunlabs.XmlTree
 
sb - Variable in class sunlabs.brazil.handler.HtmlRewriter
Storage holding the resultant HTML document.
ScriptEvalTemplate - Class in sunlabs.brazil.template
Template class for performing ${...} substitutions inside javascript and style tags.
ScriptEvalTemplate() - Constructor for class sunlabs.brazil.template.ScriptEvalTemplate
 
search(String) - Method in class sunlabs.brazil.sunlabs.XmlTree
Find a node in the tree by name, starting at the root.
search(XmlTree.Node, StringTokenizer) - Method in class sunlabs.brazil.sunlabs.XmlTree
Find a node in the tree by name, starting under any node.
send2Q(Dictionary) - Method in class sunlabs.brazil.asterisk.AsteriskHandler.EventItem
Send an event to the q's if there is a match.
sendError(int, String) - Method in class sunlabs.brazil.server.Request
Sends a HTTP error response to the client.
sendError(int, String, String) - Method in class sunlabs.brazil.server.Request
Sends a HTTP error response to the client.
sendFile(Request, File, int, String) - Static method in class sunlabs.brazil.server.FileHandler
Send a file as a response.
sendHeaders(Request) - Method in class sunlabs.brazil.server.Request.HttpOutputStream
 
sendHeaders(int, String, int) - Method in class sunlabs.brazil.server.Request
Sends the HTTP status line and response headers to the client.
sendReplacementImage(Request) - Method in class sunlabs.brazil.proxy.JunkBusterHandler
 
sendResponse(byte[], String) - Method in class sunlabs.brazil.server.Request
Sends an HTTP response to the client.
sendResponse(String, String, int) - Method in class sunlabs.brazil.server.Request
Sends an HTTP response to the client.
sendResponse(String) - Method in class sunlabs.brazil.server.Request
Convenience method that sends an HTTP response to the client with a "Content-Type" of "text/html" and the default HTTP status code.
sendResponse(String, String) - Method in class sunlabs.brazil.server.Request
Convenience method that sends an HTTP response to the client with the default HTTP status code.
sendResponse(InputStream, int, String, int) - Method in class sunlabs.brazil.server.Request
Sends the contents of the given input stream as the HTTP response.
server - Variable in class sunlabs.brazil.server.Request
The server that initiated this request.
Server - Class in sunlabs.brazil.server
Yet another HTTP/1.1 server.
Server(ServerSocket, String, Properties) - Constructor for class sunlabs.brazil.server.Server
Create a server using the provided listener socket.
Server() - Constructor for class sunlabs.brazil.server.Server
Set up the server.
server - Variable in class sunlabs.brazil.template.RewriteContext
The server object, as passed to a handler's init method.
ServerProcess - Class in com.sun.server
This is a wrapper around the native code used by the Java Web Server to set the effective user and group id's on Solaris.
ServerProcess() - Constructor for class com.sun.server.ServerProcess
 
serverProps - Variable in class sunlabs.brazil.server.Request
A PropertiesList object that wraps server.props.
serverProtocol - Variable in class sunlabs.brazil.server.Request
This is the server's protocol.
serverUrl() - Method in class sunlabs.brazil.server.Request
Returns the server's fully-qualified base URL.
session - Variable in class sunlabs.brazil.filter.SessionFilter
 
session - Variable in class sunlabs.brazil.filter.UrlSessionFilter
 
session - Variable in class sunlabs.brazil.handler.BasicAuthHandler
 
session - Variable in class sunlabs.brazil.handler.CookieSessionHandler
 
session - Variable in class sunlabs.brazil.handler.PublishHandler
 
session - Variable in class sunlabs.brazil.proxy.CookieFilter
 
session - Variable in class sunlabs.brazil.proxy.HistoryFilter
 
SessionFilter - Class in sunlabs.brazil.filter
Filter to manage browser sessions using browser cookies or URL rewriting as needed.
SessionFilter() - Constructor for class sunlabs.brazil.filter.SessionFilter
 
sessionId - Variable in class sunlabs.brazil.template.RewriteContext
A unique session id, if available.
SessionManager - Class in sunlabs.brazil.session
The 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.
SessionManager() - Constructor for class sunlabs.brazil.session.SessionManager
 
sessions - Variable in class sunlabs.brazil.session.SessionManager
NOTE: The previous implementation breaks for java > 1.1.
sessionTable - Variable in class sunlabs.brazil.handler.BasicAuthHandler
 
setAttribute(String, String, String) - Method in class sunlabs.brazil.sunlabs.XmlTree
 
setCdata(String) - Method in class sunlabs.brazil.sunlabs.XmlTree.Node
 
setCdata(String, String) - Method in class sunlabs.brazil.sunlabs.XmlTree
 
setClosed(boolean) - Method in class sunlabs.brazil.template.QueueTemplate.Queue
Set the closed state.
setComparator(XmlTree.NodeName) - Method in class sunlabs.brazil.sunlabs.XmlTree
Set the class that determines a node's name.
setDelim(String) - Method in class sunlabs.brazil.sunlabs.ListTemplate.MyList
Set the delimiter for returning ranges.
setDelim(String) - Method in class sunlabs.brazil.sunlabs.XmlTree
set the node delimiter.
setDflt(String) - Method in class sunlabs.brazil.sunlabs.XmlTree
 
setExpires(long) - Method in class sunlabs.brazil.template.QueueTemplate.Queue
Set the expiration period of the Queue (in ms).
setGroup(String) - Static method in class com.sun.server.ServerProcess
 
setGuidImpl(Guid) - Static method in class sunlabs.brazil.util.Guid
Allow global replacement of the GUID generator.
setIdent(String) - Method in class sunlabs.brazil.sunlabs.XmlTree
 
setMap(Hashtable) - Method in class sunlabs.brazil.handler.MapPage
Set the map table for cross-linked sites.
setMethod(String) - Method in class sunlabs.brazil.util.http.HttpRequest
Sets the HTTP method to the specified value.
setModified(Properties, long) - Static method in class sunlabs.brazil.server.FileHandler
Set the "lastModified" request property.
setPrefix(String) - Method in class sunlabs.brazil.handler.MapPage
Change the prefix that will replace the leading "/" in a URL.
setPrefix(String) - Method in class sunlabs.brazil.sunlabs.XmlTree
set the name of this tree
setProperty(String, String) - Method in class sunlabs.brazil.properties.PropertiesList
Invokes the same method on the wrapped Properties object if it exists.
setProxy(String, int) - Method in class sunlabs.brazil.util.http.HttpRequest
Sets the proxy for this request.
setRequestHeader(String, String) - Method in class sunlabs.brazil.util.http.HttpRequest
Sets a request header in the HTTP request that will be issued.
setRewriteState(int) - Method in class sunlabs.brazil.template.RewriteContext
Set the given state of this RewriteContext.
setSessionManager(SessionManager) - Static method in class sunlabs.brazil.session.SessionManager
Installs the given SessionManager object as the default session manager to be invoked when getSession is called.
setSingle(boolean) - Method in class sunlabs.brazil.sunlabs.XmlTree.Node
 
setSingleton(boolean) - Method in class sunlabs.brazil.handler.HtmlRewriter
Make the current tag a singleton.
setStatus(int) - Method in class sunlabs.brazil.server.Request
Sets the status code of the HTTP response.
setStatus(int, String) - Method in class sunlabs.brazil.server.Request
Set the HTTP status code and status phrase of this request.
setTag(String) - Method in class sunlabs.brazil.handler.HtmlRewriter
Changes the current tag's name.
setTag(String) - Method in class sunlabs.brazil.sunlabs.XmlTree
Add an element to the tag process list.
setTags(Hashtable) - Method in class sunlabs.brazil.sunlabs.XmlTree
Set the list of tags to process
SetTemplate - Class in sunlabs.brazil.template
Template (and handler) class for setting and getting values to and from the current (or other) request context.
SetTemplate() - Constructor for class sunlabs.brazil.template.SetTemplate
 
setType(int) - Method in class sunlabs.brazil.handler.HtmlRewriter
Sets the type of the current token.
setup(ServerSocket, String, Properties) - Method in class sunlabs.brazil.server.Server
 
setUser(String) - Static method in class com.sun.server.ServerProcess
 
shouldFilter(Request, MimeHeaders) - Method in class sunlabs.brazil.filter.CopyContentFilter
Watch every document that passes by.
shouldFilter(Request, MimeHeaders) - Method in class sunlabs.brazil.filter.ExecFilter
Only filter content types that match
shouldFilter(Request, MimeHeaders) - Method in interface sunlabs.brazil.filter.Filter
Gives this Filter the chance to examine the HTTP response headers from the wrapped Handler, before the content has been retrieved.
shouldFilter(Request, MimeHeaders) - Method in class sunlabs.brazil.filter.MD5Filter
Only filter url's that match.
shouldFilter(Request, MimeHeaders) - Method in class sunlabs.brazil.filter.PlainFilter
Only filter text/plain documents
shouldFilter(Request, MimeHeaders) - Method in class sunlabs.brazil.filter.ReFilter
Only filter text documents
shouldFilter(Request, MimeHeaders) - Method in class sunlabs.brazil.filter.ReplaceFilter
Only replace text documents
shouldFilter(Request, MimeHeaders) - Method in class sunlabs.brazil.filter.SessionFilter
We have the results, only filter if html and we're rewriting
shouldFilter(Request, MimeHeaders) - Method in class sunlabs.brazil.filter.TemplateFilter
Filters all HTML files, or files that are likely to be html files, specifically, those whose "Content-Type" starts with "text/".
shouldFilter(Request, MimeHeaders) - Method in class sunlabs.brazil.filter.UrlMapFilter
Only filter text documents if the MultiProxyHandler was called
shouldFilter(Request, MimeHeaders) - Method in class sunlabs.brazil.filter.UrlSessionFilter
We have the results, only filter if html
shouldFilter(MimeHeaders) - Method in class sunlabs.brazil.handler.GenericProxyHandler
See if the content needs to be filtered.
shouldFilter(MimeHeaders) - Method in class sunlabs.brazil.handler.ProxyPropertiesHandler
See if the content needs to be filtered Return "true" if "modifyContent" should be called
shouldFilter(Request, MimeHeaders) - Method in class sunlabs.brazil.proxy.CookieFilter
Saves all "Set-Cookie" headers from the target in the client's local storage, then removes those headers before allowing the response to go back to the client.
shouldFilter(Request, MimeHeaders) - Method in class sunlabs.brazil.proxy.HistoryFilter
Called when invoked as a Filter.
SimpleSessionHandler - Class in sunlabs.brazil.handler
Handler for creating browser sessions based on information found in the http request.
SimpleSessionHandler() - Constructor for class sunlabs.brazil.handler.SimpleSessionHandler
 
size() - Method in class sunlabs.brazil.asterisk.AsteriskHandler.EventItem
 
size() - Method in class sunlabs.brazil.properties.PropertiesList
Invokes the same method on the wrapped Dictionary object.
size() - Method in class sunlabs.brazil.sunlabs.ListTemplate.MyList
 
size() - Method in class sunlabs.brazil.sunlabs.XmlTree
 
size() - Method in class sunlabs.brazil.template.QueueTemplate.Queue
How many items are queue'd.
size() - Method in class sunlabs.brazil.util.StringMap
Returns the number of elements in this StringMap.
skipped() - Method in class sunlabs.brazil.util.regexp.Regsub
Returns a substring consisting of all the characters skipped between the end of the last match (or the start of the original search string) and the start of this match.
smtp(String, String, String, String, String, StringMap) - Static method in class sunlabs.brazil.handler.SMTPHandler
Send an email message via smtp - simple version.
smtp(String, String, String, String, String, StringMap, Server) - Static method in class sunlabs.brazil.handler.SMTPHandler
 
SMTPHandler - Class in sunlabs.brazil.handler
Handler (or template) for Sending an email message via SMTP.
SMTPHandler() - Constructor for class sunlabs.brazil.handler.SMTPHandler
 
SnarfTemplate - Class in sunlabs.brazil.sunlabs
Template class for extracting content out of <snarf property=xxx> ...
SnarfTemplate() - Constructor for class sunlabs.brazil.sunlabs.SnarfTemplate
 
snarfTillClose(LexML, String) - Static method in class sunlabs.brazil.template.MacroTemplate
Grab all the markup starting from the current tag until the matching closing tag, and return as a string.
snarfTillClose() - Method in class sunlabs.brazil.template.RewriteContext
Grab all the markup between the current tag, and the corrosponding closing tag.
sock - Variable in class sunlabs.brazil.server.Request
Our connection to the client.
sock - Variable in class sunlabs.brazil.util.http.HttpSocket
 
socketFactory - Static variable in class sunlabs.brazil.util.http.HttpRequest
The factory for constructing new Sockets objects used to connect to remote hosts when issuing HTTP requests.
SocketFactory - Interface in sunlabs.brazil.util
This interface is used as a heap to control the allocation of sockets.
sort() - Method in class sunlabs.brazil.sunlabs.ListTemplate.MyList
 
Sort - Class in sunlabs.brazil.util
Placeholder for useful sorting utilities.
Sort.Compare - Interface in sunlabs.brazil.util
This interface is used by the Sort class to compare elements when an array is being sorted.
SourceTemplate - Class in sunlabs.brazil.sunlabs
Template class for incorporating the content of a local file into the current document.
SourceTemplate() - Constructor for class sunlabs.brazil.sunlabs.SourceTemplate
 
start() - Method in class sunlabs.brazil.handler.PushHandler.Split
return the index into the start of the data for this part
startLine - Variable in class sunlabs.brazil.sunlabs.XmlTree.XmlErrorInfo
 
startMillis - Variable in class sunlabs.brazil.server.Request
Time stamp for start of this request - set, but not used.
startServer(Properties) - Static method in class sunlabs.brazil.server.Main
Start a server using the supplied properties.
startTag - Variable in class sunlabs.brazil.sunlabs.XmlTree.XmlErrorInfo
 
status - Variable in class sunlabs.brazil.util.http.HttpRequest
The status line from the HTTP response.
statusCode - Variable in class sunlabs.brazil.server.Request
 
statusPhrase - Variable in class sunlabs.brazil.server.Request
 
store(OutputStream, String) - Method in class sunlabs.brazil.properties.PropertiesList
Invokes the same method on the wrapped Properties object.
str - Variable in class sunlabs.brazil.util.LexML
 
string(RewriteContext) - Method in class sunlabs.brazil.template.HighlightTemplate
Gets all text between tags - highlighting it appropriately.
STRING - Static variable in class sunlabs.brazil.util.LexML
The value returned by getType for string tokens
StringMap - Class in sunlabs.brazil.util
The StringMap class is a substitute for the Hashtable.
StringMap() - Constructor for class sunlabs.brazil.util.StringMap
Creates an empty StringMap.
stringsValid(boolean) - Method in class sunlabs.brazil.util.Calculator
Normally, variables whose values are "on", "yes", or "true" and converted to "1.0", while the values "off", "no", and "false" are converted to "0.0".
StunnelHandler - Class in sunlabs.brazil.sunlabs
Handler to enable proper interaction with a protocol conversion gateway, by rewriting "redirect" directives properly.
StunnelHandler() - Constructor for class sunlabs.brazil.sunlabs.StunnelHandler
 
sub(String, String) - Method in class sunlabs.brazil.util.regexp.Regexp
Matches a string against a regular expression and replaces the first match with the string generated from the substitution parameter.
sub(String, Regexp.Filter) - Method in class sunlabs.brazil.util.regexp.Regexp
 
subAll(String, String) - Method in class sunlabs.brazil.util.regexp.Regexp
Matches a string against a regular expression and replaces all matches with the string generated from the substitution parameter.
submatch(int) - Method in class sunlabs.brazil.util.regexp.Regsub
Returns a substring consisting of the characters that matched the given parenthesized subexpression during the last call to nextMatch.
subspecs() - Method in class sunlabs.brazil.util.regexp.Regexp
Returns the number of parenthesized subexpressions in this regular expression, plus one more for this expression itself.
subst(Request, String, long) - Static method in class sunlabs.brazil.handler.LogHandler
Format a string.
subst(Dictionary, String) - Static method in class sunlabs.brazil.util.Format
Allow a tag attribute value to contain the value of another property, permitting nested variable substitution in attribute values.
subst(Dictionary, String, boolean) - Static method in class sunlabs.brazil.util.Format
Allow a tag attribute value to contain the value of another property, permitting nested variable substitution in attribute values.
SubstAllTemplate - Class in sunlabs.brazil.sunlabs
Template to substitute ${...} for the value of name/value attribute pairs of all html tags that aren't otherwise accounted for by other templates.
SubstAllTemplate() - Constructor for class sunlabs.brazil.sunlabs.SubstAllTemplate
 
substAttributeValues() - Method in class sunlabs.brazil.template.RewriteContext
Substitute all attribute values.
SubstPropsHandler - Class in sunlabs.brazil.properties
Handler that performs value conversions on ${...} substitutions.
SubstPropsHandler() - Constructor for class sunlabs.brazil.properties.SubstPropsHandler
 
SubstPropsHandler.Convert - Interface in sunlabs.brazil.properties
Class that maps strings to strings.
SubstPropsHandler.Html - Class in sunlabs.brazil.properties
HTML escape a value.
SubstPropsHandler.Html() - Constructor for class sunlabs.brazil.properties.SubstPropsHandler.Html
 
SubstPropsHandler.LowerCase - Class in sunlabs.brazil.properties
Convert a value to lowercase.
SubstPropsHandler.LowerCase() - Constructor for class sunlabs.brazil.properties.SubstPropsHandler.LowerCase
 
SubstPropsHandler.Resub - Class in sunlabs.brazil.properties
Do a regexp substitution on a value.
SubstPropsHandler.Resub() - Constructor for class sunlabs.brazil.properties.SubstPropsHandler.Resub
 
SubstPropsHandler.SubstProps - Class in sunlabs.brazil.properties
This class implements a properties object that knows how to extract the "name" and "filter" from a properly constructed name, and to invoke the filter on the value of the encoded name.
SubstPropsHandler.SubstProps(Request) - Constructor for class sunlabs.brazil.properties.SubstPropsHandler.SubstProps
 
SubstPropsHandler.Url - Class in sunlabs.brazil.properties
URL encode a String.
SubstPropsHandler.Url() - Constructor for class sunlabs.brazil.properties.SubstPropsHandler.Url
 
succeed() - Method in class sunlabs.brazil.handler.RePollHandler.Extract
 
sunlabs.brazil.asterisk - package sunlabs.brazil.asterisk
 
sunlabs.brazil.filter - package sunlabs.brazil.filter
 
sunlabs.brazil.handler - package sunlabs.brazil.handler
 
sunlabs.brazil.properties - package sunlabs.brazil.properties
 
sunlabs.brazil.proxy - package sunlabs.brazil.proxy
 
sunlabs.brazil.server - package sunlabs.brazil.server
 
sunlabs.brazil.session - package sunlabs.brazil.session
 
sunlabs.brazil.sunlabs - package sunlabs.brazil.sunlabs
 
sunlabs.brazil.template - package sunlabs.brazil.template
 
sunlabs.brazil.util - package sunlabs.brazil.util
 
sunlabs.brazil.util.http - package sunlabs.brazil.util.http
 
sunlabs.brazil.util.regexp - package sunlabs.brazil.util.regexp
 
SunNetAuthHandler - Class in sunlabs.brazil.handler
All-in-one Handler for doing supplier.net style authentication.
SunNetAuthHandler() - Constructor for class sunlabs.brazil.handler.SunNetAuthHandler
 
SunProxy - Class in sunlabs.brazil.proxy
Sun Specific implementation of a SocketFactory and proxy-decider that work together to decipher the specifics of the Sun Internet setup.
SunProxy() - Constructor for class sunlabs.brazil.proxy.SunProxy
 
SupplyHandler - Class in sunlabs.brazil.handler
Sample Handler for dispatching different users to different url's based on a special http authentication header.
SupplyHandler() - Constructor for class sunlabs.brazil.handler.SupplyHandler
 
A B C D E F G H I J K L M N O P Q R S T U V W X