|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MimeHeaders | |
---|---|
sunlabs.brazil.filter | |
sunlabs.brazil.handler | |
sunlabs.brazil.proxy | |
sunlabs.brazil.server | |
sunlabs.brazil.util.http |
Uses of MimeHeaders in sunlabs.brazil.filter |
---|
Methods in sunlabs.brazil.filter with parameters of type MimeHeaders | |
---|---|
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[] |
CopyContentFilter.filter(Request request,
MimeHeaders headers,
byte[] content)
Grab the contents, and save as a file (if file doesn't already exist). |
byte[] |
UrlMapFilter.filter(Request request,
MimeHeaders headers,
byte[] content)
Rewrite all absolute links, if there are any left |
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 end |
byte[] |
MD5Filter.filter(Request request,
MimeHeaders headers,
byte[] content)
Compute digest, add to header. |
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[] |
ExecFilter.filter(Request request,
MimeHeaders headers,
byte[] content)
Run content through filter. |
byte[] |
PlainFilter.filter(Request request,
MimeHeaders headers,
byte[] content)
Wrap html around text/plain, converting it to html. |
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 |
CopyContentFilter.shouldFilter(Request request,
MimeHeaders headers)
Watch every document that passes by. |
boolean |
UrlMapFilter.shouldFilter(Request request,
MimeHeaders headers)
Only filter text documents if the MultiProxyHandler was called |
boolean |
ReFilter.shouldFilter(Request request,
MimeHeaders headers)
Only filter text documents |
boolean |
ReplaceFilter.shouldFilter(Request request,
MimeHeaders headers)
Only replace text documents |
boolean |
SessionFilter.shouldFilter(Request request,
MimeHeaders headers)
We have the results, only filter if html and we're rewriting |
boolean |
MD5Filter.shouldFilter(Request request,
MimeHeaders headers)
Only filter url's that match. |
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 |
ExecFilter.shouldFilter(Request request,
MimeHeaders headers)
Only filter content types that match |
boolean |
PlainFilter.shouldFilter(Request request,
MimeHeaders headers)
Only filter text/plain documents |
Uses of MimeHeaders in sunlabs.brazil.handler |
---|
Methods in sunlabs.brazil.handler with parameters of type MimeHeaders | |
---|---|
protected boolean |
ProxyPropertiesHandler.shouldFilter(MimeHeaders headers)
See if the content needs to be filtered Return "true" if "modifyContent" should be called |
protected boolean |
GenericProxyHandler.shouldFilter(MimeHeaders headers)
See if the content needs to be filtered. |
Uses of MimeHeaders in sunlabs.brazil.proxy |
---|
Methods in sunlabs.brazil.proxy that return MimeHeaders | |
---|---|
protected MimeHeaders |
ProxyHandler.rewriteHeaders(MimeHeaders responseHeaders)
Allow sub-classes to rewrite any or all of the target headers, if needed. |
Methods in sunlabs.brazil.proxy with parameters of type MimeHeaders | |
---|---|
static String |
ProxyHandler.dumpHeaders(int count,
Request request,
MimeHeaders headers,
boolean sent)
Dump the headers on stderr |
byte[] |
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. |
protected MimeHeaders |
ProxyHandler.rewriteHeaders(MimeHeaders responseHeaders)
Allow sub-classes to rewrite any or all of the target headers, if needed. |
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. |
boolean |
HistoryFilter.shouldFilter(Request request,
MimeHeaders headers)
Called when invoked as a Filter . |
Uses of MimeHeaders in sunlabs.brazil.server |
---|
Fields in sunlabs.brazil.server declared as MimeHeaders | |
---|---|
MimeHeaders |
Request.headers
The HTTP request headers. |
MimeHeaders |
Request.responseHeaders
The HTTP response headers. |
Uses of MimeHeaders in sunlabs.brazil.util.http |
---|
Fields in sunlabs.brazil.util.http declared as MimeHeaders | |
---|---|
MimeHeaders |
HttpRequest.requestHeaders
The headers for the HTTP request. |
MimeHeaders |
HttpRequest.responseHeaders
The headers that were present in the HTTP response. |
MimeHeaders |
HttpRequest.responseTrailers
An artifact of HTTP/1.1 chunked encoding. |
Methods in sunlabs.brazil.util.http with parameters of type MimeHeaders | |
---|---|
void |
MimeHeaders.copyTo(MimeHeaders other)
Copies the contents of this MimeHeaders object,
adding all the other's keys and values to the other. |
static void |
HttpRequest.removePointToPointHeaders(MimeHeaders headers,
boolean response)
Removes all the point-to-point (hop-by-hop) headers from the given mime headers. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |