Modifier and Type | Method and Description |
---|---|
boolean |
AsteriskHandler.respond(Request request)
The handler only registers * servers.
|
boolean |
AsteriskAGIHandler.respond(Request request)
We don't handle any "normal" requests.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
UrlMapFilter.filter(Request request,
MimeHeaders headers,
byte[] content)
Rewrite all absolute links, if there are any left
|
byte[] |
MD5Filter.filter(Request request,
MimeHeaders headers,
byte[] content)
Compute digest, add to header.
|
byte[] |
UrlSessionFilter.filter(Request request,
MimeHeaders headers,
byte[] content)
Rewrite all the url's, adding the session id to the end
|
byte[] |
Filter.filter(Request request,
MimeHeaders headers,
byte[] content)
Filters the content generated by the wrapped
Handler . |
byte[] |
PlainFilter.filter(Request request,
MimeHeaders headers,
byte[] content)
Wrap html around text/plain, converting it to html.
|
byte[] |
SessionFilter.filter(Request request,
MimeHeaders headers,
byte[] content)
Rewrite all the url's, adding the session id to the end
|
byte[] |
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[] |
ReplaceFilter.filter(Request request,
MimeHeaders headers,
byte[] content)
Grab the template file name, Read in the file, and
deliver it as content.
|
byte[] |
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[] |
ReFilter.filter(Request request,
MimeHeaders headers,
byte[] content)
If the content matches the regular expression, do the substitution.
|
boolean |
UrlMapFilter.respond(Request request)
This is the request object before the content was fetched
|
boolean |
MD5Filter.respond(Request request)
This is the request object before the content was fetched.
|
boolean |
UrlSessionFilter.respond(Request request)
Extract the cookie out of the URL, rewriting the url as needed.
|
boolean |
PlainFilter.respond(Request request)
This is the request object before the content was fetched
|
boolean |
SessionFilter.respond(Request request)
This is called by the filterHandler before the content generation
step.
|
boolean |
TemplateFilter.respond(Request request)
No action before request is made
|
boolean |
FilterHandler.respond(Request request)
Responds to an HTTP request by the forwarding the request to the
wrapped
Handler and filtering the output of that
Handler before sending the output to the client. |
boolean |
ReplaceFilter.respond(Request request)
This is the request object before the content was fetched
|
boolean |
CopyContentFilter.respond(Request request)
This is the request object before the content was fetched
|
boolean |
ExecFilter.respond(Request request)
This is the request object before the content was fetched
|
boolean |
ReFilter.respond(Request request)
This is the request object before the content was fetched
|
boolean |
UrlMapFilter.shouldFilter(Request request,
MimeHeaders headers)
Only filter text documents if the MultiProxyHandler was called
|
boolean |
MD5Filter.shouldFilter(Request request,
MimeHeaders headers)
Only filter url's that match.
|
boolean |
UrlSessionFilter.shouldFilter(Request request,
MimeHeaders headers)
We have the results, only filter if html
|
boolean |
Filter.shouldFilter(Request request,
MimeHeaders headers)
Gives this
Filter the chance to examine the HTTP
response headers from the wrapped Handler , before the
content has been retrieved. |
boolean |
PlainFilter.shouldFilter(Request request,
MimeHeaders headers)
Only filter text/plain documents
|
boolean |
SessionFilter.shouldFilter(Request request,
MimeHeaders headers)
We have the results, only filter if html and we're rewriting
|
boolean |
TemplateFilter.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/".
|
boolean |
ReplaceFilter.shouldFilter(Request request,
MimeHeaders headers)
Only replace text documents
|
boolean |
CopyContentFilter.shouldFilter(Request request,
MimeHeaders headers)
Watch every document that passes by.
|
boolean |
ExecFilter.shouldFilter(Request request,
MimeHeaders headers)
Only filter content types that match
|
boolean |
ReFilter.shouldFilter(Request request,
MimeHeaders headers)
Only filter text documents
|
Modifier and Type | Method and Description |
---|---|
boolean |
BasicAuthHandler.complain(Request request,
java.lang.String reason)
Authentication failed.
|
protected Server |
RestartingMultiHostHandler.doServer(Request request,
Server server)
See if the server needs to be restarted.
|
boolean |
GenericProxyHandler.isMine(Request request)
See 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) |
boolean |
PushHandler.processData(Request request)
process the data - this doesn't currently do anything useful.
|
boolean |
DigestAuthHandler.respond(Request request) |
boolean |
GenericProxyHandler.respond(Request request)
If this is one of "our" url's, fetch the document from
the destination server, and return it as if it was local.
|
boolean |
PollHandler.respond(Request request)
This might allow control over the polling via requests at a later date.
|
boolean |
DynamicConfigHandler.respond(Request request)
Responds to an HTTP request by examining the "Host:" request header
and dispatching to the main handler of the server that handles
that virtual host.
|
boolean |
MultiProxyHandler.respond(Request request) |
boolean |
PropertiesHandler.respond(Request request)
If this is one of our URL's, look through each
request property, and selct those that match the Select
property.
|
boolean |
HomeDirHandler.respond(Request request)
If this is a ~user request, modify the
root and
url properties of the request object. |
boolean |
RePollHandler.respond(Request request)
Allow The url and post data (if any) to be changed.
|
boolean |
PublishHandler.respond(Request request)
Make sure this is one of our "PUT" requests.
|
boolean |
SupplyHandler.respond(Request request)
Dispatch and handle the request.
|
boolean |
ChainSawHandler.respond(Request request)
Run the chain-handler, counting the # of bytes of output generated
by its chained handlers.
|
boolean |
DirectoryHandler.respond(Request request)
Display files in a directory, after being rejected by the
FileHandler.
|
boolean |
DialogHandler.respond(Request request)
Pop up a dialog box on the server machine.
|
boolean |
SMTPHandler.respond(Request request) |
boolean |
PushHandler.respond(Request request)
Make sure this is one of our requests.
|
boolean |
AclSwitchHandler.respond(Request request) |
boolean |
DefaultFileHandler.respond(Request request)
If the url ends with a "/" look around in the corrosponding directory
to find a suitable default file, and then change the url.
|
boolean |
RestrictClientHandler.respond(Request request) |
boolean |
CgiHandler.respond(Request request)
Dispatch and handle the CGI request.
|
boolean |
SunNetAuthHandler.respond(Request request)
Act like a "gatekeeper".
|
boolean |
VirtualHostHandler.respond(Request request)
Either look for host header, tack on front of url,
or modify the "root" property
|
boolean |
MultiHostHandler.respond(Request request)
Responds to an HTTP request by examining the "Host:" request header
and dispatching to the main handler of the server that handles
that virtual host.
|
boolean |
BasicAuthHandler.respond(Request request)
Looks up the credentials for this request, and insert them into the
request stream.
|
boolean |
ProxyPropertiesHandler.respond(Request request) |
boolean |
ReflectHandler.respond(Request request)
Dispatch and handle the request.
|
boolean |
SimpleSessionHandler.respond(Request request) |
boolean |
UrlMapperHandler.respond(Request request)
If this request matches the expression, rewrite it.
|
boolean |
ChownHandler.respond(Request request)
Nothing to respond to
|
boolean |
ResourceLimitHandler.respond(Request request) |
boolean |
RolesHandler.respond(Request request)
Dispatch and handle the request.
|
boolean |
ConfigFileHandler.respond(Request request)
Extract the session state into the request object, optionally
modifying the properties.
|
boolean |
LogHandler.respond(Request request)
Dispatch the request to the handler.
|
boolean |
NotFoundHandler.respond(Request request)
Look for and deliver the "not found" file
Look in the current directory first, then in the doc root.
|
boolean |
CookieSessionHandler.respond(Request request) |
boolean |
ResourceHandler.respond(Request request) |
boolean |
DeferredHandler.respond(Request request)
Dispatch to the handler, installing it if needed
|
void |
SunNetAuthHandler.returnLogin(Request request,
java.lang.String message)
return the login page with the appropriate message substituted in
|
static java.lang.String |
LogHandler.subst(Request request,
java.lang.String format,
long duration)
Format a string.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ExprPropsHandler.respond(Request request)
Creates an instance of
ExprProps that uses
request.props for the wrapped
Calculator 's symbol table. |
boolean |
SubstPropsHandler.respond(Request request) |
Constructor and Description |
---|
ExprProps(Request request)
This constructor creates a
Calculator instance with
request.props as it's symbol table. |
ExprProps(Request request,
java.util.Properties defaults)
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. |
SubstPropsHandler.SubstProps(Request r) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ProxyHandler.dumpHeaders(int count,
Request request,
MimeHeaders headers,
boolean sent)
Dump the headers on stderr
|
byte[] |
HistoryFilter.filter(Request request,
MimeHeaders headers,
byte[] content)
Returns the original content, since this filter does not change
content.
|
byte[] |
CookieFilter.filter(Request request,
MimeHeaders headers,
byte[] content)
Returns the original content, since this filter does not change
content; it changes the headers.
|
boolean |
JunkBusterHandler.respond(Request request) |
boolean |
HistoryFilter.respond(Request request)
If the
admin prefix is seen, store the history
information associated with the session in the request properties. |
boolean |
SunProxy.respond(Request request)
Handler http requests - doesn't do anything yet
|
boolean |
ProxyHandler.respond(Request client) |
boolean |
CookieFilter.respond(Request request) |
boolean |
JunkBusterHandler.sendReplacementImage(Request request) |
boolean |
HistoryFilter.shouldFilter(Request request,
MimeHeaders headers)
Called when invoked as a
Filter . |
boolean |
CookieFilter.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.
|
Modifier and Type | Class and Description |
---|---|
class |
TestRequest
Version of Request for testing purposes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ChainHandler.respond(Request request)
Calls each of the
Handler s in turn until one of them
returns true . |
boolean |
Handler.respond(Request request)
Responds to an HTTP request.
|
boolean |
FileHandler.respond(Request request)
Find, read, and deliver via http the requested file.
|
static void |
FileHandler.sendFile(Request request,
java.io.File file,
int code,
java.lang.String type)
Send a file as a response.
|
void |
Request.HttpOutputStream.sendHeaders(Request request) |
Modifier and Type | Method and Description |
---|---|
boolean |
CacheManager.respond(Request request)
Don't handle any URL requests (yet)
|
boolean |
PropertiesCacheManager.respond(Request request) |
Modifier and Type | Method and Description |
---|---|
boolean |
DelayHandler.respond(Request request)
Delay before servicing this request.
|
boolean |
PutHandler.respond(Request request) |
boolean |
StunnelHandler.respond(Request request)
If 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.
|
boolean |
RestartHandler.respond(Request request) |
Modifier and Type | Field and Description |
---|---|
Request |
RewriteContext.request
The Request object, as passed to a handler's respond method.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
TemplateHandler.getContent(Request request,
java.io.File file,
java.lang.String encoding)
get the content associated with this template.
|
static void |
DirectoryTemplate.getFiles(java.lang.String dir,
java.lang.String glob,
Request request,
java.lang.String prefix)
Generate properties containing the files and directories in
the "current" directory.
|
java.lang.String |
TemplateRunner.process(Request request,
java.lang.String content,
java.lang.String sessionId)
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.
|
boolean |
SetTemplate.respond(Request request)
Chain a SessionManager entries onto the request properties,
and optionally allow setting of request props from query parameters.
|
boolean |
TemplateHandler.respond(Request request)
Process an html template file, using the supplied template
processing classes.
|
boolean |
DirectoryTemplate.respond(Request request)
Compute the directory info, and add it to the request properties.
|
Constructor and Description |
---|
RewriteContext(Server server,
java.lang.String prefix,
Request request,
java.lang.String content,
java.lang.String sessionId,
TemplateRunner runner,
java.util.Vector templates) |