Uses of Class
sunlabs.brazil.server.Request
Packages that use Request
Package
Description
-
Uses of Request in sunlabs.brazil.asterisk
Methods in sunlabs.brazil.asterisk with parameters of type Request -
Uses of Request in sunlabs.brazil.filter
Methods in sunlabs.brazil.filter with parameters of type RequestModifier and TypeMethodDescriptionbyte[]CopyContentFilter.filter(Request request, MimeHeaders headers, byte[] content) Grab the contents, and save as a file (if file doesn't already exist).byte[]ExecFilter.filter(Request request, MimeHeaders headers, byte[] content) Run content through filter.byte[]Filter.filter(Request request, MimeHeaders headers, byte[] content) Filters the content generated by the wrappedHandler.byte[]MD5Filter.filter(Request request, MimeHeaders headers, byte[] content) Compute digest, add to header.byte[]PlainFilter.filter(Request request, MimeHeaders headers, byte[] content) Wrap html around text/plain, converting it to html.byte[]ReFilter.filter(Request request, MimeHeaders headers, byte[] content) If the content matches the regular expression, do the substitution.byte[]ReplaceFilter.filter(Request request, MimeHeaders headers, byte[] content) Grab the template file name, Read in the file, and deliver it as content.byte[]SessionFilter.filter(Request request, MimeHeaders headers, byte[] content) Rewrite all the url's, adding the session id to the endbyte[]TemplateFilter.filter(Request request, MimeHeaders headers, byte[] content) Evaluates the content as html/XML tags, if the file is (or has now been converted to) "text/html".byte[]UrlMapFilter.filter(Request request, MimeHeaders headers, byte[] content) Rewrite all absolute links, if there are any leftbyte[]UrlSessionFilter.filter(Request request, MimeHeaders headers, byte[] content) Rewrite all the url's, adding the session id to the endbooleanThis is the request object before the content was fetchedbooleanThis is the request object before the content was fetchedbooleanResponds to an HTTP request by the forwarding the request to the wrappedHandlerand filtering the output of thatHandlerbefore sending the output to the client.booleanThis is the request object before the content was fetched.booleanThis is the request object before the content was fetchedbooleanThis is the request object before the content was fetchedbooleanThis is the request object before the content was fetchedbooleanThis is called by the filterHandler before the content generation step.booleanNo action before request is madebooleanThis is the request object before the content was fetchedbooleanExtract the cookie out of the URL, rewriting the url as needed.booleanCopyContentFilter.shouldFilter(Request request, MimeHeaders headers) Watch every document that passes by.booleanExecFilter.shouldFilter(Request request, MimeHeaders headers) Only filter content types that matchbooleanFilter.shouldFilter(Request request, MimeHeaders headers) Gives thisFilterthe chance to examine the HTTP response headers from the wrappedHandler, before the content has been retrieved.booleanMD5Filter.shouldFilter(Request request, MimeHeaders headers) Only filter url's that match.booleanPlainFilter.shouldFilter(Request request, MimeHeaders headers) Only filter text/plain documentsbooleanReFilter.shouldFilter(Request request, MimeHeaders headers) Only filter text documentsbooleanReplaceFilter.shouldFilter(Request request, MimeHeaders headers) Only replace text documentsbooleanSessionFilter.shouldFilter(Request request, MimeHeaders headers) We have the results, only filter if html and we're rewritingbooleanTemplateFilter.shouldFilter(Request request, MimeHeaders headers) Filters all HTML files, or files that are likely to be html files, specifically, those whose "Content-Type" starts with "text/".booleanUrlMapFilter.shouldFilter(Request request, MimeHeaders headers) Only filter text documents if the MultiProxyHandler was calledbooleanUrlSessionFilter.shouldFilter(Request request, MimeHeaders headers) We have the results, only filter if html -
Uses of Request in sunlabs.brazil.handler
Methods in sunlabs.brazil.handler with parameters of type RequestModifier and TypeMethodDescriptionbooleanAuthentication failed.protected ServerSee if the server needs to be restarted.booleanSee if this is one of my requests.byte[]GenericProxyHandler.modifyContent(Request request, byte[] content) Rewrite the links in an html file so they resolve correctly in proxy mode.byte[]ProxyPropertiesHandler.modifyContent(Request request, byte[] content) booleanPushHandler.processData(Request request) process the data - this doesn't currently do anything useful.booleanbooleanLooks up the credentials for this request, and insert them into the request stream.booleanDispatch and handle the CGI request.booleanRun the chain-handler, counting the # of bytes of output generated by its chained handlers.booleanNothing to respond tobooleanExtract the session state into the request object, optionally modifying the properties.booleanbooleanIf the url ends with a "/" look around in the corrosponding directory to find a suitable default file, and then change the url.booleanDispatch to the handler, installing it if neededbooleanPop up a dialog box on the server machine.booleanbooleanDisplay files in a directory, after being rejected by the FileHandler.booleanResponds to an HTTP request by examining the "Host:" request header and dispatching to the main handler of the server that handles that virtual host.booleanIf this is one of "our" url's, fetch the document from the destination server, and return it as if it was local.booleanIf this is a ~user request, modify therootandurlproperties of the request object.booleanDispatch the request to the handler.booleanResponds to an HTTP request by examining the "Host:" request header and dispatching to the main handler of the server that handles that virtual host.booleanbooleanLook for and deliver the "not found" file Look in the current directory first, then in the doc root.booleanThis might allow control over the polling via requests at a later date.booleanIf this is one of our URL's, look through each request property, and selct those that match the Select property.booleanbooleanMake sure this is one of our "PUT" requests.booleanMake sure this is one of our requests.booleanDispatch and handle the request.booleanAllow The url and post data (if any) to be changed.booleanbooleanbooleanbooleanDispatch and handle the request.booleanbooleanbooleanAct like a "gatekeeper".booleanDispatch and handle the request.booleanIf this request matches the expression, rewrite it.booleanEither look for host header, tack on front of url, or modify the "root" propertyvoidSunNetAuthHandler.returnLogin(Request request, String message) return the login page with the appropriate message substituted instatic StringFormat a string. -
Uses of Request in sunlabs.brazil.properties
Methods in sunlabs.brazil.properties with parameters of type RequestModifier and TypeMethodDescriptionbooleanCreates an instance ofExprPropsthat usesrequest.propsfor the wrappedCalculator's symbol table.booleanConstructors in sunlabs.brazil.properties with parameters of type RequestModifierConstructorDescriptionThis constructor creates aCalculatorinstance withrequest.propsas it's symbol table.ExprProps(Request request, Properties defaults) This constructor creates aCalculatorinstance withrequest.propsas it's symbol table and with thePropertiesinstance referenced by the parameterdefaultsas it's set of default values. -
Uses of Request in sunlabs.brazil.proxy
Methods in sunlabs.brazil.proxy with parameters of type RequestModifier and TypeMethodDescriptionstatic StringProxyHandler.dumpHeaders(int count, Request request, MimeHeaders headers, boolean sent) Dump the headers on stderrbyte[]CookieFilter.filter(Request request, MimeHeaders headers, byte[] content) Returns the original content, since this filter does not change content; it changes the headers.byte[]HistoryFilter.filter(Request request, MimeHeaders headers, byte[] content) Returns the original content, since this filter does not change content.booleanbooleanIf theadminprefix is seen, store the history information associated with the session in the request properties.booleanbooleanbooleanHandler http requests - doesn't do anything yetbooleanJunkBusterHandler.sendReplacementImage(Request request) booleanCookieFilter.shouldFilter(Request request, MimeHeaders headers) 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.booleanHistoryFilter.shouldFilter(Request request, MimeHeaders headers) Called when invoked as aFilter. -
Uses of Request in sunlabs.brazil.server
Subclasses of Request in sunlabs.brazil.serverMethods in sunlabs.brazil.server with parameters of type RequestModifier and TypeMethodDescriptionbooleanCalls each of theHandlers in turn until one of them returnstrue.booleanFind, read, and deliver via http the requested file.booleanResponds to an HTTP request.static voidSend a file as a response.voidRequest.HttpOutputStream.sendHeaders(Request request) -
Uses of Request in sunlabs.brazil.session
Methods in sunlabs.brazil.session with parameters of type Request -
Uses of Request in sunlabs.brazil.sunlabs
Methods in sunlabs.brazil.sunlabs with parameters of type RequestModifier and TypeMethodDescriptionbooleanDelay before servicing this request.booleanbooleanbooleanIf we are coming from the machine which is designated as our ssl gateway, then we need to change the protocol to "https" and remap the default port. -
Uses of Request in sunlabs.brazil.template
Fields in sunlabs.brazil.template declared as RequestModifier and TypeFieldDescriptionRewriteContext.requestThe Request object, as passed to a handler's respond method.Methods in sunlabs.brazil.template with parameters of type RequestModifier and TypeMethodDescriptionTemplateHandler.getContent(Request request, File file, String encoding) get the content associated with this template.static voidGenerate properties containing the files and directories in the "current" directory.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.booleanCompute the directory info, and add it to the request properties.booleanChain a SessionManager entries onto the request properties, and optionally allow setting of request props from query parameters.booleanProcess an html template file, using the supplied template processing classes.Constructors in sunlabs.brazil.template with parameters of type RequestModifierConstructorDescriptionRewriteContext(Server server, String prefix, Request request, String content, String sessionId, TemplateRunner runner, Vector templates)