sunlabs.brazil.filter
public class UrlSessionFilter extends Object implements Filter
Note: This fiter has been superceded by the SessionFilter. It is included for illustrative purposes only.
Version: 2.3
| Field Summary | |
|---|---|
| String | session |
| Method Summary | |
|---|---|
| byte[] | filter(Request request, MimeHeaders headers, byte[] content)
Rewrite all the url's, adding the session id to the end |
| boolean | init(Server server, String propsPrefix) |
| boolean | respond(Request request)
Extract the cookie out of the URL, rewriting the url as needed.
|
| boolean | shouldFilter(Request request, MimeHeaders headers)
We have the results, only filter if html |