A B C D E F G H I K L M N P R S T U V W

A

A - Static variable in class rabbit.html.TagType
 
AccessFilter - Class in rabbit.filter
This is a class that filters access based on ip adress.
AccessFilter() - Constructor for class rabbit.filter.AccessFilter
 
addArg(String, String) - Method in class rabbit.html.Tag
Add a new key/value Pair to this tag.
addArg(String, String, boolean) - Method in class rabbit.html.Tag
Add a new key/value Pair to this tag.
addBlockListener(BlockListener) - Method in interface rabbit.handler.ResourceSource
Add a ByteBuffer listener.
addBlockListener(BlockListener) - Method in class rabbit.proxy.FileResourceSource
Generally we do not come into this method, but it can happen..
addBlockListener(BlockListener) - Method in class rabbit.proxy.RandomCacheResourceSource
 
addBlockListener(BlockListener) - Method in class rabbit.proxy.WebConnectionResourceSource
 
addCache() - Method in class rabbit.handler.BaseHandler
Set up the cache stream if available.
addCache() - Method in class rabbit.handler.ImageHandler
 
addCurrentConnection(Connection) - Method in class rabbit.proxy.HttpProxy
Add a current connection
addEntry(CacheEntry<K, V>) - Method in interface rabbit.cache.Cache
Insert a CacheEntry into the cache.
addEntry(CacheEntry<K, V>) - Method in class rabbit.cache.NCache
Insert a CacheEntry into the cache.
addHeader(String, String) - Method in class rabbit.http.GeneralHeader
Add a new header.
addHeader(Header) - Method in class rabbit.http.GeneralHeader
Add a new header.
addPageInformation(StringBuilder) - Method in class rabbit.meta.BaseMetaHandler
Add the page information
addPageInformation(StringBuilder) - Method in class rabbit.meta.CacheStatus
 
addPageInformation(StringBuilder) - Method in class rabbit.meta.ClearCache
Add the page information
addPageInformation(StringBuilder) - Method in class rabbit.meta.Connections
Add the page information
addPageInformation(StringBuilder) - Method in class rabbit.meta.Kill
Add the page information
addPageInformation(StringBuilder) - Method in class rabbit.meta.LogRotator
Add the page information
addPageInformation(StringBuilder) - Method in class rabbit.meta.SelectorStatus
Add the page information
addPageInformation(StringBuilder) - Method in class rabbit.meta.StackTrace
Add the page information
addPageInformation(StringBuilder) - Method in class rabbit.meta.Status
Add the page information
Address - Class in rabbit.io
A class to handle the addresses of the connections.
Address(InetAddress, int) - Constructor for class rabbit.io.Address
Create a new Address with given InetAddress and port
addTo(TrafficLogger) - Method in class rabbit.proxy.SimpleTrafficLogger
 
addTo(TrafficLoggerHandler) - Method in class rabbit.proxy.TrafficLoggerHandler
 
addTo(TrafficLogger) - Method in interface rabbit.util.TrafficLogger
Add the current log into the other TrafficLogger.
addToken(Token) - Method in class rabbit.html.HtmlBlock
Add a Token to this block.
AdFilter - Class in rabbit.filter
This class switches advertising images into another image.
AdFilter() - Constructor for class rabbit.filter.AdFilter
 
AdFilter(Connection, HttpHeader, HttpHeader) - Constructor for class rabbit.filter.AdFilter
Create a new AdFilter for the given request, response pair.
ADREPLACER - Static variable in class rabbit.filter.AdFilter
the image we replace ads with
allocateBuffer() - Method in class rabbit.proxy.BaseSocketHandler
 
append(String) - Method in class rabbit.http.Header
 
AsyncListener - Interface in rabbit.proxy
A listener for asynchronous events.

B

B - Static variable in class rabbit.html.TagType
 
BackgroundFilter - Class in rabbit.filter
This class removes background images from html pages.
BackgroundFilter() - Constructor for class rabbit.filter.BackgroundFilter
 
BackgroundFilter(Connection, HttpHeader, HttpHeader) - Constructor for class rabbit.filter.BackgroundFilter
Create a new BackgroundFilter for the given request, response pair.
BaseHandler - Class in rabbit.handler
This class is an implementation of the Handler interface.
BaseHandler() - Constructor for class rabbit.handler.BaseHandler
For creating the factory.
BaseHandler(Connection, TrafficLoggerHandler, HttpHeader, ByteBuffer, HttpHeader, ResourceSource, boolean, boolean, long) - Constructor for class rabbit.handler.BaseHandler
Create a new BaseHandler for the given request.
BaseMetaHandler - Class in rabbit.meta
A base class for meta handlers.
BaseMetaHandler() - Constructor for class rabbit.meta.BaseMetaHandler
 
BaseMetaHandler.PageCompletion - Enum in rabbit.meta
 
BaseSocketHandler - Class in rabbit.proxy
A base class for socket handlers.
BaseSocketHandler(SocketChannel, ByteBuffer, Selector, Logger) - Constructor for class rabbit.proxy.BaseSocketHandler
 
BLINK - Static variable in class rabbit.html.TagType
 
BlinkFilter - Class in rabbit.filter
A filter that removes the blink and /blink tags.
BlinkFilter() - Constructor for class rabbit.filter.BlinkFilter
 
BlinkFilter(Connection, HttpHeader, HttpHeader) - Constructor for class rabbit.filter.BlinkFilter
Create a new BlinkFilter for the given request, response pair.
BlockFilter - Class in rabbit.filter
This is a class that blocks access to certain part of the www.
BlockFilter() - Constructor for class rabbit.filter.BlockFilter
Create a new Blockfilter
BlockListener - Interface in rabbit.handler
A listener for resource data.
BlockSender - Class in rabbit.proxy
A handler that writes data blocks.
BlockSender(SocketChannel, Selector, Logger, TrafficLogger, ByteBuffer, boolean, BlockSentListener) - Constructor for class rabbit.proxy.BlockSender
 
blockSent() - Method in class rabbit.handler.BaseHandler
 
blockSent() - Method in class rabbit.handler.GZipHandler
 
blockSent() - Method in class rabbit.meta.BaseMetaHandler
 
blockSent() - Method in interface rabbit.proxy.BlockSentListener
The http header has been sent.
blockSent() - Method in class rabbit.proxy.HttpHeaderSender
 
BlockSentListener - Interface in rabbit.proxy
A listener for notification that a data block has been sent.
BODY - Static variable in class rabbit.html.TagType
 
BodyFilter - Class in rabbit.filter
A class that inserts some text and links at the top of a page.
BodyFilter() - Constructor for class rabbit.filter.BodyFilter
 
BodyFilter(Connection, HttpHeader, HttpHeader) - Constructor for class rabbit.filter.BodyFilter
Create a new BodyFilter for the given request, response pair.
BR - Static variable in class rabbit.html.TagType
 
buffer - Variable in class rabbit.proxy.BaseSocketHandler
The current read buffer.
buffer - Variable in class rabbit.proxy.FileResourceSource
 
bufferRead(ByteBuffer) - Method in class rabbit.handler.BaseHandler
 
bufferRead(ByteBuffer) - Method in interface rabbit.handler.BlockListener
A buffer has been read, the buffer has been flip:ed before this call is made so position and remaining are valid.
bufferRead(ByteBuffer) - Method in class rabbit.handler.GZipHandler
 
bufferRead(ByteBuffer) - Method in class rabbit.handler.MultiPartHandler
 
buildAndSendData() - Method in class rabbit.meta.BaseMetaHandler
 

C

Cache<K,V> - Interface in rabbit.cache
A cache, mostly works like a map in lookup, insert and delete.
cacheChannel - Variable in class rabbit.handler.BaseHandler
The cache channel.
CacheEntry<K,V> - Interface in rabbit.cache
A cached object.
CacheResourceSource - Class in rabbit.proxy
A resource that comes from the cache.
CacheResourceSource(Cache<HttpHeader, HttpHeader>, CacheEntry<HttpHeader, HttpHeader>, TaskRunner) - Constructor for class rabbit.proxy.CacheResourceSource
 
CacheStatus - Class in rabbit.meta
A cache inspector.
CacheStatus() - Constructor for class rabbit.meta.CacheStatus
 
changesContentSize() - Method in class rabbit.handler.BaseHandler
®return false this handler never modifies the content.
changesContentSize() - Method in class rabbit.handler.GZipHandler
®return true this handler modifies the content.
changesContentSize() - Method in interface rabbit.handler.Handler
Check if this handler will change the content size.
changesContentSize() - Method in class rabbit.handler.ImageHandler
®return true this handler modifies the content.
changesContentSize() - Method in class rabbit.handler.MultiPartHandler
We may remove trailers, so we may modify the content.
channel - Variable in class rabbit.proxy.BaseSocketHandler
The client channel.
checkAccess(SocketChannel) - Method in class rabbit.proxy.SocketAccessController
 
ChunkEnder - Class in rabbit.proxy
A class that sends the chunk ending (with an empty footer).
ChunkEnder() - Constructor for class rabbit.proxy.ChunkEnder
 
cleanup() - Method in class rabbit.meta.BaseMetaHandler
 
clear() - Method in interface rabbit.cache.Cache
Clear the Cache from files.
clear() - Method in class rabbit.cache.NCache
Clear the Cache from files.
clear() - Method in class rabbit.proxy.SimpleTrafficLogger
 
clear() - Method in class rabbit.proxy.TrafficLoggerHandler
 
clear() - Method in interface rabbit.util.TrafficLogger
Clear the current log.
ClearCache - Class in rabbit.meta
Clears the cache completely
ClearCache() - Constructor for class rabbit.meta.ClearCache
 
clientBuffer - Variable in class rabbit.handler.BaseHandler
The client buffer.
clientResourceAborted(HttpHeader) - Method in interface rabbit.proxy.ClientResourceTransferredListener
The transfer of the client resource has been aborted.
clientResourceAborted(HttpHeader) - Method in class rabbit.proxy.SWC
 
ClientResourceHandler - Interface in rabbit.proxy
A client resource handler
clientResourceTransferred() - Method in interface rabbit.proxy.ClientResourceTransferredListener
The client resource have been successfully transferred.
clientResourceTransferred() - Method in class rabbit.proxy.SWC
 
ClientResourceTransferredListener - Interface in rabbit.proxy
A listener for resource transfers.
close() - Method in class rabbit.io.WebConnection
 
close() - Method in class rabbit.proxy.ProxyLogger
Close down this logger.
closed() - Method in interface rabbit.proxy.HttpHeaderListener
The other end closed the connection.
closed() - Method in class rabbit.proxy.HttpResponseReader
 
closed() - Method in class rabbit.proxy.SWC
 
closeDown() - Method in class rabbit.proxy.BaseSocketHandler
 
Coder - Class in rabbit.util
This class encodes/decodes stuff to/from the web.
COMMENT - Static variable in class rabbit.html.HtmlParser
A HTML comment "<!-- some text -->"
compress - Variable in class rabbit.handler.GZipHandler
 
con - Variable in class rabbit.filter.HtmlFilter
The Connection handling the request.
con - Variable in class rabbit.handler.BaseHandler
The Connection handling the request.
con - Variable in class rabbit.meta.BaseMetaHandler
 
Config - Class in rabbit.util
a class to handle configs for different things.
Config() - Constructor for class rabbit.util.Config
create an empty Config (has only section "" with no data in it)
Config(String) - Constructor for class rabbit.util.Config
Create a Config for the specified file
Config(File) - Constructor for class rabbit.util.Config
Create a Config for the specified file
Config(InputStream) - Constructor for class rabbit.util.Config
Create a Config by reading it from a stream.
Config(Reader) - Constructor for class rabbit.util.Config
Create a Config by reading it from a reader.
connect(Selector, WebConnectionListener) - Method in class rabbit.io.WebConnection
 
Connection - Class in rabbit.proxy
The base connection class for rabbit.
Connection(ConnectionId, SocketChannel, Selector, HttpProxy) - Constructor for class rabbit.proxy.Connection
 
connectionEstablished(WebConnection) - Method in interface rabbit.io.WebConnectionListener
A connection has been made.
connectionEstablished(WebConnection) - Method in class rabbit.proxy.SWC
 
ConnectionHandler - Class in rabbit.io
A class to handle the connections to the net.
ConnectionHandler(Logger, Counter, Resolver, Selector) - Constructor for class rabbit.io.ConnectionHandler
 
ConnectionId - Class in rabbit.proxy
The id for a connection.
ConnectionId(int, long) - Constructor for class rabbit.proxy.ConnectionId
 
ConnectionLogger - Interface in rabbit.proxy
A logger interface.
Connections - Class in rabbit.meta
A page that shows the currently open web connections.
Connections() - Constructor for class rabbit.meta.Connections
 
content - Variable in class rabbit.handler.BaseHandler
The resource
ContentRangeParser - Class in rabbit.http
A class that parses content range headers.
ContentRangeParser(String, Logger) - Constructor for class rabbit.http.ContentRangeParser
 
convertImage() - Method in class rabbit.handler.ImageHandler
Convert the image into a small low quality image (normally a jpeg).
copyHeader(GeneralHeader) - Method in class rabbit.http.GeneralHeader
Copy all headers in this header to the given header.
Counter - Class in rabbit.util
This class counts different messages
Counter() - Constructor for class rabbit.util.Counter
 
CRLF - Static variable in class rabbit.http.Header
The String consisting of \r and \n

D

DIV - Static variable in class rabbit.html.TagType
 
DNSHandler - Interface in rabbit.proxy
A DNS handler.
DNSJavaHandler - Class in rabbit.proxy
A DNS handler using the dnsjava packages
DNSJavaHandler() - Constructor for class rabbit.proxy.DNSJavaHandler
 
DNSSunHandler - Class in rabbit.proxy
A DNS handler using the standard java packages.
DNSSunHandler() - Constructor for class rabbit.proxy.DNSSunHandler
 
DOCTYPE - Static variable in class rabbit.html.TagType
 
doError(int, String) - Method in class rabbit.proxy.Connection
Send an error (400 Bad Request) to the client.
doError(int, Exception) - Method in class rabbit.proxy.Connection
Send an error (400 Bad Request or 504) to the client.
doHttpInFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.BlockFilter
test if a socket/header combination is valid or return a new HttpHeader.
doHttpInFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.DontCacheFilter
Test if a socket/header combination is valid or return a new HttpHeader.
doHttpInFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.DontFilterFilter
Test if a socket/header combination is valid or return a new HttpHeader.
doHttpInFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.HttpBaseFilter
test if a socket/header combination is valid or return a new HttpHeader.
doHttpInFiltering(SocketChannel, HttpHeader, Connection) - Method in interface rabbit.filter.HttpFilter
test if a socket/header combination is valid or return a new HttpHeader.
doHttpInFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.HttpSnoop
test if a socket/header combination is valid or return a new HttpHeader.
doHttpInFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.ProxyAuth
test if a socket/header combination is valid or return a new HttpHeader.
doHttpInFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.ReverseProxy
test if a socket/header combination is valid or return a new HttpHeader.
doHttpInFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.SQLProxyAuth
test if a socket/header combination is valid or return a new HttpHeader.
doHttpOutFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.BlockFilter
test if a socket/header combination is valid or return a new HttpHeader.
doHttpOutFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.DontCacheFilter
Test if a socket/header combination is valid or return a new HttpHeader.
doHttpOutFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.DontFilterFilter
test if a socket/header combination is valid or return a new HttpHeader.
doHttpOutFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.HttpBaseFilter
test if a socket/header combination is valid or return a new HttpHeader.
doHttpOutFiltering(SocketChannel, HttpHeader, Connection) - Method in interface rabbit.filter.HttpFilter
test if a socket/header combination is valid or return a new HttpHeader.
doHttpOutFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.HttpSnoop
test if a socket/header combination is valid or return a new HttpHeader.
doHttpOutFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.ProxyAuth
test if a socket/header combination is valid or return a new HttpHeader.
doHttpOutFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.ReverseProxy
test if a socket/header combination is valid or return a new HttpHeader.
doHttpOutFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.SQLProxyAuth
test if a socket/header combination is valid or return a new HttpHeader.
doIPFiltering(SocketChannel) - Method in class rabbit.filter.AccessFilter
Filter based on a socket.
doIPFiltering(SocketChannel) - Method in interface rabbit.filter.IPAccessFilter
Filter based on a socket.
DontCacheFilter - Class in rabbit.filter
This is a class that makes sure the proxy doesnt caches certain pages.
DontCacheFilter() - Constructor for class rabbit.filter.DontCacheFilter
Create a new DontCacheFilter.
DontFilterFilter - Class in rabbit.filter
This is a class that makes sure the proxy doesnt filter certain pages.
DontFilterFilter() - Constructor for class rabbit.filter.DontFilterFilter
 
DOUBLEQUOTE - Static variable in class rabbit.html.HtmlParser
This is the character '"'
DQSTRING - Static variable in class rabbit.html.HtmlParser
This is a Double Quoted String a "string"

E

empty() - Method in class rabbit.html.Token
Empty this token, That is set its type to EMPTY and set the text and tag to null.
END - Static variable in class rabbit.html.HtmlParser
This indicates the end of a block.
endChunking() - Method in class rabbit.meta.BaseMetaHandler
 
entry - Variable in class rabbit.handler.BaseHandler
The cache entry if available.
entryChanged(CacheEntry<K, V>, K, V) - Method in interface rabbit.cache.Cache
Signal that a cache entry have changed.
entryChanged(CacheEntry<K, V>, K, V) - Method in class rabbit.cache.NCache
Signal that a cache entry have changed.
EQUALS - Static variable in class rabbit.html.HtmlParser
Equals '='
equals(Object) - Method in class rabbit.http.Header
 
equals(Object) - Method in class rabbit.http.HttpHeader
Is this Header equal to the other object? Two HTTPHeaders are assumed equal if the requesURI's are equal.
equals(Object) - Method in class rabbit.io.Address
Compare this objcet agains another object.
establish() - Method in class rabbit.proxy.SCC
 
establish() - Method in class rabbit.proxy.SWC
 

F

failed(Exception) - Method in class rabbit.handler.BaseHandler
 
failed(Exception) - Method in interface rabbit.io.WebConnectionListener
Creating the connection failed.
failed(Exception) - Method in class rabbit.meta.BaseMetaHandler
 
failed(Exception) - Method in class rabbit.meta.FileSender
 
failed(Exception) - Method in interface rabbit.proxy.AsyncListener
Reading failed
failed(Exception) - Method in class rabbit.proxy.HttpHeaderSender
 
failed(Exception) - Method in class rabbit.proxy.HttpResponseReader
 
failed(Exception) - Method in class rabbit.proxy.SWC
 
failed(Exception) - Method in interface rabbit.proxy.TransferListener
Reading failed
fc - Variable in class rabbit.proxy.FileResourceSource
 
FileResourceSource - Class in rabbit.proxy
A resource that comes from a file.
FileResourceSource(String, TaskRunner) - Constructor for class rabbit.proxy.FileResourceSource
 
FileSender - Class in rabbit.meta
A file resource handler.
FileSender() - Constructor for class rabbit.meta.FileSender
 
FilterHandler - Class in rabbit.handler
This handler filters out unwanted html features.
FilterHandler() - Constructor for class rabbit.handler.FilterHandler
 
FilterHandler(Connection, TrafficLoggerHandler, HttpHeader, ByteBuffer, HttpHeader, ResourceSource, boolean, boolean, long, boolean, List<HtmlFilterFactory>) - Constructor for class rabbit.handler.FilterHandler
Create a new FilterHandler for the given request.
filterHtml(HtmlBlock) - Method in class rabbit.filter.AdFilter
Removes advertising from the given block.
filterHtml(HtmlBlock) - Method in class rabbit.filter.BodyFilter
Insert some text at the top of the html page.
filterHtml(HtmlBlock) - Method in class rabbit.filter.HtmlFilter
Filter a block of html.
filterHtml(HtmlBlock) - Method in class rabbit.filter.SimpleTagFilter
Iterate over all tags and call handleTag on them.
finish(boolean) - Method in class rabbit.handler.BaseHandler
Close nesseccary channels and adjust the cached files.
finish(boolean) - Method in class rabbit.handler.ImageHandler
clear up the mess we made (remove intermediate files etc).
finishData() - Method in class rabbit.handler.BaseHandler
This method is used to finish the data for the resource being sent.
finishData() - Method in class rabbit.handler.FilterHandler
 
finishData() - Method in class rabbit.handler.GZipHandler
 
finishedRead() - Method in class rabbit.handler.BaseHandler
 
finishedRead() - Method in interface rabbit.handler.BlockListener
The resource have been fully transferred
finishedRead() - Method in class rabbit.proxy.WebConnectionResourceSource
 
flush() - Method in interface rabbit.cache.Cache
Make sure that the cache is written to the disk.
flush() - Method in class rabbit.cache.NCache
Make sure that the cache is written to the disk.
FONT - Static variable in class rabbit.html.TagType
 
FORM - Static variable in class rabbit.html.TagType
 

G

GeneralHeader - Class in rabbit.http
A class to handle general headers.
GeneralHeader() - Constructor for class rabbit.http.GeneralHeader
Create a new HTTPHeader from scratch
get(String) - Method in class rabbit.util.Counter
Get the current count for an event.
get200() - Method in interface rabbit.proxy.HttpGenerator
Get a 200 Ok header
get206(String, HttpHeader) - Method in interface rabbit.proxy.HttpGenerator
Get a 206 Partial Content header.
get304(HttpHeader) - Method in interface rabbit.proxy.HttpGenerator
Get a 304 Not Modified header for the given old header
get400(Exception) - Method in interface rabbit.proxy.HttpGenerator
Get a 400 Bad Request header for the given exception.
get403() - Method in interface rabbit.proxy.HttpGenerator
Get a 403 Forbidden header.
get404(String) - Method in interface rabbit.proxy.HttpGenerator
Get a 404 File not found header.
get407(String, URL) - Method in interface rabbit.proxy.HttpGenerator
Get a 407 Proxy Authentication Required for the given realm and url.
get412() - Method in interface rabbit.proxy.HttpGenerator
Get a 412 Precondition Failed header.
get414() - Method in interface rabbit.proxy.HttpGenerator
Get a 414 Request-URI Too Long header.
get416(Throwable) - Method in interface rabbit.proxy.HttpGenerator
Get a Requested Range Not Satisfiable for the given exception.
get417(String) - Method in interface rabbit.proxy.HttpGenerator
Get a 417 Expectation Failed header.
get500(Throwable) - Method in interface rabbit.proxy.HttpGenerator
Get a 500 Internal Server Error header for the given exception.
get504(Throwable, String) - Method in interface rabbit.proxy.HttpGenerator
Get a 504 Gateway Timeout for the given exception.
getAccessFilters() - Method in class rabbit.proxy.SocketAccessController
 
getActiveConnections() - Method in class rabbit.io.ConnectionHandler
 
getAddress() - Method in class rabbit.io.WebConnection
 
getAttribute(String) - Method in class rabbit.html.Tag
Get the value of the given key.
getCache() - Method in class rabbit.proxy.HttpProxy
 
getCache() - Method in class rabbit.proxy.TrafficLoggerHandler
 
getCacheDir() - Method in interface rabbit.cache.Cache
Get the location where this cache stores its files.
getCacheDir() - Method in class rabbit.cache.NCache
 
getCachedString(String) - Method in class rabbit.util.StringCache
Get a cached string with the same contents as the given string.
getCacheTime() - Method in interface rabbit.cache.Cache
Get the number of miliseconds the cache stores things usually.
getCacheTime() - Method in interface rabbit.cache.CacheEntry
Get the date this object was cached.
getCacheTime() - Method in class rabbit.cache.NCache
Get the number of miliseconds the cache stores things usually.
getChanged() - Method in class rabbit.html.Token
Has this Token changed since it was created?
getChannel() - Method in class rabbit.io.WebConnection
 
getChannel() - Method in class rabbit.proxy.Connection
 
getChannel() - Method in class rabbit.proxy.PartialCacher
 
getChunking() - Method in class rabbit.proxy.Connection
Get the chunking option.
getCleanLoopTime() - Method in class rabbit.cache.NCache
Get how long time the cleaner sleeps between cleanups.
getClient() - Method in class rabbit.proxy.TrafficLoggerHandler
 
getConfig() - Method in class rabbit.proxy.HttpProxy
 
getConnection(HttpHeader, WebConnectionListener) - Method in class rabbit.io.ConnectionHandler
Get a WebConnection for the given header.
getConnectionHandler() - Method in class rabbit.proxy.HttpProxy
Get the connection handler.
getConnectPort(int) - Method in interface rabbit.io.Resolver
Get the port to use for connecting to a given port.
getConnectPort(int) - Method in class rabbit.proxy.HttpProxy
Get the port to connect to.
getContent() - Method in class rabbit.http.HttpHeader
Get the current content for this request/response.
getContentLength() - Method in class rabbit.proxy.Connection
 
getCounter() - Method in class rabbit.proxy.Connection
 
getCounter() - Method in class rabbit.proxy.HttpProxy
 
getCurrentConnections() - Method in class rabbit.proxy.HttpProxy
Get all the current connections
getCurrentSize() - Method in interface rabbit.cache.Cache
Get the current size of the cache
getCurrentSize() - Method in class rabbit.cache.NCache
Get the current size of the cache
getDataHook(Cache<K, V>) - Method in interface rabbit.cache.CacheEntry
Get the hooked data.
getDate(String) - Static method in class rabbit.http.HttpDateParser
Try to get a date from the given string.
getDateString(Date) - Static method in class rabbit.http.HttpDateParser
Get a String from the date.
getEnd() - Method in class rabbit.http.ContentRangeParser
 
getEnd() - Method in class rabbit.io.Range
 
getEnd() - Method in class rabbit.proxy.PartialCacher
 
getEntries() - Method in interface rabbit.cache.Cache
Get the CacheEntries in the cache.
getEntries() - Method in class rabbit.cache.NCache
Get the CacheEntries in the cache.
getEntry(K) - Method in interface rabbit.cache.Cache
Get the CacheEntry assosiated with given object.
getEntry(K) - Method in class rabbit.cache.NCache
Get the CacheEntry assosiated with given object.
getEntryName(CacheEntry<K, V>) - Method in interface rabbit.cache.Cache
Get the file name for a real cache entry.
getEntryName(long, boolean) - Method in interface rabbit.cache.Cache
Get the file name for a cache entry.
getEntryName(CacheEntry<K, V>) - Method in class rabbit.cache.NCache
Get the file name for a real cache entry.
getEntryName(long, boolean) - Method in class rabbit.cache.NCache
Get the file name for a cache entry.
getExpires() - Method in interface rabbit.cache.CacheEntry
Get the expiry-date of our file
getExtraInfo() - Method in class rabbit.proxy.Connection
 
getHandler(SelectionKey) - Method in interface rabbit.io.HandlerRegistration
Get the handler for the key.
getHandler(SelectionKey) - Method in class rabbit.io.MultiHandlerRegistration
 
getHandler(SelectionKey) - Method in class rabbit.io.SimpleHandlerRegistration
 
getHeader(String) - Method in class rabbit.http.GeneralHeader
get the value of header type
getHeader() - Method in interface rabbit.proxy.HttpGenerator
Get a new HttpHeader.
getHeader(String) - Method in interface rabbit.proxy.HttpGenerator
Get a new HttpHeader initialized with some data.
getHeaders(String) - Method in class rabbit.http.GeneralHeader
Get all headers of a specified type...
getHost() - Method in class rabbit.proxy.HttpProxy
Get the local host.
getHttpGenerator() - Method in class rabbit.proxy.Connection
 
getHTTPVersion() - Method in class rabbit.http.HttpHeader
Get the HTTP Version of this request (only valid for requests).
getId() - Method in interface rabbit.cache.CacheEntry
Get the id of the entry.
getId() - Method in class rabbit.proxy.Connection
 
getInetAddress() - Method in class rabbit.io.Address
Get the internet address
getInetAddress(URL, InetAddressListener) - Method in interface rabbit.io.Resolver
Get the InetAddress for a given url.
getInetAddress(URL) - Method in interface rabbit.proxy.DNSHandler
Look up an internet address.
getInetAddress(String) - Method in interface rabbit.proxy.DNSHandler
Look up an internet address.
getInetAddress(URL) - Method in class rabbit.proxy.DNSJavaHandler
Look up an internet address.
getInetAddress(String) - Method in class rabbit.proxy.DNSJavaHandler
 
getInetAddress(URL) - Method in class rabbit.proxy.DNSSunHandler
Look up an internet address.
getInetAddress(String) - Method in class rabbit.proxy.DNSSunHandler
 
getInetAddress(URL, InetAddressListener) - Method in class rabbit.proxy.HttpProxy
Get the InetAddress for a given url.
getIPList() - Method in class rabbit.filter.AccessFilter
Get the list of ips allowed
getIPList() - Method in interface rabbit.filter.IPAccessFilter
Get the list of ips allowed
getKeepalive() - Method in class rabbit.io.WebConnection
Get the keepalive value of this WebConnection.
getKeepalive() - Method in class rabbit.proxy.Connection
Get the keepalive value.
getKeepaliveTime() - Method in class rabbit.io.ConnectionHandler
Get the current keep alive time.
getKey() - Method in interface rabbit.cache.CacheEntry
Get the key were holding data for
getLength() - Method in class rabbit.html.Token
Get the length of this token.
getLogger() - Method in class rabbit.handler.BaseHandler
 
getLogger() - Method in class rabbit.proxy.BaseSocketHandler
 
getLogger() - Method in class rabbit.proxy.Connection
 
getLogger() - Method in class rabbit.proxy.HttpProxy
 
getLowerCaseKey() - Method in class rabbit.html.Tag.Pair
 
getLowerCaseType() - Method in class rabbit.html.Tag
Get the lowercase type of this tag.
getMaxSize() - Method in interface rabbit.cache.Cache
Get the maximum size for this cache.
getMaxSize() - Method in class rabbit.cache.NCache
Get the maximum size for this cache.
getMayCache() - Method in class rabbit.proxy.Connection
Get the state of this request.
getMayFilter() - Method in class rabbit.proxy.Connection
Get the state of the request.
getMayUseCache() - Method in class rabbit.proxy.Connection
Get the state of this request.
getMeta() - Method in class rabbit.proxy.Connection
Get the state of this request.
getMethod() - Method in class rabbit.http.HttpHeader
Get the request method of this header (only valid for requests).
getNetwork() - Method in class rabbit.proxy.TrafficLoggerHandler
 
getNewInstance(Connection, TrafficLoggerHandler, HttpHeader, ByteBuffer, HttpHeader, ResourceSource, boolean, boolean, long) - Method in class rabbit.handler.BaseHandler
 
getNewInstance(Connection, TrafficLoggerHandler, HttpHeader, ByteBuffer, HttpHeader, ResourceSource, boolean, boolean, long) - Method in class rabbit.handler.FilterHandler
 
getNewInstance(Connection, TrafficLoggerHandler, HttpHeader, ByteBuffer, HttpHeader, ResourceSource, boolean, boolean, long) - Method in class rabbit.handler.GZipHandler
 
getNewInstance(Connection, TrafficLoggerHandler, HttpHeader, ByteBuffer, HttpHeader, ResourceSource, boolean, boolean, long) - Method in interface rabbit.handler.HandlerFactory
Get a new Handler for the given request made.
getNewInstance(Connection, TrafficLoggerHandler, HttpHeader, ByteBuffer, HttpHeader, ResourceSource, boolean, boolean, long) - Method in class rabbit.handler.ImageHandler
 
getNewInstance(Connection, TrafficLoggerHandler, HttpHeader, ByteBuffer, HttpHeader, ResourceSource, boolean, boolean, long) - Method in class rabbit.handler.MultiPartHandler
 
getNumberOfEntries() - Method in interface rabbit.cache.Cache
Get the current number of entries in the cache.
getNumberOfEntries() - Method in class rabbit.cache.NCache
Get the current number of entries in the cache.
getOffset() - Method in class rabbit.proxy.HttpProxy
 
getOffset() - Method in class rabbit.proxy.ProxyLogger
Get the distance to GMT in millis
getPageHeader() - Method in class rabbit.meta.BaseMetaHandler
Get the page header name
getPageHeader() - Method in class rabbit.meta.CacheStatus
 
getPageHeader() - Method in class rabbit.meta.ClearCache
 
getPageHeader() - Method in class rabbit.meta.Connections
 
getPageHeader() - Method in class rabbit.meta.Kill
 
getPageHeader() - Method in class rabbit.meta.LogRotator
 
getPageHeader() - Method in class rabbit.meta.SelectorStatus
 
getPageHeader() - Method in class rabbit.meta.StackTrace
 
getPageHeader() - Method in class rabbit.meta.Status
 
getPageHeader() - Static method in class rabbit.proxy.HtmlPage
return a simple HTMLheader.
getPageHeader(Connection, String) - Static method in class rabbit.proxy.HtmlPage
return a HTMLheader.
getPassword() - Method in class rabbit.proxy.Connection
 
getPattern(SProperties, String, String, Logger) - Method in class rabbit.util.PatternHelper
Get a Pattern for a given property.
getPort() - Method in class rabbit.io.Address
Get the port number
getPort() - Method in class rabbit.proxy.HttpProxy
Get the port this proxy is using.
getProperties() - Static method in class rabbit.proxy.HtmlPage
return the properties this class uses
getProperties(String) - Method in class rabbit.util.Config
get the properties for a given section
getProperty(String, String) - Method in class rabbit.util.Config
get a property for given key in specified section
getProperty(String, String, String) - Method in class rabbit.util.Config
get a property for given key in specified section
getProperty(String) - Method in class rabbit.util.SProperties
 
getProperty(String, String) - Method in class rabbit.util.SProperties
 
getProxy() - Method in class rabbit.proxy.Connection
 
getProxy() - Method in class rabbit.proxy.TrafficLoggerHandler
 
getProxyAuthString() - Method in interface rabbit.io.Resolver
Get the currently set proxy authentication.
getProxyAuthString() - Method in class rabbit.proxy.HttpProxy
Get the authenticationstring to use for proxy.
getReasonPhrase() - Method in class rabbit.http.HttpHeader
Get the Reason phrase of the response (only valid for responses).
getReleasedAt() - Method in class rabbit.io.WebConnection
Get the time that this WebConnection was released.
getRequestLine() - Method in class rabbit.http.HttpHeader
Get the requestline of this header (only valid for requests).
getRequestLine() - Method in class rabbit.proxy.Connection
 
getRequestURI() - Method in class rabbit.http.HttpHeader
Get the requestURI of this request (only valid for requests).
getRequestVersion() - Method in class rabbit.proxy.Connection
Get the http version that the client used.
getResponseHTTPVersion() - Method in class rabbit.http.HttpHeader
Get the HTTP version of the response (only valid for responses).
getRest() - Method in class rabbit.html.HtmlBlock
Get the rest of this block.
getSections() - Method in class rabbit.util.Config
get the available sections
getSelector() - Method in class rabbit.proxy.Connection
 
getServerIdentity() - Method in class rabbit.proxy.HttpProxy
 
getSharedInstance() - Static method in class rabbit.util.StringCache
Get the shared instance of the string caches.
getSize() - Method in interface rabbit.cache.CacheEntry
Get the size of our file
getSocketOperations() - Method in class rabbit.proxy.BaseSocketHandler
 
getSocketOperations() - Method in class rabbit.proxy.BlockSender
 
getSocketOperations() - Method in class rabbit.proxy.HttpHeaderReader
 
getStart() - Method in class rabbit.http.ContentRangeParser
 
getStart() - Method in class rabbit.io.Range
 
getStart() - Method in class rabbit.proxy.PartialCacher
 
getStarted() - Method in class rabbit.proxy.Connection
Get the time this connection was started.
getStartIndex() - Method in class rabbit.html.Token
Get the start index of this Token.
getStartTime() - Method in class rabbit.proxy.HttpProxy
 
getStatus() - Method in class rabbit.proxy.Connection
 
getStatusCode() - Method in class rabbit.http.HttpHeader
Get the Status code of the response (only valid for responses).
getStatusCode() - Method in class rabbit.proxy.Connection
 
getStatusLine() - Method in class rabbit.http.HttpHeader
Get the statusline of this header (only valid for responses).
getStrictHttp() - Method in class rabbit.proxy.HttpProxy
 
getTableHeader(int, int) - Static method in class rabbit.proxy.HtmlPage
return a table header with given width (int %) and given borderwidth.
getTableTopicRow() - Static method in class rabbit.proxy.HtmlPage
return a tabletopic row
getTag() - Method in class rabbit.html.Token
Get the tag of this token.
getTagType() - Method in class rabbit.html.Tag
Get the tagtype of this tag.
getTagType(String) - Static method in class rabbit.html.TagType
 
getText() - Method in class rabbit.html.Token
Get the text of this token.
getToken() - Method in class rabbit.html.Tag
Get the parent token of this tag.
getTokens() - Method in class rabbit.html.HtmlBlock
Get a List of the Tokens.
getTotal() - Method in class rabbit.http.ContentRangeParser
 
getTotal() - Method in class rabbit.proxy.PartialCacher
 
getTrafficLoggerHandler() - Method in class rabbit.proxy.HttpProxy
Get the currently transferred traffic statistics.
getType() - Method in class rabbit.html.Tag
Get the type of this tag.
getType() - Method in class rabbit.html.Token
Get the type of this token.
getType() - Method in class rabbit.http.Header
 
getUserName() - Method in class rabbit.proxy.Connection
 
getUsers() - Method in class rabbit.util.SimpleUserHandler
Return the hash of users.
getValue() - Method in class rabbit.http.Header
 
getVersion() - Method in class rabbit.proxy.HttpProxy
 
getWebConnection(HttpHeader, WebConnectionListener) - Method in class rabbit.proxy.HttpProxy
Get a WebConnection.
gz - Variable in class rabbit.handler.GZipHandler
 
GZipHandler - Class in rabbit.handler
This handler compresses the data passing through it.
GZipHandler() - Constructor for class rabbit.handler.GZipHandler
For creating the factory.
GZipHandler(Connection, TrafficLoggerHandler, HttpHeader, ByteBuffer, HttpHeader, ResourceSource, boolean, boolean, long, boolean) - Constructor for class rabbit.handler.GZipHandler
Create a new GZipHandler for the given request.
GZipHandler.GZStream2Channel - Class in rabbit.handler
 
GZipHandler.GZStream2Channel() - Constructor for class rabbit.handler.GZipHandler.GZStream2Channel
 
GZipHandler.Stream2Channel - Class in rabbit.handler
 
GZipHandler.Stream2Channel() - Constructor for class rabbit.handler.GZipHandler.Stream2Channel
 

H

handle() - Method in class rabbit.handler.BaseHandler
Handle the request.
handle() - Method in interface rabbit.handler.Handler
handle a request.
handle() - Method in class rabbit.handler.ImageHandler
Try to convert the image before letting the superclass handle it.
handle(HttpHeader, SProperties, Connection, TrafficLogger, TrafficLogger) - Method in class rabbit.meta.BaseMetaHandler
 
handle(HttpHeader, SProperties, Connection, TrafficLogger, TrafficLogger) - Method in class rabbit.meta.FileSender
 
handle(HttpHeader, SProperties, Connection, TrafficLogger, TrafficLogger) - Method in interface rabbit.meta.MetaHandler
Handle a client request.
handleMeta() - Method in class rabbit.proxy.Connection
Handle a meta page.
Handler - Interface in rabbit.handler
This interface descsribes the methods neccessary to implement a handler.
handleRequest() - Method in class rabbit.proxy.Connection
Handle a request by getting the datastream (from the cache or the web).
HandlerFactory - Interface in rabbit.handler
The methods needed to create a new Handler.
HandlerRegistration - Interface in rabbit.io
A class to hold information about when an operation was attached to the selector.
handleTag(Tag, HtmlBlock, int) - Method in class rabbit.filter.BackgroundFilter
Remove background images from the given block.
handleTag(Tag, HtmlBlock, int) - Method in class rabbit.filter.BlinkFilter
Remove blink tags.
handleTag(Tag, HtmlBlock, int) - Method in class rabbit.filter.BodyFilter
 
handleTag(Tag, HtmlBlock, int) - Method in class rabbit.filter.LowresImageFilter
remove the lowres tags.
handleTag(Tag, HtmlBlock, int) - Method in class rabbit.filter.SimpleTagFilter
Handle a tag.
hashCode() - Method in class rabbit.http.Header
 
hashCode() - Method in class rabbit.http.HttpHeader
Get the hashCode for this header.
hashCode() - Method in class rabbit.io.Address
Get the hash code for this object.
hasMoreTokens() - Method in class rabbit.html.HtmlBlock
Does this block have more tokens?
HEAD - Static variable in class rabbit.html.TagType
 
Header - Class in rabbit.http
This class holds a header value, that is a "type: some text"
Header() - Constructor for class rabbit.http.Header
Used for externalization
Header(String, String) - Constructor for class rabbit.http.Header
 
headers - Variable in class rabbit.http.GeneralHeader
The headers of this Header in order.
htab - Variable in class rabbit.meta.BaseMetaHandler
 
HTML - Static variable in class rabbit.html.TagType
 
HtmlBlock - Class in rabbit.html
This class is used to describe a piece of a HTML page.
HtmlBlock(byte[], int) - Constructor for class rabbit.html.HtmlBlock
Create a HtmlBLock from the given byte array.
HtmlFilter - Class in rabbit.filter
This class describes the functions neccessary to filter a block of html.
HtmlFilter() - Constructor for class rabbit.filter.HtmlFilter
Create the factory.
HtmlFilter(Connection, HttpHeader, HttpHeader) - Constructor for class rabbit.filter.HtmlFilter
Create a new HtmlFilter for the given request, response pair.
HtmlFilterFactory - Interface in rabbit.filter
A factory that creates HTMLFilters.
HtmlPage - Class in rabbit.proxy
This class is intended to be used as a template for metapages.
HtmlParseException - Exception in rabbit.html
This exception indicates an error in the parsing of an HTML block.
HtmlParseException(String) - Constructor for exception rabbit.html.HtmlParseException
Create a new HtmlParseException with the given string.
HtmlParseException(Throwable) - Constructor for exception rabbit.html.HtmlParseException
Create a new HtmlParseException with the given Throwable.
HtmlParser - Class in rabbit.html
This is a class that is used to parse a block of HTML code into separate tokens.
HtmlParser() - Constructor for class rabbit.html.HtmlParser
Create a new HTMLParser
HtmlParser(byte[]) - Constructor for class rabbit.html.HtmlParser
Create a new HtmlParser for the given page.
HttpBaseFilter - Class in rabbit.filter
This is a class that filter http headers to make them nice.
HttpBaseFilter() - Constructor for class rabbit.filter.HttpBaseFilter
 
HttpDateParser - Class in rabbit.http
A utility class that parses date in the http headers.
HttpDateParser() - Constructor for class rabbit.http.HttpDateParser
The default constructor.
HttpFilter - Interface in rabbit.filter
A filter for http headers.
HttpGenerator - Interface in rabbit.proxy
An interface describing the methods for http header generation.
HttpHeader - Class in rabbit.http
A class to handle http headers.
HttpHeader() - Constructor for class rabbit.http.HttpHeader
Create a new HTTPHeader from scratch
HttpHeaderListener - Interface in rabbit.proxy
A listener for http headers.
httpHeaderRead(HttpHeader, ByteBuffer, boolean, boolean, long) - Method in interface rabbit.proxy.HttpHeaderListener
one http header has been read
httpHeaderRead(HttpHeader, ByteBuffer, boolean, boolean, long) - Method in class rabbit.proxy.HttpResponseReader
 
httpHeaderRead(HttpHeader, ByteBuffer, boolean, boolean, long) - Method in class rabbit.proxy.SWC
 
HttpHeaderReader - Class in rabbit.proxy
A handler that reads http headers
HttpHeaderReader(SocketChannel, ByteBuffer, Selector, Logger, TrafficLogger, boolean, boolean, HttpHeaderListener) - Constructor for class rabbit.proxy.HttpHeaderReader
 
HttpHeaderSender - Class in rabbit.proxy
A handler that writes http headers
HttpHeaderSender(SocketChannel, Selector, Logger, TrafficLogger, HttpHeader, boolean, HttpHeaderSentListener) - Constructor for class rabbit.proxy.HttpHeaderSender
 
httpHeaderSent() - Method in class rabbit.handler.BaseHandler
 
httpHeaderSent() - Method in class rabbit.meta.FileSender
 
httpHeaderSent() - Method in interface rabbit.proxy.HttpHeaderSentListener
The http header has been sent.
httpHeaderSent() - Method in class rabbit.proxy.HttpResponseReader
 
httpHeaderSent() - Method in class rabbit.proxy.SWC
 
HttpHeaderSentListener - Interface in rabbit.proxy
A listener for notification that a http header has been sent.
HttpProxy - Class in rabbit.proxy
A filtering and caching http proxy.
HttpProxy() - Constructor for class rabbit.proxy.HttpProxy
 
httpResponse(HttpHeader, ByteBuffer, boolean, boolean, long) - Method in interface rabbit.proxy.HttpResponseListener
The http header has been sent.
HttpResponseListener - Interface in rabbit.proxy
A listener for http header sent + read.
HttpResponseReader - Class in rabbit.proxy
A handler that write one http header and reads a response
HttpResponseReader(SocketChannel, Selector, Logger, TrafficLogger, HttpHeader, boolean, boolean, HttpResponseListener) - Constructor for class rabbit.proxy.HttpResponseReader
 
HttpSnoop - Class in rabbit.filter
This is a class that prints the Http headers on the standard out stream.
HttpSnoop() - Constructor for class rabbit.filter.HttpSnoop
 

I

ImageHandler - Class in rabbit.handler
This handler first downloads the image runs convert on it and then serves the smaller image.
ImageHandler() - Constructor for class rabbit.handler.ImageHandler
For creating the factory.
ImageHandler(Connection, TrafficLoggerHandler, HttpHeader, ByteBuffer, HttpHeader, ResourceSource, boolean, boolean, long, SProperties, boolean) - Constructor for class rabbit.handler.ImageHandler
Create a new ImageHandler for the given request.
IMG - Static variable in class rabbit.html.TagType
 
inc(String) - Method in class rabbit.util.Counter
Increase a logentry.
InetAddressListener - Interface in rabbit.io
An interface for a listener of asyncronous dns lookups.
INPUT - Static variable in class rabbit.html.TagType
 
inrange(InetAddress) - Method in class rabbit.util.IPAccess
check if a given ip is in this accessrange
insertRest(byte[]) - Method in class rabbit.html.HtmlBlock
Copy the rest into the given byte array.
insertToken(Token, int) - Method in class rabbit.html.HtmlBlock
Insert a token at given position.
insertTokens(HtmlBlock, int) - Method in class rabbit.filter.BodyFilter
Insert the links in an ordered fashion.
internalConvertImage() - Method in class rabbit.handler.ImageHandler
 
IPAccess - Class in rabbit.util
A class to handle access to ip ranges.
IPAccess(InetAddress, InetAddress) - Constructor for class rabbit.util.IPAccess
Create a new IPAccess with given ip-range.
IPAccessFilter - Interface in rabbit.filter
This interface holds the method needed to do socket based access filtering.
isDot9Request() - Method in class rabbit.http.HttpHeader
Is this request a HTTP/0.9 type request? A 0.9 request doesnt have a full HTTPheader, only a requestline so we need to treat it differently.
isEvil(String) - Method in class rabbit.filter.AdFilter
Check if a string is evil (that is its probably advertising).
isExpired(long, long) - Method in interface rabbit.io.HandlerRegistration
Check if this registration is expired.
isExpired(long, long) - Method in class rabbit.io.MultiHandlerRegistration
 
isExpired(long, long) - Method in class rabbit.io.SimpleHandlerRegistration
 
isFinished() - Method in class rabbit.proxy.MultiPartPipe
 
isHeadOnlyRequest() - Method in class rabbit.http.HttpHeader
Is this request for the head only?
isProxyConnected() - Method in interface rabbit.io.Resolver
Check if the resolver is using a proxy or not.
isProxyConnected() - Method in class rabbit.proxy.HttpProxy
Is this proxy chained to another proxy?
isPublic(URL) - Method in class rabbit.filter.HttpBaseFilter
Check if a given url is a public URL of the Proxy.
isRequest() - Method in class rabbit.http.HttpHeader
Try to guess if this header is a request.
isResponse() - Method in class rabbit.http.HttpHeader
Try to guess if this header is a response.
isSecure() - Method in class rabbit.http.HttpHeader
Try to guess if this header is a secure thing.
isSelf(String, int) - Method in class rabbit.proxy.HttpProxy
Try hard to check if the given address matches the proxy.
isSSLRequest() - Method in class rabbit.http.HttpHeader
Check to see if this header is an SSL header.
isValid() - Method in class rabbit.http.ContentRangeParser
 
isValidUser(String, String) - Method in class rabbit.util.SimpleUserHandler
Check if a user/password combination is valid.

K

key - Variable in class rabbit.html.Tag.Pair
The key of this pair.
keys() - Method in class rabbit.util.Counter
Get all events
Kill - Class in rabbit.meta
Kills the proxy instance.
Kill() - Constructor for class rabbit.meta.Kill
 

L

LAYER - Static variable in class rabbit.html.TagType
 
lcKey - Variable in class rabbit.html.Tag.Pair
The lowercase key..
length() - Method in interface rabbit.handler.ResourceSource
Get the length of the resource in bytes.
length() - Method in class rabbit.proxy.FileResourceSource
 
length() - Method in interface rabbit.proxy.Transferable
Get the length of the resource in bytes.
length() - Method in class rabbit.proxy.WebConnectionResourceSource
 
Level - Enum in rabbit.util
The logging levels.
LI - Static variable in class rabbit.html.TagType
 
LineListener - Interface in rabbit.proxy
An event handler for lines of text.
lineRead(String) - Method in class rabbit.proxy.HttpHeaderReader
Handle a newly read line.
lineRead(String) - Method in interface rabbit.proxy.LineListener
Event sent when a line of text have been read.
LineReader - Class in rabbit.proxy
A class that reads lines from a ByteBuffer.
LineReader(boolean) - Constructor for class rabbit.proxy.LineReader
 
loadAccess(Logger, Reader) - Method in class rabbit.filter.AccessFilter
Loads in the accessess allowed from the given Reader
loadAccess(Logger, Reader) - Method in interface rabbit.filter.IPAccessFilter
Loads in the accessess allowed from the given Reader
loadUsers(Reader) - Method in class rabbit.util.SimpleUserHandler
Load the users from the given Reader.
logAll(String) - Method in class rabbit.proxy.ProxyLogger
 
logAll(String) - Method in interface rabbit.util.Logger
Log some information Same as logError (ALL, error);
logAndClose(Connection.RequestHandler) - Method in class rabbit.proxy.Connection
 
logAndRestart() - Method in class rabbit.proxy.Connection
 
logConnection(Connection) - Method in interface rabbit.proxy.ConnectionLogger
Log a finished connection.
logConnection(Connection) - Method in class rabbit.proxy.ProxyLogger
 
logDebug(String) - Method in class rabbit.proxy.ProxyLogger
 
logDebug(String) - Method in interface rabbit.util.Logger
Log a debug message.
logError(String) - Method in class rabbit.proxy.ProxyLogger
 
logError(Level, String) - Method in class rabbit.proxy.ProxyLogger
 
logError(String) - Method in interface rabbit.util.Logger
Log an error.
logError(Level, String) - Method in interface rabbit.util.Logger
Log an error of given type and with given message.
logFatal(String) - Method in class rabbit.proxy.ProxyLogger
 
logFatal(String) - Method in interface rabbit.util.Logger
Log an fatal error.
logger - Variable in class rabbit.proxy.BaseSocketHandler
The logger to use.
Logger - Interface in rabbit.util
A logger interface.
logInfo(String) - Method in class rabbit.proxy.ProxyLogger
 
logInfo(String) - Method in interface rabbit.util.Logger
Log some information.
logMsg(String) - Method in class rabbit.proxy.ProxyLogger
 
logMsg(String) - Method in interface rabbit.util.Logger
Log a message.
LogRotator - Class in rabbit.meta
An admin page that rotates the logs.
LogRotator() - Constructor for class rabbit.meta.LogRotator
 
logWarn(String) - Method in class rabbit.proxy.ProxyLogger
 
logWarn(String) - Method in interface rabbit.util.Logger
Log a warning.
lookupDone(InetAddress) - Method in interface rabbit.io.InetAddressListener
An dns lookup has completed.
LowresImageFilter - Class in rabbit.filter
This filter removes the "lowsrc=some_image.gif" attributes from the <img> tags.
LowresImageFilter() - Constructor for class rabbit.filter.LowresImageFilter
 
LowresImageFilter(Connection, HttpHeader, HttpHeader) - Constructor for class rabbit.filter.LowresImageFilter
Create a new LowresImageFilter for the given request, response pair.
LT - Static variable in class rabbit.html.HtmlParser
Less Than '<'

M

main(String[]) - Static method in class rabbit.http.HttpDateParser
Simple self test method.
main(String[]) - Static method in class rabbit.proxy.ProxyStarter
 
main(String[]) - Static method in class rabbit.test.TestHtmlParser
 
main(String[]) - Static method in class rabbit.tunnel.MeteredTunnel
 
markForPipelining(WebConnection) - Method in class rabbit.io.ConnectionHandler
Mark a WebConnection ready for pipelining.
markForPipelining(WebConnection) - Method in class rabbit.proxy.HttpProxy
Mark a WebConnection for pipelining.
mayCache - Variable in class rabbit.handler.BaseHandler
May we cache this request.
mayCacheFromSize() - Method in class rabbit.handler.BaseHandler
Try to use the resource size to decide if we may cache or not.
mayCacheFromSize() - Method in class rabbit.handler.ImageHandler
Images needs to be cacheable to be compressed.
mayFilter - Variable in class rabbit.handler.BaseHandler
May we filter this request
mayPipeline() - Method in class rabbit.io.WebConnection
Check if this WebConnection may be used for pipelining.
mayRestrictCacheSize() - Method in class rabbit.handler.BaseHandler
Check if this handler may force the cached resource to be less than the cache max size.
mayRestrictCacheSize() - Method in class rabbit.handler.ImageHandler
Check if this handler may force the cached resource to be less than the cache max size.
mayTransfer() - Method in class rabbit.handler.BaseHandler
Check if this handler supports direct transfers.
mayTransfer() - Method in class rabbit.handler.GZipHandler
Check if this handler supports direct transfers.
merge(Config) - Method in class rabbit.util.Config
Merge this config with another one.
META - Static variable in class rabbit.html.TagType
 
MetaHandler - Interface in rabbit.meta
The specification for dynamic status information handlers in the proxy.
MeteredTunnel - Class in rabbit.tunnel
A tunnel to simulate a slow connection.
MeteredTunnel(int, int, int) - Constructor for class rabbit.tunnel.MeteredTunnel
 
modifyBuffer(ByteBuffer) - Method in class rabbit.handler.FilterHandler
 
modifyBuffer(ByteBuffer) - Method in class rabbit.handler.GZipHandler
This method is used when we are not compressing data.
modifyRequest(HttpHeader) - Method in interface rabbit.proxy.ClientResourceHandler
Modify the request sent to the server, used to add "Expect: 100 Continue" and similar.
MT - Static variable in class rabbit.html.HtmlParser
More Than '>'
MultiHandlerRegistration - Class in rabbit.io
A multiplexing handler registration.
MultiHandlerRegistration(SocketHandler, long, SocketHandler, long) - Constructor for class rabbit.io.MultiHandlerRegistration
 
MultiPartHandler - Class in rabbit.handler
This class handles multipart responses, this handler does not filter the resource.
MultiPartHandler() - Constructor for class rabbit.handler.MultiPartHandler
 
MultiPartHandler(Connection, TrafficLoggerHandler, HttpHeader, ByteBuffer, HttpHeader, ResourceSource) - Constructor for class rabbit.handler.MultiPartHandler
Create a new BaseHansler for the given request.
MultipartHeader - Class in rabbit.http
A header suitable for multi part handling.
MultipartHeader(String) - Constructor for class rabbit.http.MultipartHeader
 
MultiPartPipe - Class in rabbit.proxy
A class that reads multipart data from one channel and writes it to the other channel.
MultiPartPipe(String) - Constructor for class rabbit.proxy.MultiPartPipe
 
mustTunnel(Connection.RequestHandler) - Method in class rabbit.proxy.Connection
Check if we must tunnel a request.

N

NCache<K,V> - Class in rabbit.cache
The NCache is like a Map in lookup/insert/delete The NCache is persistent over sessions (saves itself to disk).
NCache(Logger, SProperties) - Constructor for class rabbit.cache.NCache
Create a cache that uses default values.
newEntry(K) - Method in interface rabbit.cache.Cache
Reserve space for a CacheEntry with key o.
newEntry(K) - Method in class rabbit.cache.NCache
Reserve space for a CacheEntry with key o.
newFilter(Connection, HttpHeader, HttpHeader) - Method in class rabbit.filter.AdFilter
 
newFilter(Connection, HttpHeader, HttpHeader) - Method in class rabbit.filter.BackgroundFilter
 
newFilter(Connection, HttpHeader, HttpHeader) - Method in class rabbit.filter.BlinkFilter
 
newFilter(Connection, HttpHeader, HttpHeader) - Method in class rabbit.filter.BodyFilter
 
newFilter(Connection, HttpHeader, HttpHeader) - Method in interface rabbit.filter.HtmlFilterFactory
Get a new HtmlFilter for the given request, response pair.
newFilter(Connection, HttpHeader, HttpHeader) - Method in class rabbit.filter.LowresImageFilter
 
nextToken() - Method in class rabbit.html.HtmlBlock
Get the next Token.
NOPROXY - Static variable in class rabbit.filter.HttpBaseFilter
 

P

P - Static variable in class rabbit.html.TagType
 
parse() - Method in class rabbit.html.HtmlParser
Get a HtmlBlock from the pagepart given.
parseBuffer(ByteBuffer) - Method in class rabbit.proxy.MultiPartPipe
Parse the buffer, will set the position and the limit.
PartialCacher - Class in rabbit.proxy
An updater that writes an updated range to a cache file.
PartialCacher(Logger, String, HttpHeader) - Constructor for class rabbit.proxy.PartialCacher
 
PatternHelper - Class in rabbit.util
Helper class for regular expresions.
PatternHelper() - Constructor for class rabbit.util.PatternHelper
 
prepare() - Method in class rabbit.handler.BaseHandler
This method is used to prepare the data for the resource being sent.
prepare() - Method in class rabbit.handler.GZipHandler
 
prepareStream() - Method in class rabbit.handler.BaseHandler
This method is used to prepare the stream for the data being sent.
ProxyAuth - Class in rabbit.filter
This is a filter that requires users to use proxy-authentication.
ProxyAuth() - Constructor for class rabbit.filter.ProxyAuth
 
ProxyLogger - Class in rabbit.proxy
A class to handle proxy logging.
ProxyLogger() - Constructor for class rabbit.proxy.ProxyLogger
Create a new ProxyLogger.
proxySSL - Variable in class rabbit.proxy.HttpProxy
Are we allowed to proxy ssl?
ProxyStarter - Class in rabbit.proxy
A class that starts up proxies.
ProxyStarter() - Constructor for class rabbit.proxy.ProxyStarter
 

R

rabbit.cache - package rabbit.cache
A persistant storage suitable for http resources.
rabbit.filter - package rabbit.filter
A set of filters for sockets, http and http resources.
rabbit.handler - package rabbit.handler
The resource handlers used in the web proxy.
rabbit.html - package rabbit.html
This package holds the classes that deal with HTML code.
rabbit.http - package rabbit.http
The classes that represent the http entities.
rabbit.io - package rabbit.io
Classes that deal with network and i/o.
rabbit.meta - package rabbit.meta
The web interface to the web proxy.
rabbit.proxy - package rabbit.proxy
The web proxy components.
rabbit.test - package rabbit.test
A small set of programs that can be used to test different parts of rabbit.
rabbit.tunnel - package rabbit.tunnel
 
rabbit.util - package rabbit.util
Utility classes used in the rabbit project.
RandomCacheResourceSource - Class in rabbit.proxy
A resource that gets ranges from the cache.
RandomCacheResourceSource(Cache<HttpHeader, HttpHeader>, Connection.RequestHandler, TaskRunner, List<Range>, long) - Constructor for class rabbit.proxy.RandomCacheResourceSource
 
Range - Class in rabbit.io
A class to handle a range.
Range(long, long) - Constructor for class rabbit.io.Range
 
read(long) - Method in class rabbit.proxy.SimpleTrafficLogger
 
read() - Method in class rabbit.proxy.SimpleTrafficLogger
 
read(long) - Method in interface rabbit.util.TrafficLogger
Log a read
read() - Method in interface rabbit.util.TrafficLogger
Get the number of read bytes
readExternal(ObjectInput) - Method in class rabbit.http.GeneralHeader
 
readExternal(ObjectInput) - Method in class rabbit.http.Header
 
readExternal(ObjectInput) - Method in class rabbit.http.HttpHeader
 
readExternal(ObjectInput) - Method in class rabbit.http.MultipartHeader
 
readHeader(String) - Method in class rabbit.proxy.HttpHeaderReader
 
readImage() - Method in class rabbit.handler.ImageHandler
Read in the image
readLine(ByteBuffer, LineListener) - Method in class rabbit.proxy.LineReader
Try to read a line.
readMore() - Method in class rabbit.proxy.WebConnectionResourceSource
 
readRequest() - Method in class rabbit.proxy.Connection
Read a request.
register(int, int, SelectionKey, SocketHandler, long) - Method in interface rabbit.io.HandlerRegistration
Registers a new handler to the given selection key.
register(int, int, SelectionKey, SocketHandler, long) - Method in class rabbit.io.MultiHandlerRegistration
 
register(Logger, SelectableChannel, Selector, int, SocketHandler) - Static method in class rabbit.io.SelectorRegistrator
 
register(Logger, SelectableChannel, Selector, int, SocketHandler, long) - Static method in class rabbit.io.SelectorRegistrator
 
register(int, int, SelectionKey, SocketHandler, long) - Method in class rabbit.io.SimpleHandlerRegistration
 
register() - Method in class rabbit.proxy.BaseSocketHandler
 
register() - Method in class rabbit.proxy.WebConnectionResourceSource
 
release(Connection) - Method in interface rabbit.handler.ResourceSource
Release any held resources.
release(Connection) - Method in class rabbit.proxy.FileResourceSource
 
release(Connection) - Method in class rabbit.proxy.WebConnectionResourceSource
 
releaseConnection(WebConnection) - Method in class rabbit.io.ConnectionHandler
Return a WebConnection to the pool so that it may be reused.
releaseWebConnection(WebConnection) - Method in class rabbit.proxy.HttpProxy
Release a WebConnection so that it may be reused if possible.
remove(K) - Method in interface rabbit.cache.Cache
Remove the Entry with key o from the cache.
remove(K) - Method in class rabbit.cache.NCache
Remove the Entry with key k from the cache.
removeAttribute(String) - Method in class rabbit.html.Tag
Remove an attribute.
removeCache() - Method in class rabbit.handler.BaseHandler
 
removeCache() - Method in class rabbit.handler.ImageHandler
Remove the cachestream and the cache entry.
removeCurrentConnection(Connection) - Method in class rabbit.proxy.HttpProxy
Remove a current connection.
removeHeader(String) - Method in class rabbit.http.GeneralHeader
removes a headerline from this header
removeToken(int) - Method in class rabbit.html.HtmlBlock
Remove a Token at the given position.
removeValue(String) - Method in class rabbit.http.GeneralHeader
removes a header with the specified value
request - Variable in class rabbit.filter.HtmlFilter
The actual request made.
request - Variable in class rabbit.handler.BaseHandler
The actual request made.
request - Variable in class rabbit.meta.BaseMetaHandler
 
RequestLineTooLongException - Exception in rabbit.proxy
A class to handle the case where http header lines are too long.
RequestLineTooLongException() - Constructor for exception rabbit.proxy.RequestLineTooLongException
 
Resolver - Interface in rabbit.io
An interface to handle name lookups.
ResourceSource - Interface in rabbit.handler
A resource source.
response - Variable in class rabbit.filter.HtmlFilter
The actual response.
response - Variable in class rabbit.handler.BaseHandler
The actual response.
restSize() - Method in class rabbit.html.HtmlBlock
Get the number of bytes that the rest is.
ReverseProxy - Class in rabbit.filter
This is a filter that set up rabbit for reverse proxying.
ReverseProxy() - Constructor for class rabbit.filter.ReverseProxy
 
rotateLogs() - Method in class rabbit.proxy.ProxyLogger
 
rotateLogs() - Method in interface rabbit.util.Logger
Rotate the current logs.
run() - Method in class rabbit.cache.NCache
Loop in a cleaning loop.
run() - Method in class rabbit.proxy.BlockSender
 
run() - Method in class rabbit.proxy.HttpHeaderReader
 
run() - Method in class rabbit.proxy.HttpProxy
 
run() - Method in class rabbit.proxy.TransferHandler
 
run() - Method in class rabbit.proxy.WebConnectionResourceSource
 
run() - Method in class rabbit.tunnel.MeteredTunnel
 
runMainTask(Runnable) - Method in class rabbit.proxy.HttpProxy
 
runMainTask(Runnable) - Method in interface rabbit.proxy.TaskRunner
Run a task on the main thread.
running - Variable in class rabbit.cache.NCache
 
runThreadTask(Runnable) - Method in class rabbit.proxy.HttpProxy
 
runThreadTask(Runnable) - Method in interface rabbit.proxy.TaskRunner
Run a task in another thread.

S

SA - Static variable in class rabbit.html.TagType
 
save(OutputStream) - Method in class rabbit.util.Config
save the config to a OutputStream
save(OutputStream, String) - Method in class rabbit.util.Config
save the config to a OutputStream
saveAccess(Logger, Reader) - Method in class rabbit.filter.AccessFilter
Saves the accesslist from the given Reader.
saveAccess(Logger, Reader) - Method in interface rabbit.filter.IPAccessFilter
Saves the accesslist from the given Reader.
saveUsers(Reader) - Method in class rabbit.util.SimpleUserHandler
Saves the users from the given Reader.
SB - Static variable in class rabbit.html.TagType
 
SBLINK - Static variable in class rabbit.html.TagType
 
SBODY - Static variable in class rabbit.html.TagType
 
SCC - Class in rabbit.proxy
A class that tries to setup a resource from the cache
SCC(Connection, HttpHeader, ByteBuffer, Connection.RequestHandler) - Constructor for class rabbit.proxy.SCC
 
SCRIPT - Static variable in class rabbit.html.HtmlParser
A HTML script
SCRIPT - Static variable in class rabbit.html.TagType
 
SDIV - Static variable in class rabbit.html.TagType
 
selector - Variable in class rabbit.proxy.BaseSocketHandler
The selector we are using.
SelectorRegistrator - Class in rabbit.io
A class to handle selector registrations.
SelectorRegistrator() - Constructor for class rabbit.io.SelectorRegistrator
 
SelectorStatus - Class in rabbit.meta
A status page for the proxy.
SelectorStatus() - Constructor for class rabbit.meta.SelectorStatus
 
send() - Method in class rabbit.handler.BaseHandler
 
send() - Method in class rabbit.handler.MultiPartHandler
 
send(OutputStream) - Method in class rabbit.html.HtmlBlock
Send this block (but not the rest part) on the given stream.
sendChunkEnding(SocketChannel, Selector, Logger, TrafficLogger, BlockSentListener) - Method in class rabbit.proxy.ChunkEnder
 
sendHeader() - Method in class rabbit.handler.BaseHandler
 
sendRest(OutputStream) - Method in class rabbit.html.HtmlBlock
Send the rest of the data on the given stream.
setAttribute(String, String) - Method in class rabbit.html.Tag
Set the attribute given.
setCacheDir(String) - Method in class rabbit.cache.NCache
Sets the cachedir.
setCacheTime(long) - Method in interface rabbit.cache.Cache
Set the standard expiry-time for CacheEntries
setCacheTime(long) - Method in interface rabbit.cache.CacheEntry
Set the date this object was cached.
setCacheTime(long) - Method in class rabbit.cache.NCache
Set the standard expiry-time for CacheEntries
setChanged(boolean) - Method in class rabbit.html.Token
Set the change value of this Token.
setChunking(boolean) - Method in class rabbit.proxy.Connection
Set the chunking option.
setCleanLoopTime(int) - Method in class rabbit.cache.NCache
Set how long time the cleaner sleeps between cleanups.
setConfig(String) - Method in class rabbit.proxy.HttpProxy
Set the config file to use for this proxy.
setContent(String) - Method in class rabbit.http.HttpHeader
Set the Content for the request/response Mostly not used for responses.
setContentLength(String) - Method in class rabbit.proxy.Connection
Set the content length of the response.
setDataHook(V) - Method in interface rabbit.cache.CacheEntry
Sets the data hook for this cache object.
setExistingValue(String, String) - Method in class rabbit.http.GeneralHeader
Set a specified header
setExpires(long) - Method in interface rabbit.cache.CacheEntry
Sets the expirydate of our data
setExtraInfo(String) - Method in class rabbit.proxy.Connection
Set the extra info.
setFile(String, Logger) - Method in class rabbit.util.SimpleUserHandler
Set the file to use for users, will read the files.
setHeader(String, String) - Method in class rabbit.http.GeneralHeader
Set or replaces a value for given type.
setHTTPVersion(String) - Method in class rabbit.http.HttpHeader
Set the HTTP Version to use for request.
setKeepalive(boolean) - Method in class rabbit.io.WebConnection
Set the keepalive value for this WebConnection, Can only be turned off.
setKeepalive(boolean) - Method in class rabbit.proxy.Connection
Set keepalive to a new value.
setKeepaliveTime(long) - Method in class rabbit.io.ConnectionHandler
Set the keep alive time for this handler.
setMaxSize(long) - Method in interface rabbit.cache.Cache
Set the maximum size for this cache.
setMaxSize(long) - Method in class rabbit.cache.NCache
Set the maximum size for this cache.
setMayCache(boolean) - Method in class rabbit.proxy.Connection
Set the state of this request.
setMayFilter(boolean) - Method in class rabbit.proxy.Connection
Get the state of this request.
setMayPipeline(boolean) - Method in class rabbit.io.WebConnection
Mark this WebConnection for pipelining.
setMayUseCache(boolean) - Method in class rabbit.proxy.Connection
Set the state of this request.
setMehtod(String) - Method in class rabbit.http.HttpHeader
Sets the request method of this header
setMeta(boolean) - Method in class rabbit.proxy.Connection
Set the state of this request.
setOffset(long) - Static method in class rabbit.http.HttpDateParser
Set the time offset relative GMT.
setPartialContent(long, long) - Method in class rabbit.handler.BaseHandler
Mark the current response as a partial response.
setPassword(String) - Method in class rabbit.proxy.Connection
 
setProperties(String, SProperties) - Method in class rabbit.util.Config
set the properties for a given section
setProperty(String, String, String) - Method in class rabbit.util.Config
set a property for given section.
setReasonPhrase(String) - Method in class rabbit.http.HttpHeader
Set the reason phrase for this reqponse.
setReleased() - Method in class rabbit.io.WebConnection
Mark this WebConnection as released at current time.
setRequestLine(String) - Method in class rabbit.http.HttpHeader
Set the requestline of this header
setRequestURI(String) - Method in class rabbit.http.HttpHeader
Sets the request URI of this header
setResponseHTTPVersion(String) - Method in class rabbit.http.HttpHeader
Set the HTTP version for this response.
setRest(int) - Method in class rabbit.html.HtmlBlock
Set the rest of the page to start at given position.
setSize(long) - Method in interface rabbit.cache.CacheEntry
Sets the size of our data file
setStartIndex(int) - Method in class rabbit.html.Token
Set the start index of this Token.
setStatusCode(String) - Method in class rabbit.http.HttpHeader
Set the Status code for this response.
setStatusCode(String) - Method in class rabbit.proxy.Connection
 
setStatusLine(String) - Method in class rabbit.http.HttpHeader
Set the statusline of this header.
setStrictHttp(boolean) - Method in class rabbit.proxy.HttpProxy
 
setTag(Tag) - Method in class rabbit.html.Token
Set the tag of this token, also set the type to TAG.
setText(byte[]) - Method in class rabbit.html.HtmlParser
Set the data block to parse.
setText(byte[], int) - Method in class rabbit.html.HtmlParser
Set the data block to parse.
setText(String) - Method in class rabbit.html.HtmlParser
Set the data to parse.
setText(String) - Method in class rabbit.html.Token
Set the text of this Token, also sets the type to TEXT.
setToken(Token) - Method in class rabbit.html.Tag
Set the parent token of this tag.
setType(String) - Method in class rabbit.html.Tag
Set the Type of this Tag.
setup(Logger, SProperties) - Method in class rabbit.cache.NCache
Configure the cache system from the given config.
setup(Logger, SProperties) - Method in class rabbit.filter.AccessFilter
Setup this class.
setup(Logger, SProperties) - Method in class rabbit.filter.BlockFilter
Setup this class with the given properties.
setup(Logger, SProperties) - Method in class rabbit.filter.DontCacheFilter
Setup this class with the given properties.
setup(Logger, SProperties) - Method in class rabbit.filter.DontFilterFilter
Setup this class with the given properties.
setup(Logger, SProperties) - Method in class rabbit.filter.HttpBaseFilter
Setup this class with the given properties.
setup(Logger, SProperties) - Method in interface rabbit.filter.HttpFilter
Setup this filter.
setup(Logger, SProperties) - Method in class rabbit.filter.HttpSnoop
Setup this class with the given properties.
setup(Logger, SProperties) - Method in interface rabbit.filter.IPAccessFilter
Setup this filter.
setup(Logger, SProperties) - Method in class rabbit.filter.ProxyAuth
Setup this class with the given properties.
setup(Logger, SProperties) - Method in class rabbit.filter.ReverseProxy
Setup this class with the given properties.
setup(Logger, SProperties) - Method in class rabbit.filter.SQLProxyAuth
Setup this class with the given properties.
setup(Logger, SProperties) - Method in class rabbit.handler.BaseHandler
 
setup(Logger, SProperties) - Method in class rabbit.handler.FilterHandler
Setup this class.
setup(Logger, SProperties) - Method in class rabbit.handler.GZipHandler
 
setup(Logger, SProperties) - Method in interface rabbit.handler.HandlerFactory
setup the handler factory.
setup(Logger, SProperties) - Method in class rabbit.handler.ImageHandler
 
setup(Logger, SProperties) - Method in class rabbit.io.ConnectionHandler
 
setup(SProperties, Logger) - Method in interface rabbit.proxy.DNSHandler
Do any neccessary setup.
setup(SProperties, Logger) - Method in class rabbit.proxy.DNSJavaHandler
Do any neccessary setup.
setup(SProperties, Logger) - Method in class rabbit.proxy.DNSSunHandler
Do any neccessary setup.
setup() - Static method in class rabbit.proxy.HtmlPage
setup this class for usage
setup(SProperties) - Static method in class rabbit.proxy.HtmlPage
setup this class for usage
setup(SProperties) - Method in class rabbit.proxy.ProxyLogger
 
setUserName(String) - Method in class rabbit.proxy.Connection
 
setUsers(Map<String, String>) - Method in class rabbit.util.SimpleUserHandler
Return the hash of users.
setValue(String) - Method in class rabbit.http.Header
 
SFONT - Static variable in class rabbit.html.TagType
 
SFORM - Static variable in class rabbit.html.TagType
 
SHEAD - Static variable in class rabbit.html.TagType
 
SHTML - Static variable in class rabbit.html.TagType
 
SIMG - Static variable in class rabbit.html.TagType
 
SimpleHandlerRegistration - Class in rabbit.io
A class to hold information about when an operation was attached to the selector.
SimpleHandlerRegistration(SocketHandler, long) - Constructor for class rabbit.io.SimpleHandlerRegistration
 
SimpleTagFilter - Class in rabbit.filter
A class that inserts some text and links at the top of a page.
SimpleTagFilter() - Constructor for class rabbit.filter.SimpleTagFilter
 
SimpleTagFilter(Connection, HttpHeader, HttpHeader) - Constructor for class rabbit.filter.SimpleTagFilter
Create a new SimpleTagFilter for the given request, response pair.
SimpleTrafficLogger - Class in rabbit.proxy
A class to track of data flows.
SimpleTrafficLogger() - Constructor for class rabbit.proxy.SimpleTrafficLogger
 
SimpleUserHandler - Class in rabbit.util
This is a class that handles users authentication using a simple text file.
SimpleUserHandler() - Constructor for class rabbit.util.SimpleUserHandler
 
SINGELQUOTE - Static variable in class rabbit.html.HtmlParser
This is the character '''
size - Variable in class rabbit.handler.BaseHandler
The length of the data beeing handled or -1 if unknown.
size() - Method in class rabbit.http.GeneralHeader
 
size() - Method in class rabbit.io.Range
 
sk - Variable in class rabbit.proxy.BaseSocketHandler
The selection key we are using.
SLAYER - Static variable in class rabbit.html.TagType
 
SLI - Static variable in class rabbit.html.TagType
 
SMETA - Static variable in class rabbit.html.TagType
 
SocketAccessController - Class in rabbit.proxy
An access controller based on socket channels.
SocketAccessController(String, Config, Logger) - Constructor for class rabbit.proxy.SocketAccessController
 
SocketHandler - Interface in rabbit.io
A handler for a socket channel.
SP - Static variable in class rabbit.html.TagType
 
SPAN - Static variable in class rabbit.html.TagType
 
SProperties - Class in rabbit.util
A simple string properties class.
SProperties() - Constructor for class rabbit.util.SProperties
 
SQLProxyAuth - Class in rabbit.filter
This is a filter that requires users to use proxy-authentication, using users in a sql table.
SQLProxyAuth() - Constructor for class rabbit.filter.SQLProxyAuth
 
SQSTRING - Static variable in class rabbit.html.HtmlParser
This is a Single Quoted String a 'string'
SSCRIPT - Static variable in class rabbit.html.TagType
 
sslports - Variable in class rabbit.proxy.HttpProxy
The List of acceptable ssl-ports.
SSPAN - Static variable in class rabbit.html.TagType
 
SSTYLE - Static variable in class rabbit.html.TagType
 
STABLE - Static variable in class rabbit.html.TagType
 
StackTrace - Class in rabbit.meta
Clears the cache completely
StackTrace() - Constructor for class rabbit.meta.StackTrace
 
START - Static variable in class rabbit.html.HtmlParser
This indicates the start of a block.
start() - Method in class rabbit.proxy.HttpProxy
Run the proxy in a separate thread.
startCleaner() - Method in class rabbit.cache.NCache
 
Status - Class in rabbit.meta
A status page for the proxy.
Status() - Constructor for class rabbit.meta.Status
 
STD - Static variable in class rabbit.html.TagType
 
STITLE - Static variable in class rabbit.html.TagType
 
stop() - Method in interface rabbit.cache.Cache
Stop this cache.
stop() - Method in class rabbit.cache.NCache
 
stop() - Method in class rabbit.proxy.HttpProxy
Run the proxy in a separate thread.
STR - Static variable in class rabbit.html.TagType
 
STRING - Static variable in class rabbit.html.HtmlParser
This indicate a String value was found.
StringCache - Class in rabbit.util
A cache for strings.
StringCache() - Constructor for class rabbit.util.StringCache
 
STT - Static variable in class rabbit.html.TagType
 
STYLE - Static variable in class rabbit.html.TagType
 
supportsTransfer() - Method in interface rabbit.handler.ResourceSource
Return true if FileChannel.transferTo can be used.
supportsTransfer() - Method in class rabbit.proxy.FileResourceSource
FileChannels can be used, will always return true.
supportsTransfer() - Method in class rabbit.proxy.RandomCacheResourceSource
FileChannels can only be partially used so go with blocks.
supportsTransfer() - Method in class rabbit.proxy.WebConnectionResourceSource
FileChannels can not be used, will always return false.
SWC - Class in rabbit.proxy
A class that tries to establish a connection to the real server or the next proxy in the chain.
SWC(Connection, HttpHeader, ByteBuffer, TrafficLoggerHandler, ClientResourceHandler, Connection.RequestHandler) - Constructor for class rabbit.proxy.SWC
 

T

TABLE - Static variable in class rabbit.html.TagType
 
Tag - Class in rabbit.html
This class describes a HTML tag.
Tag() - Constructor for class rabbit.html.Tag
 
Tag(String) - Constructor for class rabbit.html.Tag
Create a new Tag with given type
Tag.Pair - Class in rabbit.html
This class is a key value pair.
Tag.Pair(String, String) - Constructor for class rabbit.html.Tag.Pair
Create a new pair with given key and value.
TagType - Class in rabbit.html
This is a class that holds common tagtypes.
TaskRunner - Interface in rabbit.proxy
A handler that can run task in off-main threads.
TD - Static variable in class rabbit.html.TagType
 
TestHtmlParser - Class in rabbit.test
This class tests the html parser
TestHtmlParser(String) - Constructor for class rabbit.test.TestHtmlParser
 
timeout() - Method in class rabbit.handler.BaseHandler
 
timeout() - Method in interface rabbit.io.HandlerRegistration
This handler has timed out.
timeout() - Method in class rabbit.io.MultiHandlerRegistration
 
timeout() - Method in class rabbit.io.SimpleHandlerRegistration
 
timeout() - Method in interface rabbit.io.SocketHandler
Signal that the select operation timed out.
timeout() - Method in interface rabbit.io.WebConnectionListener
Creating the connection timed out.
timeout() - Method in class rabbit.meta.BaseMetaHandler
 
timeout() - Method in class rabbit.meta.FileSender
 
timeout() - Method in interface rabbit.proxy.AsyncListener
The operation timed out
timeout() - Method in class rabbit.proxy.BlockSender
 
timeout() - Method in class rabbit.proxy.HttpHeaderReader
 
timeout() - Method in class rabbit.proxy.HttpHeaderSender
 
timeout() - Method in class rabbit.proxy.HttpResponseReader
 
timeout() - Method in class rabbit.proxy.SWC
 
timeout() - Method in class rabbit.proxy.WebConnectionResourceSource
 
TITLE - Static variable in class rabbit.html.TagType
 
tlClient - Variable in class rabbit.meta.BaseMetaHandler
 
tlh - Variable in class rabbit.handler.BaseHandler
The traffic logger handler.
tlProxy - Variable in class rabbit.meta.BaseMetaHandler
 
Token - Class in rabbit.html
This class is used to describe a small part of a html page.
Token(String) - Constructor for class rabbit.html.Token
Create a new Token of type TEXT with given text.
Token(Tag) - Constructor for class rabbit.html.Token
Create a new Token of type Tag with given Tag.
Token(Tag, boolean) - Constructor for class rabbit.html.Token
Create a new Token of type Tag with given Tag.
Token(String, TokenType, int) - Constructor for class rabbit.html.Token
Create a new Token with given arguments.
Token(byte[], TokenType, int, int) - Constructor for class rabbit.html.Token
Create a new Token with given arguments.
Token(Tag, int) - Constructor for class rabbit.html.Token
Create a new Token with given arguments and of type TAG.
TokenType - Enum in rabbit.html
The different types of tokens.
toString() - Method in class rabbit.html.HtmlBlock
Get a String representation of this block.
toString() - Method in class rabbit.html.Tag.Pair
Get a String representation of this Pair.
toString() - Method in class rabbit.html.Tag
Get this Tag as a String.
toString() - Method in class rabbit.html.TagType
 
toString() - Method in class rabbit.html.Token
Get the String representation of this object.
toString() - Method in class rabbit.http.GeneralHeader
Get the text value of this header
toString() - Method in class rabbit.http.HttpHeader
get the text value of this header
toString() - Method in class rabbit.http.MultipartHeader
 
toString() - Method in class rabbit.io.Address
Get a String representation of this Address
toString() - Method in class rabbit.io.MultiHandlerRegistration
 
toString() - Method in class rabbit.io.SimpleHandlerRegistration
 
toString() - Method in class rabbit.io.WebConnection
 
toString() - Method in class rabbit.proxy.ConnectionId
 
toString() - Method in class rabbit.util.Config
Get a string describing this Config
toString() - Method in class rabbit.util.IPAccess
get the string representation of this access.
totalRead - Variable in class rabbit.handler.BaseHandler
The total amount of data that we read.
TR - Static variable in class rabbit.html.TagType
 
TrafficLogger - Interface in rabbit.util
A traffic logger interface.
TrafficLoggerHandler - Class in rabbit.proxy
A class to track of multiple network flows.
TrafficLoggerHandler() - Constructor for class rabbit.proxy.TrafficLoggerHandler
 
transfer(WebConnection, ClientResourceTransferredListener) - Method in interface rabbit.proxy.ClientResourceHandler
Transfer the resouce data
transfer() - Method in class rabbit.proxy.TransferHandler
 
Transferable - Interface in rabbit.proxy
The methods needed for fast transferTo.
transferFrom(long) - Method in class rabbit.proxy.SimpleTrafficLogger
 
transferFrom() - Method in class rabbit.proxy.SimpleTrafficLogger
 
transferFrom(long) - Method in interface rabbit.util.TrafficLogger
Log a file transfer.
transferFrom() - Method in interface rabbit.util.TrafficLogger
Get the number of bytes transferred from this resource.
TransferHandler - Class in rabbit.proxy
A handler that transfers data from a Transferable to a socket channel.
TransferHandler(TaskRunner, Transferable, Selector, SocketChannel, TrafficLogger, TrafficLogger, TransferListener, Logger) - Constructor for class rabbit.proxy.TransferHandler
 
TransferListener - Interface in rabbit.proxy
A listener for transfers.
transferOk() - Method in interface rabbit.proxy.TransferListener
The transfer completed successfully.
transferTo(long, long, WritableByteChannel) - Method in class rabbit.proxy.FileResourceSource
 
transferTo(long) - Method in class rabbit.proxy.SimpleTrafficLogger
 
transferTo() - Method in class rabbit.proxy.SimpleTrafficLogger
 
transferTo(long, long, WritableByteChannel) - Method in interface rabbit.proxy.Transferable
Transfers bytes from this channel's file to the given writable byte channel.
transferTo(long, long, WritableByteChannel) - Method in class rabbit.proxy.WebConnectionResourceSource
 
transferTo(long) - Method in interface rabbit.util.TrafficLogger
Lot a file transfer.
transferTo() - Method in interface rabbit.util.TrafficLogger
Get the number of bytes transferred to this resourse.
tryconvert() - Method in class rabbit.handler.ImageHandler
Try to convert the image.
TT - Static variable in class rabbit.html.TagType
 

U

UNKNOWN - Static variable in class rabbit.html.HtmlParser
Unknown token.
unknownHost(Exception) - Method in interface rabbit.io.InetAddressListener
Lookup failed.
unregister(SelectionKey, SocketHandler, String) - Method in interface rabbit.io.HandlerRegistration
unregister the given handler.
unregister(SelectionKey, SocketHandler, String) - Method in class rabbit.io.MultiHandlerRegistration
 
unregister(Selector, SelectionKey, SocketHandler, String) - Static method in class rabbit.io.SelectorRegistrator
 
unregister(SelectionKey, SocketHandler, String) - Method in class rabbit.io.SimpleHandlerRegistration
 
unregister() - Method in class rabbit.proxy.BaseSocketHandler
 
updateTrafficLog(TrafficLoggerHandler) - Method in class rabbit.proxy.HttpProxy
Update the currently transferred traffic statistics.
URLdecode(String) - Static method in class rabbit.util.Coder
URLDecode a string.
URLEncode(String) - Static method in class rabbit.util.Coder
URLEncode a string.
useFullURI() - Method in class rabbit.proxy.Connection
 
useSeparateThread() - Method in interface rabbit.io.SocketHandler
Check if this handler needs to run in a separate thread.
useSeparateThread() - Method in class rabbit.proxy.BaseSocketHandler
 
useSeparateThread() - Method in class rabbit.proxy.WebConnectionResourceSource
 
uudecode(String) - Static method in class rabbit.util.Coder
uudecode(base64) the given string.
uuencode(String) - Static method in class rabbit.util.Coder
uuencode(base64) the given String.

V

value - Variable in class rabbit.html.Tag.Pair
The value of this pair.
valueOf(String) - Static method in enum rabbit.html.TokenType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum rabbit.meta.BaseMetaHandler.PageCompletion
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum rabbit.util.Level
Returns the enum constant of this type with the specified name.
values() - Static method in enum rabbit.html.TokenType
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum rabbit.meta.BaseMetaHandler.PageCompletion
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum rabbit.util.Level
Returns an array containing the constants of this enum type, in the order they're declared.
VERSION - Static variable in class rabbit.proxy.HttpProxy
Current version

W

WebConnection - Class in rabbit.io
A class to handle a connection to the Internet.
WebConnection(Address, Counter, Logger) - Constructor for class rabbit.io.WebConnection
Create a new WebConnection to the given InetAddress and port.
WebConnectionListener - Interface in rabbit.io
A listener for waiting on web connections.
WebConnectionResourceSource - Class in rabbit.proxy
A resource source that gets the data from a WebConnection
WebConnectionResourceSource(Selector, WebConnection, ByteBuffer, Logger, TrafficLogger, boolean, long, boolean) - Constructor for class rabbit.proxy.WebConnectionResourceSource
 
write(byte[], int, int) - Method in class rabbit.handler.GZipHandler.GZStream2Channel
 
write(byte[]) - Method in class rabbit.handler.GZipHandler.Stream2Channel
 
write(byte[], int, int) - Method in class rabbit.handler.GZipHandler.Stream2Channel
 
write(int) - Method in class rabbit.handler.GZipHandler.Stream2Channel
 
write(long) - Method in class rabbit.proxy.SimpleTrafficLogger
 
write() - Method in class rabbit.proxy.SimpleTrafficLogger
 
write(long) - Method in interface rabbit.util.TrafficLogger
Log a write
write() - Method in interface rabbit.util.TrafficLogger
Get the number of written bytes.
writeCache(ByteBuffer) - Method in class rabbit.handler.BaseHandler
 
writeDataToGZipper(byte[]) - Method in class rabbit.handler.FilterHandler
 
writeDataToGZipper(byte[]) - Method in class rabbit.handler.GZipHandler
Write the current block of data to the gzipper.
writeExternal(ObjectOutput) - Method in class rabbit.http.GeneralHeader
 
writeExternal(ObjectOutput) - Method in class rabbit.http.Header
 
writeExternal(ObjectOutput) - Method in class rabbit.http.HttpHeader
 
writeExternal(ObjectOutput) - Method in class rabbit.http.MultipartHeader
 

A B C D E F G H I K L M N P R S T U V W