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

G

GenericProxyHandler - Class in sunlabs.brazil.handler
Handler for implementing a virtual web site.
GenericProxyHandler() - Constructor for class sunlabs.brazil.handler.GenericProxyHandler
 
genResponseHeader(String, String, String, String, String, String, String) - Static method in class sunlabs.brazil.handler.DigestAuthHandler
Given the "WWW-Authenticate" header value and additional client info, generate the value of the "Authorization" header.
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(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.properties.SubstPropsHandler.SubstProps
If the key doesn't exist, but the "derived" key and value do exist, then return the substituted value
get(Object, Object) - Static method in class sunlabs.brazil.session.SessionManager
get an object from the session manager.
get(Object) - Method in class sunlabs.brazil.sunlabs.ListTemplate.MyList
 
get(Object) - Method in class sunlabs.brazil.sunlabs.XmlTree
Given a node description, return the value, if any.
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(String) - Method in class sunlabs.brazil.template.RewriteContext
overwrite "get" to automatically do ${...} substitutions The default is "true".
get(String, boolean) - Method in class sunlabs.brazil.template.RewriteContext
Get an attribute value, and optionally perform ${...} substitutions.
get(String, String) - Method in class sunlabs.brazil.template.RewriteContext
Get a tag attribute, with a default value.
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(int) - Method in class sunlabs.brazil.util.StringMap
Returns the value at the specified index.
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, String) - Method in class sunlabs.brazil.util.StringMap
Returns the value that the specified case-insensitive key maps to in this StringMap.
get(Object) - Method in class sunlabs.brazil.util.StringMap
Performs the same job as get(String).
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(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.
getContent() - Method in class sunlabs.brazil.util.http.HttpRequest
Return 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.
getCreated() - Method in class sunlabs.brazil.template.QueueTemplate.Queue
Return creation time (ms since epoch).
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 exception sunlabs.brazil.sunlabs.XmlTree.IllegalXmlException
 
getExpires() - Method in class sunlabs.brazil.template.QueueTemplate.Queue
Get the expiration period of the Queue (in ms).
getFile(String) - Static method in class sunlabs.brazil.sunlabs.XmlTree
 
getFile(InputStream) - 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.
getGuidString() - Method in class sunlabs.brazil.util.Guid
Return a GUID as a string.
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
 
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.
getKey(int) - Method in class sunlabs.brazil.util.StringMap
Returns the key at the specified index.
getLocation() - Method in class sunlabs.brazil.util.LexML
Return the current processing location.
getMap() - Method in class sunlabs.brazil.handler.HtmlRewriter
Return a copy of the StringMap of attributes.
getMapper() - Method in class sunlabs.brazil.handler.GenericProxyHandler
Return a reference to our page mapper, to allow futzing with the page maps from the outside
getMimeType(String, Properties, String) - Static method in class sunlabs.brazil.server.FileHandler
Get the mime type based on the suffix of a String.
getName(XmlTree.Node) - Method in class sunlabs.brazil.sunlabs.XmlTree.DefaultNodeName
 
getName(XmlTree.Node) - Method in interface sunlabs.brazil.sunlabs.XmlTree.NodeName
 
getNamespaceProperties() - Method in class sunlabs.brazil.template.RewriteContext
Get the proper properties table based on the "namespace" attribute.
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.
getObj(Object, Object) - Method in class sunlabs.brazil.session.CacheManager
 
getObj(Object, Object) - Method in class sunlabs.brazil.session.PropertiesCacheManager
If we have deferred session loading, check here and get it!
getObj(Object, Object) - Method in class sunlabs.brazil.session.SessionManager
Returns the object associated with the given Session ID and ident.
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.
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(String, String) - Method in class sunlabs.brazil.handler.UrlMapperHandler.MapProperties
 
getProperty(String) - Method in class sunlabs.brazil.handler.UrlMapperHandler.MapProperties
 
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.
getProperty(String) - Method in class sunlabs.brazil.properties.SubstPropsHandler.SubstProps
 
getProperty(String) - Method in class sunlabs.brazil.sunlabs.MiscTemplate.GlobProperties
 
getProperty(String) - Method in class sunlabs.brazil.sunlabs.ValidateTemplate.GlobProperties
 
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.
getQ(String, boolean) - Static method in class sunlabs.brazil.template.QueueTemplate
Return a Q.
getQ(String) - Static method in class sunlabs.brazil.template.QueueTemplate
 
getQueryData(Hashtable) - Method in class sunlabs.brazil.server.Request
Retrieves the query data as a hashtable.
getQueryData() - Method in class sunlabs.brazil.server.Request
Retrieves the query data as a hashtable.
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.
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
getRoot() - Method in class sunlabs.brazil.sunlabs.XmlTree
 
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.
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
 
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 in sunlabs.brazil.util
Glob-style string matching and substring extraction.
Guid - Class in sunlabs.brazil.util
Utility to generate GUID's (Globally Unique Identifiers).
Guid() - Constructor for class sunlabs.brazil.util.Guid
 
A B C D E F G H I J K L M N O P Q R S T U V W X