Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
P
- parseTime(String) - Static method in class sunlabs.brazil.util.http.HttpUtil
-
Convert a last-modified date in "standard" format into a time stamp.
- passHost - Variable in class sunlabs.brazil.handler.GenericProxyHandler
- patternMap - Variable in class sunlabs.brazil.handler.MapPage
- persist - Variable in class sunlabs.brazil.filter.SessionFilter
- persist - Variable in class sunlabs.brazil.handler.CookieSessionHandler
- PJamaSessionManager - Class in sunlabs.brazil.session
-
Use pJama to implement persistant sessions.
- PJamaSessionManager() - Constructor for class sunlabs.brazil.session.PJamaSessionManager
- PlainFilter - Class in sunlabs.brazil.filter
-
Filter to turn text/plain into html.
- PlainFilter() - Constructor for class sunlabs.brazil.filter.PlainFilter
- PlainTemplate - Class in sunlabs.brazil.sunlabs
-
Template to turn all markup between <plain> and </plain> into ordinary text, by escaping all HTML markup.
- PlainTemplate() - Constructor for class sunlabs.brazil.sunlabs.PlainTemplate
- PollHandler - Class in sunlabs.brazil.handler
-
Handler for periodically polling another web site, whose results are (optionally) added to the server's properties.
- PollHandler() - Constructor for class sunlabs.brazil.handler.PollHandler
- pool - Static variable in class sunlabs.brazil.util.http.HttpRequest
-
The cache of idle sockets.
- port - Variable in class sunlabs.brazil.handler.GenericProxyHandler
- port - Variable in class sunlabs.brazil.util.http.HttpRequest
-
The port extracted from the URL used to construct this
HttpRequest
. - port - Variable in class sunlabs.brazil.util.http.HttpSocket
- PORT - Static variable in class sunlabs.brazil.handler.GenericProxyHandler
-
Handler configuration property port.
- post - Variable in class sunlabs.brazil.handler.PollHandler
- postData - Variable in class sunlabs.brazil.server.Request
-
The uploaded content of this request, usually from a POST.
- prefix - Variable in class sunlabs.brazil.handler.GenericProxyHandler
- prefix - Variable in class sunlabs.brazil.handler.MapPage
- prefix - Variable in class sunlabs.brazil.server.ChainHandler
-
The prefix used to initialize this
ChainHandler
, used for logging. - prefix - Variable in class sunlabs.brazil.server.Server
-
The handler is passed a prefix to identify which items in the properties object are relevent.
- prefix - Variable in class sunlabs.brazil.template.RewriteContext
-
The prefix to use for locating keys in the server or request properties objects.
- prefix() - Method in class sunlabs.brazil.util.MatchString
-
Return our prefix
- PREFIX - Static variable in class sunlabs.brazil.handler.GenericProxyHandler
-
Handler configuration property prefix.
- print(OutputStream) - Method in class sunlabs.brazil.util.http.MimeHeaders
-
Writes this
MimeHeaders
object to the given output stream. - print(PrintStream) - Method in class sunlabs.brazil.util.http.MimeHeaders
-
Writes this
MimeHeaders
object to the given output stream. - process() - Method in class sunlabs.brazil.template.RewriteContext
-
Invoke a template on this token, if any template is interested in this token.
- process(Request, String, String) - Method in class sunlabs.brazil.template.TemplateRunner
-
Process an html template file, using the supplied template processing Return the content of the template just processed, or null if there was no template processed.
- process(RewriteContext) - Method in class sunlabs.brazil.template.TemplateRunner
-
Processes the next token in the HTML document represented by the given
RewriteContext
. - processData(Request) - Method in class sunlabs.brazil.handler.PushHandler
-
process the data - this doesn't currently do anything useful.
- processEvents(Dictionary) - Method in class sunlabs.brazil.asterisk.AsteriskHandler.Events
-
Send the event to all the proper Q's.
- processTemplate(String, Hashtable) - Static method in class sunlabs.brazil.handler.SunNetAuthHandler
-
Process a template page, and send to the client.
- processText(Properties, String) - Method in class sunlabs.brazil.handler.RePollHandler
-
Process the contents as a string through the regular expressions.
- PropertiesCacheManager - Class in sunlabs.brazil.session
-
A version of the CacheManager that saves out any session state that is either a "java properties" object, or implements "Saveable" into a directory in the filesystem, one file per entry, then restores them on server startup.
- PropertiesCacheManager() - Constructor for class sunlabs.brazil.session.PropertiesCacheManager
- PropertiesCacheManager.Saveable - Interface in sunlabs.brazil.session
-
This interface allows for persistence of non-properties session objects.
- PropertiesHandler - Class in sunlabs.brazil.handler
-
Handler for returning selected request properties as a text/plain document in java properties format.
- PropertiesHandler() - Constructor for class sunlabs.brazil.handler.PropertiesHandler
- PropertiesList - Class in sunlabs.brazil.properties
-
A
PropertiesList
instance is intended to be an element of a doubly linked list consisting of otherPropertiesList
instances. - PropertiesList() - Constructor for class sunlabs.brazil.properties.PropertiesList
-
Constructs a new
PropertiesList
object that wraps an empty newProperties
object. - PropertiesList(Dictionary) - Constructor for class sunlabs.brazil.properties.PropertiesList
-
Constructs a new
PropertiesList
object that wraps the inputDictionary
. - PropertiesList(Dictionary, boolean) - Constructor for class sunlabs.brazil.properties.PropertiesList
-
Constructs a new
PropertiesList
object that wraps the inputDictionary
. - propertyNames() - Method in class sunlabs.brazil.properties.PropertiesList
-
Invokes the same method on the wrapped
Properties
object. - propertyNames(String) - Method in class sunlabs.brazil.properties.PropertiesList
-
Returns an
Enumeration
of property names that match aglob
pattern. - props - Variable in class sunlabs.brazil.handler.LogHandler
- props - Variable in class sunlabs.brazil.server.Request
-
A set of properties local to this request.
- props - Variable in class sunlabs.brazil.server.Server
-
Hashtable containing arbitrary information that may be of interest to a Handler.
- propsPrefix - Variable in class sunlabs.brazil.handler.PublishHandler
- PropsTemplate - Class in sunlabs.brazil.template
-
[Deprecated, use the the SetTemplate.]
Template class for substituting request properties into an HTML page. - PropsTemplate() - Constructor for class sunlabs.brazil.template.PropsTemplate
- protocol - Variable in class sunlabs.brazil.server.Request
-
The HTTP protocol specified in the request, either "HTTP/1.0" or "HTTP/1.1".
- protocol - Variable in class sunlabs.brazil.server.Server
-
The protocol used to access this resource.
- proxies - Static variable in class sunlabs.brazil.handler.MultiProxyHandler
-
Holds all proxy -> prefix mappings for this server.
- PROXY_HOST - Static variable in class sunlabs.brazil.handler.GenericProxyHandler
-
Handler configuration property proxyHost.
- PROXY_HOST - Static variable in class sunlabs.brazil.proxy.ProxyHandler
- PROXY_PORT - Static variable in class sunlabs.brazil.handler.GenericProxyHandler
-
Handler configuration property proxyPort.
- PROXY_PORT - Static variable in class sunlabs.brazil.proxy.ProxyHandler
- ProxyHandler - Class in sunlabs.brazil.proxy
-
Handler for implementing a web proxy.
- ProxyHandler() - Constructor for class sunlabs.brazil.proxy.ProxyHandler
- proxyHost - Variable in class sunlabs.brazil.handler.GenericProxyHandler
- proxyHost - Variable in class sunlabs.brazil.proxy.ProxyHandler
-
The proxy server.
- proxyHost - Variable in class sunlabs.brazil.util.http.HttpRequest
-
If non-
null
, sends this HTTP request via the specified proxy host and port. - proxyPort - Variable in class sunlabs.brazil.handler.GenericProxyHandler
- proxyPort - Variable in class sunlabs.brazil.proxy.ProxyHandler
-
The proxy server's port.
- proxyPort - Variable in class sunlabs.brazil.util.http.HttpRequest
-
The proxy port.
- ProxyPropertiesHandler - Class in sunlabs.brazil.handler
-
Obtain properties format content from remote websites, and add it to the current request properties.
- ProxyPropertiesHandler() - Constructor for class sunlabs.brazil.handler.ProxyPropertiesHandler
- PublishHandler - Class in sunlabs.brazil.handler
-
Handler for supporting publishing from Communicator.
- PublishHandler() - Constructor for class sunlabs.brazil.handler.PublishHandler
- pushback() - Method in class sunlabs.brazil.handler.HtmlRewriter
-
Puts the current token back.
- PushHandler - Class in sunlabs.brazil.handler
-
Skeleton Handler for uploading files using multipart/form-data.
- PushHandler() - Constructor for class sunlabs.brazil.handler.PushHandler
- PushHandler.Split - Class in sunlabs.brazil.handler
-
Split multipart data into its constituent pieces.
- put(int, String) - Method in class sunlabs.brazil.util.StringMap
-
Maps the key at the given index to the specified value in this StringMap.
- put(Object) - Method in class sunlabs.brazil.template.QueueTemplate.Queue
-
Put an item on the queue if it's open and not full.
- put(Object, boolean) - Method in class sunlabs.brazil.template.QueueTemplate.Queue
-
Put an item on the queue if it's not full.
- put(Object, Object) - Method in class sunlabs.brazil.properties.PropertiesList
-
Invokes the same method on the wrapped
Dictionary
object. - put(Object, Object) - Method in class sunlabs.brazil.sunlabs.ListTemplate.MyList
-
This is never used; It's required by the interface
- put(Object, Object) - Method in class sunlabs.brazil.sunlabs.XmlTree
- put(Object, Object) - Method in class sunlabs.brazil.util.StringMap
-
Performs the same job as
put(String, String)
. - put(Object, Object, Object) - Static method in class sunlabs.brazil.session.SessionManager
-
put an object into the session manager.
- put(String, int) - Method in class sunlabs.brazil.util.http.MimeHeaders
-
Maps the given case-insensitive key to the specified value in this
MimeHeaders
object, replacing the old value. - put(String, String) - Method in class sunlabs.brazil.handler.HtmlRewriter
-
Maps the given case-insensitive key to the specified value in the current tag's attributes.
- put(String, String) - Method in class sunlabs.brazil.server.TestRequest
- put(String, String) - Method in class sunlabs.brazil.util.StringMap
-
Maps the given case-insensitive key to the specified value in this StringMap.
- putAll(Map) - Method in class sunlabs.brazil.properties.PropertiesList
-
Invokes the same method on the wrapped
Hashtable
object. - putAttribute(String, String) - Method in class sunlabs.brazil.sunlabs.XmlTree.Node
- PutHandler - Class in sunlabs.brazil.sunlabs
-
Simple PUT and DELETE method handler.
- PutHandler() - Constructor for class sunlabs.brazil.sunlabs.PutHandler
- putIfNotPresent(String, String) - Method in class sunlabs.brazil.util.http.MimeHeaders
-
Maps the given case-insensitive key to the specified value if the key does not already exist in this
MimeHeaders
object. - putObj(Object, Object, Object) - Method in class sunlabs.brazil.session.CacheManager
- putObj(Object, Object, Object) - Method in class sunlabs.brazil.session.PJamaSessionManager
-
Return the object associated with this session.
- putObj(Object, Object, Object) - Method in class sunlabs.brazil.session.SessionManager
-
Associates an object with a session id and ident.
- putObj(String, Object) - Method in class sunlabs.brazil.session.CacheManager
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form