"Fossies" - the Fresh Open Source Software archive

Member "rabbit4.11/htdocs/javadoc/index-all.html" of archive rabbit4.11-bin.tar.gz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted source code. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.


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

A

A - Static variable in class rabbit.html.TagType
Start of an A-tag
AccessFilter - Class in rabbit.filter
This is a class that filters access based on ip address.
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 class rabbit.httpio.FileResourceSource
Generally we do not come into this method, but it can happen..
addBlockListener(BlockListener) - Method in interface rabbit.httpio.ResourceSource
Add a ByteBuffer listener.
addBlockListener(BlockListener) - Method in class rabbit.httpio.WebConnectionResourceSource
 
addBlockListener(BlockListener) - Method in class rabbit.proxy.RandomCacheResourceSource
 
addCache() - Method in class rabbit.handler.BaseHandler
Set up the cache stream if available.
addCache() - Method in class rabbit.handler.ImageHandler
 
addContentListener(ClientResourceListener) - Method in interface rabbit.proxy.ClientResourceHandler
Add a listener for the client resource data.
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.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.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
addPageInformation(StringBuilder) - Method in class rabbit.meta.TaskTimings
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(TrafficLoggerHandler) - Method in class rabbit.proxy.TrafficLoggerHandler
Add our statistics to the given other TrafficLoggerHandler.
addTo(TrafficLogger) - Method in class rabbit.util.SimpleTrafficLogger
 
addTo(TrafficLogger) - Method in interface rabbit.util.TrafficLogger
Add the current log into the other TrafficLogger.
addToEnvironment(String, Object) - Method in class rabbit.jndi.HierContext
 
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
Create a new AdFilter factory
AdFilter(Connection, HttpHeader, HttpHeader) - Constructor for class rabbit.filter.AdFilter
Create a new AdFilter for the given request, response pair.
append(String) - Method in class rabbit.http.Header
Update the value by appending the given string to it.
APPLET - Static variable in class rabbit.html.TagType
Start of an APPLET-tag
AsyncListener - Interface in rabbit.httpio
A listener for asynchronous events.
authenticate(String, String) - Method in interface rabbit.filter.authenticate.Authenticator
Try to authenticate the user.
authenticate(String, String) - Method in class rabbit.filter.authenticate.PlainFileAuthenticator
 
authenticate(String, String) - Method in class rabbit.filter.authenticate.SQLAuthenticator
 
Authenticator - Interface in rabbit.filter.authenticate
Something that can authenticate users using some kind of database.
AuthUserInfo - Class in rabbit.filter.authenticate
Information about an authenticated user.
AuthUserInfo(String, long, InetAddress) - Constructor for class rabbit.filter.authenticate.AuthUserInfo
A user has successfully managed to authenticat

B

B - Static variable in class rabbit.html.TagType
Start of an B-tag
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.
BadHttpHeaderException - Exception in rabbit.httpio
Exception signaling that a http header could not be constructed.
BadHttpHeaderException(String) - Constructor for exception rabbit.httpio.BadHttpHeaderException
Create a new BadHttpHeaderException.
Base64 - Class in rabbit.util
This class encodes/decodes stuff to/from the web.
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, 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
The states of the generated page
BaseSocketHandler - Class in rabbit.httpio
A base class for socket handlers.
BaseSocketHandler(SocketChannel, BufferHandle, NioHandler) - Constructor for class rabbit.httpio.BaseSocketHandler
Create a new BaseSocketHandler that will handle the traffic on the given channel
bind(String, Object) - Method in class rabbit.jndi.HierContext
 
bind(Name, Object) - Method in class rabbit.jndi.HierContext
 
bindings - Variable in class rabbit.jndi.HierContext
 
BLINK - Static variable in class rabbit.html.TagType
Start of an BLINK-tag
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
 
BlockListener - Interface in rabbit.httpio
A listener for resource data.
BlockSender - Class in rabbit.httpio
A handler that writes data blocks.
BlockSender(SocketChannel, NioHandler, TrafficLogger, BufferHandle, boolean, BlockSentListener) - Constructor for class rabbit.httpio.BlockSender
Create a new BlockSender that will write data to the given channel
blockSent() - Method in class rabbit.handler.BaseHandler
 
blockSent() - Method in class rabbit.handler.FilterHandler
 
blockSent() - Method in class rabbit.handler.GZipHandler
 
blockSent() - Method in interface rabbit.httpio.BlockSentListener
The http header has been sent.
blockSent() - Method in class rabbit.httpio.HttpHeaderSender
 
blockSent() - Method in class rabbit.meta.BaseMetaHandler
 
BlockSentListener - Interface in rabbit.httpio
A listener for notification that a data block has been sent.
BODY - Static variable in class rabbit.html.TagType
Start of an BODY-tag
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.
BoundBinder - Class in rabbit.io
A binder that will bind to a specific InetAddress
BoundBinder(InetAddress) - Constructor for class rabbit.io.BoundBinder
Create a new SocketBinder that will always bind to the given InetAddress.
BR - Static variable in class rabbit.html.TagType
A BR-tag
BufferHandle - Interface in rabbit.io
A handle to a ByteBuffer
bufferRead(BufferHandle) - Method in class rabbit.client.FileSaver
 
bufferRead(BufferHandle) - Method in class rabbit.handler.BaseHandler
 
bufferRead(BufferHandle) - Method in class rabbit.handler.GZipHandler
 
bufferRead(BufferHandle) - Method in class rabbit.handler.MultiPartHandler
 
bufferRead(BufferHandle) - Method in interface rabbit.httpio.BlockListener
A buffer has been read, the buffer has been flip:ed before this call is made so position and remaining are valid.
bufHandle - Variable in class rabbit.httpio.FileResourceSource
 
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.
CacheBufferHandle - Class in rabbit.io
A handle to a ByteBuffer that uses a buffer handler
CacheBufferHandle(BufferHandler) - Constructor for class rabbit.io.CacheBufferHandle
Create a new CacheBufferHandle that uses the given BufferHandler for the caching of the ByteBuffer:s
cacheChannel - Variable in class rabbit.handler.BaseHandler
The cache channel.
CacheConfiguration - Interface in rabbit.cache
A description of cache configuration.
CacheConfigurationBase - Class in rabbit.cache.utils
A base implementation of cache configuration.
CacheConfigurationBase() - Constructor for class rabbit.cache.utils.CacheConfigurationBase
 
CacheEntry<K,V> - Interface in rabbit.cache
A cached object.
CacheException - Exception in rabbit.cache
An exception thrown when a cache operation failed.
CacheException(String) - Constructor for exception rabbit.cache.CacheException
 
CacheException(String, Throwable) - Constructor for exception rabbit.cache.CacheException
 
CacheResourceSource - Class in rabbit.proxy
A resource that comes from the cache.
CacheResourceSource(Cache<HttpHeader, HttpHeader>, CacheEntry<HttpHeader, HttpHeader>, NioHandler, BufferHandler) - Constructor for class rabbit.proxy.CacheResourceSource
Create a new CacheResourceSource.
CacheStatus - Class in rabbit.meta
A cache inspector.
CacheStatus() - Constructor for class rabbit.meta.CacheStatus
 
CacheUtils - Class in rabbit.cache.utils
Helper methods for file based caches.
CacheUtils() - Constructor for class rabbit.cache.utils.CacheUtils
 
canConvert() - Method in class rabbit.handler.convert.ExternalProcessConverter
 
canConvert() - Method in interface rabbit.handler.convert.ImageConverter
Check if this image converter can do any work.
canConvert() - Method in class rabbit.handler.convert.JavaImageConverter
 
changesContentSize() - Method in class rabbit.handler.BaseHandler
®return false if 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.
checkAccess(SocketChannel) - Method in class rabbit.proxy.SocketAccessController
Check if the given channel is allowed access.
checkFileType(File) - Method in class rabbit.handler.ImageHandler
 
checkStrongEtag(String, String) - Static method in class rabbit.proxy.ETagUtils
Check if we have a strong etag match.
checkWeakEtag(HttpHeader, HttpHeader) - Static method in class rabbit.proxy.ETagUtils
Remove any W/ prefix then check if etags are equal.
checkWeakEtag(String, String) - Static method in class rabbit.proxy.ETagUtils
Remove any W/ prefix from the inputs then check if they are equal.
ChunkDataFeeder - Interface in rabbit.httpio
A feeder of chunked data
ChunkEnder - Class in rabbit.httpio
A class that sends the chunk ending (with an empty footer).
ChunkEnder() - Constructor for class rabbit.httpio.ChunkEnder
 
ChunkHandler - Class in rabbit.httpio
The chunk handler gets raw data buffers and passes the de-chunked content to the listener.
ChunkHandler(ChunkDataFeeder, boolean) - Constructor for class rabbit.httpio.ChunkHandler
Create a new ChunkHandler that will get data from the given feeder.
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.NCache
Clear the Cache from files.
clear() - Method in class rabbit.proxy.TrafficLoggerHandler
Zero out all statistics in this TrafficLoggerHandler.
clear() - Method in class rabbit.util.SimpleTrafficLogger
 
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
 
ClientBase - Class in rabbit.client
A class for doing http requests.
ClientBase() - Constructor for class rabbit.client.ClientBase
Create a new ClientBase.
ClientListener - Interface in rabbit.client
A client that handles the event generated by the ClientBase class.
ClientListenerAdapter - Class in rabbit.client
A basic ClientListener.
ClientListenerAdapter() - Constructor for class rabbit.client.ClientListenerAdapter
 
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
ClientResourceListener - Interface in rabbit.proxy
A listener for client resource data (POST:ed content).
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.
ClientTrafficLogger - Interface in rabbit.proxy
A logger that gets notified about client traffic usage.
cloneCtx() - Method in class rabbit.jndi.HierContext
 
close() - Method in class rabbit.io.WebConnection
 
close() - Method in class rabbit.jndi.HierContext
 
closed() - Method in class rabbit.httpio.BaseSocketHandler
Does nothing by default
closed() - Method in class rabbit.httpio.BlockSender
 
closed() - Method in interface rabbit.httpio.HttpHeaderListener
The socket connection has been closed, either by this end or the other side.
closed() - Method in class rabbit.httpio.HttpHeaderReader
 
closed() - Method in class rabbit.httpio.HttpResponseReader
 
closed() - Method in class rabbit.httpio.WebConnectionResourceSource
 
closed() - Method in class rabbit.proxy.SWC
 
closeDown() - Method in class rabbit.httpio.BaseSocketHandler
 
closeStreams(Process) - Method in class rabbit.handler.convert.ExternalProcessConverter
Close the streams to the external process.
COMMENT - Static variable in class rabbit.html.HtmlParser
A HTML comment "<!-- some text -->"
composeName(String, String) - Method in class rabbit.jndi.HierContext
 
composeName(Name, Name) - Method in class rabbit.jndi.HierContext
 
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(NioHandler, WebConnectionListener) - Method in class rabbit.io.WebConnection
Try to establish the network connection.
Connection - Class in rabbit.proxy
The base connection class for rabbit.
Connection(ConnectionId, SocketChannel, HttpProxy) - Constructor for class rabbit.proxy.Connection
Create a new Connection
Connection - Class in rabbit.webserver
A connection to a web client.
Connection(SimpleWebServer, SocketChannel) - Constructor for class rabbit.webserver.Connection
Create a new Connection for the given web server and socket channel.
connectionAccepted(SocketChannel) - Method in class rabbit.proxy.ProxyConnectionAcceptor
 
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(Counter, ProxyChain, NioHandler) - Constructor for class rabbit.io.ConnectionHandler
Create a new ConnectionHandler.
ConnectionId - Class in rabbit.proxy
The id for a connection.
ConnectionId(int, long) - Constructor for class rabbit.proxy.ConnectionId
Create a new identifier for a Connection
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) - Constructor for class rabbit.http.ContentRangeParser
Try to parse the given content range.
convertedFile - Variable in class rabbit.handler.ImageHandler
 
convertImage(File, File, String) - Method in class rabbit.handler.convert.ExternalProcessConverter
 
convertImage(File, File, String) - Method in interface rabbit.handler.convert.ImageConverter
Convert an image.
convertImage(File, File, String) - Method in class rabbit.handler.convert.JavaImageConverter
 
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.
correctSocketAddress(InetAddress) - Method in class rabbit.filter.authenticate.AuthUserInfo
Check if the user is still using the same InetAddress
correctToken(String) - Method in class rabbit.filter.authenticate.AuthUserInfo
Check if the given token matches the token for this user
Counter - Class in rabbit.util
This class counts different messages
Counter() - Constructor for class rabbit.util.Counter
 
CountingClientBaseStopper - Class in rabbit.client
A helper class that shuts down the clientBase when all requests have finished.
CountingClientBaseStopper(ClientBase) - Constructor for class rabbit.client.CountingClientBaseStopper
Create a new CountingClientBaseStopper that will shutdown the given client once all outstanding requests have been fully handled.
create(String, Connection) - Method in class rabbit.proxy.FileTemplateHttpGeneratorFactory
 
create(String, Connection) - Method in interface rabbit.proxy.HttpGeneratorFactory
Create a HttpGenerator for the given connection
create(String, Connection) - Method in class rabbit.proxy.StandardHttpGeneratorFactory
 
createCtx(HierContext, String, Hashtable<?, ?>) - Method in class rabbit.jndi.HierContext
 
createSubcontext(String) - Method in class rabbit.jndi.HierContext
 
createSubcontext(Name) - Method in class rabbit.jndi.HierContext
 
CRLF - Static variable in class rabbit.http.Header
The String consisting of \r and \n

D

dataPacked() - Method in interface rabbit.zip.GZipPackListener
Called when all data has been packed.
DataSourceHelper - Class in rabbit.filter
A helper class for dealing with DataSource:s resource user password select - the sql query to run
DataSourceHelper(SProperties, String) - Constructor for class rabbit.filter.DataSourceHelper
Create a new DataSourceHelper
decode(String) - Static method in class rabbit.util.Base64
uudecode(base64) the given string.
DefaultBinder - Class in rabbit.io
A binder that only binds to the wildcard address and port.
DefaultBinder() - Constructor for class rabbit.io.DefaultBinder
 
delete(File) - Static method in class rabbit.io.FileHelper
Try to delete a file.
deleteFile(File) - Method in class rabbit.handler.BaseHandler
 
destroySubcontext(String) - Method in class rabbit.jndi.HierContext
 
destroySubcontext(Name) - Method in class rabbit.jndi.HierContext
 
DIV - Static variable in class rabbit.html.TagType
Start of an DIV-tag
DNSHandler - Interface in rabbit.dns
A DNS handler.
DNSJavaHandler - Class in rabbit.dns
A DNS handler using the dnsjava packages
DNSJavaHandler() - Constructor for class rabbit.dns.DNSJavaHandler
 
DNSSunHandler - Class in rabbit.dns
A DNS handler using the standard java packages.
DNSSunHandler() - Constructor for class rabbit.dns.DNSSunHandler
 
doConnectFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.BlockFilter
 
doConnectFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.DontCacheFilter
 
doConnectFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.DontFilterFilter
 
doConnectFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.HttpBaseFilter
 
doConnectFiltering(SocketChannel, HttpHeader, Connection) - Method in interface rabbit.filter.HttpFilter
Test if a socket/header combination is valid or return a new HttpHeader.
doConnectFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.HttpSnoop
 
doConnectFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.NoGZipEncoding
 
doConnectFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.ProxyAuth
 
doConnectFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.RevalidateFilter
 
doConnectFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.ReverseProxy
 
doConnectFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.SetHeaderFilter
 
doConnectFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.SQLBlockFilter
 
DOCTYPE - Static variable in class rabbit.html.TagType
Start of an DOCTYPE-tag
doError(int, String) - Method in class rabbit.proxy.Connection
Send an error (400 Bad Request) to the client.
doHttpInFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.BlockFilter
 
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
 
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
 
doHttpInFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.NoGZipEncoding
 
doHttpInFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.ProxyAuth
Check that the user has been authenticated..
doHttpInFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.RevalidateFilter
 
doHttpInFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.ReverseProxy
 
doHttpInFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.SetHeaderFilter
 
doHttpInFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.SQLBlockFilter
 
doHttpOutFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.BlockFilter
 
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
 
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
 
doHttpOutFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.NoGZipEncoding
 
doHttpOutFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.ProxyAuth
 
doHttpOutFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.RevalidateFilter
 
doHttpOutFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.ReverseProxy
 
doHttpOutFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.SetHeaderFilter
 
doHttpOutFiltering(SocketChannel, HttpHeader, Connection) - Method in class rabbit.filter.SQLBlockFilter
 
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
 
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.
encode(String) - Static method in class rabbit.util.Base64
uuencode(base64) the given String.
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.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 object against another object.
escapeHtml(String) - Static method in class rabbit.html.HtmlEscapeUtils
Make the gven string html-safe.
establish() - Method in class rabbit.proxy.SCC
 
establish() - Method in class rabbit.proxy.SWC
Try to establish a web connection.
ETagUtils - Class in rabbit.proxy
Methods dealing with etags
ETagUtils() - Constructor for class rabbit.proxy.ETagUtils
 
ExternalProcessConverter - Class in rabbit.handler.convert
An image converter that runs an external program to do the actual conversion.
ExternalProcessConverter(SProperties) - Constructor for class rabbit.handler.convert.ExternalProcessConverter
Create a new ExternalProcessConverter configured from the given properties.

F

failed(Exception) - Method in class rabbit.client.FileSaver
 
failed(Exception) - Method in class rabbit.handler.BaseHandler
 
failed(Exception) - Method in interface rabbit.httpio.AsyncListener
Reading failed
failed(Exception) - Method in class rabbit.httpio.HttpHeaderSender
 
failed(Exception) - Method in class rabbit.httpio.HttpResponseReader
 
failed(Exception) - Method in interface rabbit.httpio.TransferListener
Reading failed
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 class rabbit.proxy.SWC
 
failed(Exception) - Method in interface rabbit.zip.GZipListener
Signal that an exception has occurred during handling of data.
fc - Variable in class rabbit.httpio.FileResourceSource
 
FileHandler<T> - Interface in rabbit.cache.ncache
An object that can read and write objects to file.
FileHelper - Class in rabbit.io
Helper class for common file operations.
FileHelper() - Constructor for class rabbit.io.FileHelper
 
FileResourceSource - Class in rabbit.httpio
A resource that comes from a file.
FileResourceSource(String, NioHandler, BufferHandler) - Constructor for class rabbit.httpio.FileResourceSource
Create a new FileResourceSource using the given filename
FileResourceSource(File, NioHandler, BufferHandler) - Constructor for class rabbit.httpio.FileResourceSource
Create a new FileResourceSource using the given filename
FILES_PER_DIR - Static variable in class rabbit.cache.utils.CacheUtils
The maximum number of files per directory
FileSaver - Class in rabbit.client
A class to save a ResourceSource into a file.
FileSaver(HttpHeader, ClientBase, ClientListener, ResourceSource, File) - Constructor for class rabbit.client.FileSaver
Create a new FileSaver that will write a resource to the given file.
FileSender - Class in rabbit.meta
A file resource handler.
FileSender() - Constructor for class rabbit.meta.FileSender
 
FileTemplateHttpGeneratorFactory - Class in rabbit.proxy
A HttpGeneratorFactory that creates FileTemplateHttpGenerator instances.
FileTemplateHttpGeneratorFactory() - Constructor for class rabbit.proxy.FileTemplateHttpGeneratorFactory
 
fillBuffer(StringBuilder) - Method in class rabbit.http.GeneralHeader
Fill the given StringBuilder with text from this header.
fillBuffer(StringBuilder) - Method in class rabbit.http.HttpHeader
 
fillBuffer(StringBuilder) - Method in class rabbit.http.HttpHeaderWithContent
 
FilterHandler - Class in rabbit.handler
This handler filters out unwanted html features.
FilterHandler() - Constructor for class rabbit.handler.FilterHandler
Create a new FilterHandler that is uninitialized.
FilterHandler(Connection, TrafficLoggerHandler, HttpHeader, HttpHeader, ResourceSource, boolean, boolean, long, boolean, 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).
finish() - Method in class rabbit.zip.GZipPacker
Tell the packer that it has reached the end of data.
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
 
finished() - Method in class rabbit.zip.GZipPacker
Check if the packer is finished.
finished() - Method in interface rabbit.zip.GZipPackListener
Called when the output has been finished.
finished() - Method in interface rabbit.zip.GZipUnpackListener
Call when unpacking is really finished.
finishedRead() - Method in class rabbit.client.FileSaver
 
finishedRead() - Method in class rabbit.handler.BaseHandler
 
finishedRead() - Method in interface rabbit.httpio.BlockListener
The resource have been fully transferred
finishedRead() - Method in interface rabbit.httpio.ChunkDataFeeder
Chunk reading has been completed.
finishedRead() - Method in class rabbit.httpio.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.NCache
Make sure that the cache is written to the disk.
followRedirects() - Method in interface rabbit.client.ClientListener
Check if this client request wants to automatically follow redirects
followRedirects() - Method in class rabbit.client.ClientListenerAdapter
This method returns true, override if you want different behaviour.
FONT - Static variable in class rabbit.html.TagType
Start of an FONT-tag
FORM - Static variable in class rabbit.html.TagType
Start of an FORM-tag
FRAMESET - Static variable in class rabbit.html.TagType
Start of an FRAMESET-tag

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.client.sample.WGet
Add a set of urls to download.
get(String) - Method in class rabbit.client.sample.WGet
Add an url to the set of urls to be downloaded
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.
get401(URL, String) - Method in interface rabbit.proxy.HttpGenerator
Get a 401 Authentication Required for the given realm and url.
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(URL, String) - 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(String, Throwable) - Method in interface rabbit.proxy.HttpGenerator
Get a 500 Internal Server Error header for the given exception.
get504(String, Throwable) - Method in interface rabbit.proxy.HttpGenerator
Get a 504 Gateway Timeout for the given exception.
getActiveConnections() - Method in class rabbit.io.ConnectionHandler
Get a copy of the current connections.
getAddress() - Method in class rabbit.io.WebConnection
Get the address that this connection is connected to
getAllowList() - Method in class rabbit.filter.AccessFilter
Get the list of allowed ips
getAllowList() - Method in interface rabbit.filter.IPAccessFilter
Get the list of allowed ips
getAttribute(String) - Method in class rabbit.html.Tag
Get the value of the given key.
getBaseDir() - Method in class rabbit.webserver.SimpleWebServer
Get the directory files are served from.
getBlocks() - Method in class rabbit.html.HtmlBlock
Get the bytes for this block
getBuffer() - Method in class rabbit.httpio.BaseSocketHandler
 
getBuffer() - Method in interface rabbit.io.BufferHandle
Get a byte buffer of reasonable size, the buffer will have been cleared.
getBuffer() - Method in class rabbit.io.CacheBufferHandle
 
getBuffer() - Method in class rabbit.io.SimpleBufferHandle
 
getBuffer() - Method in interface rabbit.zip.GZipListener
Get the data buffer the listener wants the handled data in.
getBufferHandle() - Method in class rabbit.httpio.BaseSocketHandler
Get the BufferHandle this BaseSocketHandler is using
getBufferHandler() - Method in class rabbit.proxy.HttpProxy
Get the BufferHandler this proxy is using
getBufferHandler() - Method in class rabbit.webserver.SimpleWebServer
Get the BufferHandler used by this web server.
getBytes() - Method in class rabbit.http.HttpHeader
Convert this header to a byte[].
getBytes() - Method in class rabbit.http.HttpHeaderWithContent
 
getCache() - Method in class rabbit.proxy.HttpProxy
Get the cache that this proxy is currently using.
getCache() - Method in class rabbit.proxy.TrafficLoggerHandler
Get the TrafficLogger with the traffic statistics for cache data
getCacheConfiguration() - Method in interface rabbit.cache.Cache
Get the cache configuration for this cache.
getCacheConfiguration() - Method in class rabbit.cache.ncache.NCache
 
getCacheDir() - Method in interface rabbit.cache.CacheConfiguration
Get the location where this cache stores its files.
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.CacheConfiguration
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.utils.CacheConfigurationBase
 
getChanged() - Method in class rabbit.html.Token
Has this Token changed since it was created?
getChannel() - Method in class rabbit.httpio.BaseSocketHandler
Get the channel this BaseSocketHandler is using
getChannel() - Method in class rabbit.io.WebConnection
Get the actual SocketChannel that is used
getChannel() - Method in class rabbit.proxy.Connection
Get the SocketChannel to the client
getChannel() - Method in class rabbit.proxy.PartialCacher
Get the channel that is written to.
getChunking() - Method in class rabbit.proxy.Connection
Get the chunking option.
getCleanLoopTime() - Method in class rabbit.cache.ncache.NCache
Get how long time the cleaner sleeps between cleanups.
getClient() - Method in class rabbit.proxy.TrafficLoggerHandler
Get the TrafficLogger with the traffic statistics for client data
getClientResourceHandler() - Method in class rabbit.proxy.Connection
Get the client resource handler, that is the handler of any content the client is submitting (POSTED data, file uploads etc.)
getClientTrafficLoggerHandler() - Method in class rabbit.proxy.HttpProxy
Get the ClientTrafficLoggerHandler
getCode() - Method in enum rabbit.http.StatusCode
Get the numeric value of the status code
getConfig() - Method in class rabbit.handler.ImageHandler
Get the current configuration of this handler
getConfig() - Method in class rabbit.proxy.HttpProxy
Get the configuration of the proxy.
getConnection() - Method in class rabbit.filter.DataSourceHelper
Get a database connection
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 class rabbit.httpio.ProxyResolver
 
getConnectPort(int) - Method in class rabbit.httpio.SimpleResolver
 
getConnectPort(int) - Method in interface rabbit.io.Resolver
Get the port to use for connecting to a given port.
getContent() - Method in class rabbit.http.HttpHeader
Get the current content for this request/response.
getContent() - Method in class rabbit.http.HttpHeaderWithContent
 
getContentLength() - Method in class rabbit.proxy.Connection
 
getCounter() - Method in class rabbit.proxy.Connection
 
getCounter() - Method in class rabbit.proxy.HttpProxy
Get the current Counter
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.NCache
Get the current size of the cache
getDataHook() - 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.
getDebugInfo() - Method in class rabbit.proxy.Connection
Get debug info for use in 500 error response
getDenyList() - Method in class rabbit.filter.AccessFilter
Get the list of denied ips
getDenyList() - Method in interface rabbit.filter.IPAccessFilter
Get the list of denied ips
getDescription() - Method in enum rabbit.http.StatusCode
Get the human readable description of this status code.
getDescription() - Method in class rabbit.httpio.BaseSocketHandler
 
getDescription() - Method in class rabbit.httpio.BlockSender
 
getDescription() - Method in class rabbit.httpio.HttpHeaderReader
 
getDescription() - Method in class rabbit.httpio.WebConnectionResourceSource
 
getDoConvert() - Method in class rabbit.handler.ImageHandler
Get the convert flag
getEnd() - Method in class rabbit.http.ContentRangeParser
Get the end index.
getEnd() - Method in class rabbit.io.Range
 
getEnd() - Method in class rabbit.proxy.PartialCacher
Get the end position of the range.
getEntries() - Method in interface rabbit.cache.Cache
Get the CacheEntries in the cache.
getEntries() - Method in class rabbit.cache.ncache.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.NCache
Get the CacheEntry assosiated with given object.
getEntryName(long, boolean, String) - Method in interface rabbit.cache.Cache
Get the file name for a cache entry.
getEntryName(long, boolean, String) - Method in class rabbit.cache.ncache.NCache
 
getEntryName(File, long, boolean, String) - Static method in class rabbit.cache.utils.CacheUtils
Get the file name for a cache entry.
getEnvironment() - Method in class rabbit.jndi.HierContext
 
getExpires() - Method in interface rabbit.cache.CacheEntry
Get the expiry-date of our file
getExtraInfo() - Method in class rabbit.proxy.Connection
Get the extra information associated with the current request.
getHeader(String) - Method in class rabbit.http.GeneralHeader
get the value of header type
getHeader() - Method in class rabbit.httpio.HttpHeaderParser
Get the current header
getHeader() - Method in interface rabbit.proxy.HttpGenerator
Get a new HttpHeader.
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
Get the HttpGenerator that this connection uses when it needs to generate a custom respons header and resource.
getHttpGeneratorFactory() - Method in class rabbit.proxy.HttpProxy
Get the current HttpGeneratorFactory.
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(URL) - Method in interface rabbit.dns.DNSHandler
Look up an internet address.
getInetAddress(String) - Method in interface rabbit.dns.DNSHandler
Look up an internet address.
getInetAddress(URL) - Method in class rabbit.dns.DNSJavaHandler
Look up an internet address.
getInetAddress(String) - Method in class rabbit.dns.DNSJavaHandler
 
getInetAddress(URL) - Method in class rabbit.dns.DNSSunHandler
 
getInetAddress(String) - Method in class rabbit.dns.DNSSunHandler
 
getInetAddress(URL, InetAddressListener) - Method in class rabbit.httpio.ProxyResolver
 
getInetAddress(URL, InetAddressListener) - Method in class rabbit.httpio.SimpleResolver
 
getInetAddress() - Method in class rabbit.io.Address
Get the internet address.
getInetAddress() - Method in class rabbit.io.BoundBinder
 
getInetAddress() - Method in class rabbit.io.DefaultBinder
 
getInetAddress(URL, InetAddressListener) - Method in interface rabbit.io.Resolver
Get the InetAddress for a given url.
getInetAddress() - Method in interface rabbit.io.SocketBinder
Get the inet address to bind to, return null to get the wildcard.
getInitialContext(Hashtable<?, ?>) - Method in class rabbit.jndi.InitCtxFactory
 
getKeepalive() - Method in class rabbit.io.WebConnection
Get the keepalive value of this WebConnection.
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
getLargeBuffer() - Method in class rabbit.httpio.BaseSocketHandler
 
getLargeBuffer() - Method in interface rabbit.io.BufferHandle
Get a byte buffer of reasonable size, the buffer will have been cleared.
getLargeBuffer() - Method in class rabbit.io.CacheBufferHandle
 
getLargeBuffer() - Method in class rabbit.io.SimpleBufferHandle
 
getLength() - Method in class rabbit.html.Token
Get the length of this token.
getLogger() - Method in interface rabbit.cache.Cache
Get the logger of this cache
getLogger() - Method in class rabbit.cache.ncache.NCache
 
getLogger() - Method in class rabbit.client.ClientBase
Get the logger that this client is using
getLogger() - Method in class rabbit.handler.BaseHandler
 
getLogger() - Method in class rabbit.httpio.BaseSocketHandler
 
getLowerCaseKey() - Method in class rabbit.html.Tag.Pair
Get the lower case key
getLowerCaseType() - Method in class rabbit.html.Tag
Get the lowercase type of this tag.
getMaxSize() - Method in interface rabbit.cache.CacheConfiguration
Get the maximum size for this cache.
getMaxSize() - Method in class rabbit.cache.utils.CacheConfigurationBase
 
getMayFilter() - Method in class rabbit.proxy.Connection
Get the state of the 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).
getMimeType(String) - Static method in class rabbit.util.MimeTypeMapper
Try to guess the mime type based on the given filename.
getMinSizeToConvert() - Method in class rabbit.handler.ImageHandler
Only try to convert images larger than this size
getNameInNamespace() - Method in class rabbit.jndi.HierContext
 
getNameParser(String) - Method in class rabbit.jndi.HierContext
 
getNameParser(Name) - Method in class rabbit.jndi.HierContext
 
getNetwork() - Method in class rabbit.proxy.TrafficLoggerHandler
Get the TrafficLogger with the traffic statistics for network data
getNewInstance(Connection, TrafficLoggerHandler, HttpHeader, HttpHeader, ResourceSource, boolean, boolean, long) - Method in class rabbit.handler.BaseHandler
 
getNewInstance(Connection, TrafficLoggerHandler, HttpHeader, HttpHeader, ResourceSource, boolean, boolean, long) - Method in class rabbit.handler.FilterHandler
 
getNewInstance(Connection, TrafficLoggerHandler, HttpHeader, HttpHeader, ResourceSource, boolean, boolean, long) - Method in class rabbit.handler.GZipHandler
 
getNewInstance(Connection, TrafficLoggerHandler, HttpHeader, HttpHeader, ResourceSource, boolean, boolean, long) - Method in interface rabbit.handler.HandlerFactory
Get a new Handler for the given request made.
getNewInstance(Connection, TrafficLoggerHandler, HttpHeader, HttpHeader, ResourceSource, boolean, boolean, long) - Method in class rabbit.handler.ImageHandler
 
getNewInstance(Connection, TrafficLoggerHandler, HttpHeader, HttpHeader, ResourceSource, boolean, boolean, long) - Method in class rabbit.handler.MultiPartHandler
 
getNioHandler() - Method in class rabbit.client.ClientBase
Get the NioHandler that this client is using
getNioHandler() - Method in class rabbit.proxy.Connection
 
getNioHandler() - Method in class rabbit.proxy.HttpProxy
Get the NioHandler that this proxy is using.
getNioHandler() - Method in class rabbit.webserver.SimpleWebServer
Get the SelectorRunner used by this web server.
getNumberOfEntries() - Method in interface rabbit.cache.Cache
Get the current number of entries in the cache.
getNumberOfEntries() - Method in class rabbit.cache.ncache.NCache
Get the current number of entries in the cache.
getOffset() - Method in class rabbit.proxy.HttpProxy
Get the time offset, that is the time between GMT and local time.
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.SelectorStatus
 
getPageHeader() - Method in class rabbit.meta.StackTrace
 
getPageHeader() - Method in class rabbit.meta.Status
 
getPageHeader() - Method in class rabbit.meta.TaskTimings
 
getPageHeader() - Static method in class rabbit.proxy.HtmlPage
Return a simple HTMLheader.
getPageHeader(Connection, StatusCode) - Static method in class rabbit.proxy.HtmlPage
Return a HTMLheader.
getPageHeader(Connection, String) - Static method in class rabbit.proxy.HtmlPage
Return a HTMLheader.
getPassword() - Method in class rabbit.proxy.Connection
Get the name of the user that is currently authorized.
getPattern(SProperties, String, String) - 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.io.BoundBinder
 
getPort() - Method in class rabbit.io.DefaultBinder
 
getPort() - Method in interface rabbit.io.SocketBinder
Get the port number to bind to, use 0 to let the system pick a port.
getPort() - Method in class rabbit.proxy.HttpProxy
Get the port this proxy is using.
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
Get the property for a given key
getProperty(String, String) - Method in class rabbit.util.SProperties
Get the property for a given key
getProxy() - Method in class rabbit.proxy.Connection
 
getProxy() - Method in class rabbit.proxy.TrafficLoggerHandler
Get the TrafficLogger with the traffic statistics for data to and from this proxy
getProxyAuthString() - Method in class rabbit.httpio.ProxyResolver
 
getProxyAuthString() - Method in class rabbit.httpio.SimpleResolver
 
getProxyAuthString() - Method in interface rabbit.io.Resolver
Get the currently set proxy authentication.
getProxyChain(SProperties, NioHandler, DNSHandler, Logger) - Method in class rabbit.httpio.InOutProxyChainFactory
 
getProxyChain(SProperties, NioHandler, DNSHandler, Logger) - Method in interface rabbit.io.ProxyChainFactory
Create a ProxyChain given the properties.
getProxyChain() - Method in class rabbit.proxy.HttpProxy
Get the ProxyChain this proxy is currently using
getReasonPhrase() - Method in class rabbit.http.HttpHeader
Get the Reason phrase of the response (only valid for responses).
getRedirectedURL(HttpHeader, String) - Method in class rabbit.client.ClientBase
Create the url that the response redirected the request to.
getReleasedAt() - Method in class rabbit.io.WebConnection
Get the time that this WebConnection was released.
getRequest(String, String) - Method in class rabbit.client.ClientBase
Submit a new request, using the given method to the given url.
getRequestLine() - Method in class rabbit.http.HttpHeader
Get the requestline of this header (only valid for requests).
getRequestLine() - Method in class rabbit.proxy.Connection
Get the request line of the request currently being handled
getRequestURI() - Method in class rabbit.http.HttpHeader
Get the requestURI of this request (only valid for requests).
getRequestURI() - Method in class rabbit.proxy.Connection
Get the current request uri.
getRequestVersion() - Method in class rabbit.proxy.Connection
Get the http version that the client used.
getResolver(String) - Method in class rabbit.httpio.InOutProxyChain
 
getResolver(String) - Method in class rabbit.httpio.ProxiedProxyChain
 
getResolver(String) - Method in class rabbit.httpio.SimpleProxyChain
 
getResolver(String) - Method in interface rabbit.io.ProxyChain
Get the Resolver to use for the given url
getResponseHTTPVersion() - Method in class rabbit.http.HttpHeader
Get the HTTP version of the response (only valid for responses).
getRestBlock() - Method in class rabbit.html.HtmlBlock
Get the rest as a byte[]
getSections() - Method in class rabbit.util.Config
get the available sections
getSelect() - Method in class rabbit.filter.DataSourceHelper
Get the select statement for this helper.
getServerIdentity() - Method in class rabbit.proxy.HttpProxy
Get the current server identity.
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
getStackTrace(Throwable) - Static method in class rabbit.util.StackTraceUtil
Print the given Throwable to a String.
getStart() - Method in class rabbit.http.ContentRangeParser
Get the start index
getStart() - Method in class rabbit.io.Range
 
getStart() - Method in class rabbit.proxy.PartialCacher
Get the start position of the range.
getStarted() - Method in class rabbit.proxy.Connection
Get the time the current request was started.
getStartIndex() - Method in class rabbit.html.Token
Get the start index of this Token.
getStartTime() - Method in class rabbit.proxy.HttpProxy
Get the time this proxy was started.
getStatus() - Method in class rabbit.proxy.Connection
Get the current status of this request
getStatusCode() - Method in class rabbit.http.HttpHeader
Get the Status code of the response (only valid for responses).
getStatusLine() - Method in class rabbit.http.HttpHeader
Get the statusline of this header (only valid for responses).
getStatusLine(String) - Method in enum rabbit.http.StatusCode
Get a http response line using this status code
getStrictHttp() - Method in class rabbit.proxy.HttpProxy
Check if strict http is turned on or off.
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 table topic 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
Get the TagType matching the given String.
getText() - Method in class rabbit.html.Token
Get the text of this token.
getTimeout() - Method in class rabbit.httpio.BaseSocketHandler
 
getTimeout() - Method in class rabbit.httpio.WebConnectionResourceSource
 
getToken(HttpHeader, Connection) - Method in interface rabbit.filter.authenticate.Authenticator
Find the token used to authenticate
getToken(HttpHeader, Connection) - Method in class rabbit.filter.authenticate.PlainFileAuthenticator
 
getToken(HttpHeader, Connection) - Method in class rabbit.filter.authenticate.SQLAuthenticator
 
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
Get the total size of the resource.
getTotal() - Method in class rabbit.proxy.PartialCacher
Get the size of the range
getTotalRead() - Method in class rabbit.httpio.ChunkHandler
Get the total number of chunk block data bytes read
getTrafficLogger() - Method in class rabbit.webserver.SimpleWebServer
Get the TrafficLogger used by this web server.
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
Get the type of this header.
getUserName() - Method in class rabbit.proxy.Connection
Get the name of the user that is currently authorized.
getUsers() - Method in class rabbit.util.SimpleUserHandler
Return the hash of users.
getValue() - Method in class rabbit.http.Header
Get the value of this header.
getVersion() - Method in class rabbit.proxy.HttpProxy
Get the version of this proxy.
getWebConnection(HttpHeader, WebConnectionListener) - Method in class rabbit.proxy.HttpProxy
Get a WebConnection.
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, HttpHeader, ResourceSource, boolean, boolean, long, boolean) - Constructor for class rabbit.handler.GZipHandler
Create a new GZipHandler for the given request.
GZipListener - Interface in rabbit.zip
A listener for gzip handling events.
GZipPacker - Class in rabbit.zip
A class that can pack gzip streams in chunked mode.
GZipPacker(GZipPackListener) - Constructor for class rabbit.zip.GZipPacker
Create a gzip packer that sends events to the given listener.
GZipPackListener - Interface in rabbit.zip
A listener for gzip pack data events.
GZipUnpacker - Class in rabbit.zip
A class that can unpack gzip streams in chunked mode.
GZipUnpacker(GZipUnpackListener, boolean) - Constructor for class rabbit.zip.GZipUnpacker
Create a new gzip or compress unpacker.
GZipUnpackListener - Interface in rabbit.zip
A listener for gzip unpack data events.

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.
handle(SocketChannel, BufferHandle) - Method in class rabbit.proxy.SSLHandler
handle the tunnel.
handleBuffer(ByteBuffer) - Method in class rabbit.httpio.HttpHeaderParser
Read the data from the buffer and try to build a http header.
handleCurrentData() - Method in class rabbit.zip.GZipPacker
Handle the next block of the current data.
handleCurrentData() - Method in class rabbit.zip.GZipUnpacker
Handle the next block of the current data.
handleData(BufferHandle) - Method in class rabbit.httpio.ChunkHandler
Try to parse and handle the new data
handleFailure(HttpHeader, Exception) - Method in interface rabbit.client.ClientListener
Handle a failure of a given request.
handleFailure(HttpHeader, Exception) - Method in class rabbit.client.ClientListenerAdapter
Logs an error to the logger and calls requestDone().
Handler - Interface in rabbit.handler
This interface descsribes the methods neccessary to implement a handler.
handleResponse(HttpHeader, HttpHeader, WebConnectionResourceSource) - Method in interface rabbit.client.ClientListener
Handle a response for a request.
handleResponse(HttpHeader, HttpHeader, WebConnectionResourceSource) - Method in class rabbit.client.ClientListenerAdapter
This method does nothing.
HandlerFactory - Interface in rabbit.handler
The methods needed to create a new Handler.
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.
handleTimeout(HttpHeader) - Method in interface rabbit.client.ClientListener
Handle a timeout of a given request.
handleTimeout(HttpHeader) - Method in class rabbit.client.ClientListenerAdapter
Logs an error to the logger and calls requestDone().
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?
hasRests() - Method in class rabbit.html.HtmlBlock
Check if this block has any rest data, that is bytes that will not be used.
Head - Class in rabbit.client.sample
A class that performs a set HEAD request to the given urls.
Head(HeadResponseListener) - Constructor for class rabbit.client.sample.Head
Create a new HEAD requestor.
head(String[]) - Method in class rabbit.client.sample.Head
Run HEAD requests to all the urls given.
head(String) - Method in class rabbit.client.sample.Head
Run HEAD requests to the given url
HEAD - Static variable in class rabbit.html.TagType
Start of an HEAD-tag
Header - Class in rabbit.http
This class holds a single 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
Create a new header
headers - Variable in class rabbit.http.GeneralHeader
The headers of this Header in order.
HeadResponseListener - Interface in rabbit.client.sample
A handler of http HEAD responses.
HierContext - Class in rabbit.jndi
A sample service provider that implements a hierarchical namespace in memory.
HierContext(HierContext, String, Hashtable<?, ?>, Map<String, Object>) - Constructor for class rabbit.jndi.HierContext
 
htab - Variable in class rabbit.meta.BaseMetaHandler
 
HTML - Static variable in class rabbit.html.TagType
Start of an HTML-tag
HtmlBlock - Class in rabbit.html
This class is used to describe a piece of a HTML page.
HtmlBlock(char[], int, Charset, byte[]) - Constructor for class rabbit.html.HtmlBlock
Create a HtmlBLock from the given byte array.
HtmlEscapeUtils - Class in rabbit.html
Escape strings to make them html-safe.
HtmlEscapeUtils() - Constructor for class rabbit.html.HtmlEscapeUtils
 
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(Charset) - Constructor for class rabbit.html.HtmlParser
Create a new HTMLParser
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.
HttpGeneratorFactory - Interface in rabbit.proxy
The factory for the HttpGenerators used by rabbit.
HttpHeader - Class in rabbit.http
A class to handle http headers.
HttpHeader() - Constructor for class rabbit.http.HttpHeader
Create a new HTTPHeader from scratch
HttpHeaderFileHandler - Class in rabbit.proxy
A FileHandler for HttpHeader
HttpHeaderFileHandler() - Constructor for class rabbit.proxy.HttpHeaderFileHandler
 
HttpHeaderListener - Interface in rabbit.httpio
A listener for http headers.
HttpHeaderParser - Class in rabbit.httpio
A parser of http headers
HttpHeaderParser(boolean, boolean) - Constructor for class rabbit.httpio.HttpHeaderParser
Create a new HttpHeaderParser
httpHeaderRead(HttpHeader, BufferHandle, boolean, boolean, long) - Method in interface rabbit.httpio.HttpHeaderListener
One http header has been read
httpHeaderRead(HttpHeader, BufferHandle, boolean, boolean, long) - Method in class rabbit.httpio.HttpResponseReader
 
httpHeaderRead(HttpHeader, BufferHandle, boolean, boolean, long) - Method in class rabbit.proxy.SWC
 
HttpHeaderReader - Class in rabbit.httpio
A handler that reads http headers
HttpHeaderReader(SocketChannel, BufferHandle, NioHandler, TrafficLogger, boolean, boolean, HttpHeaderListener) - Constructor for class rabbit.httpio.HttpHeaderReader
 
HttpHeaderSender - Class in rabbit.httpio
A handler that writes http headers
HttpHeaderSender(SocketChannel, NioHandler, TrafficLogger, HttpHeader, boolean, HttpHeaderSentListener) - Constructor for class rabbit.httpio.HttpHeaderSender
 
httpHeaderSent() - Method in class rabbit.handler.BaseHandler
 
httpHeaderSent() - Method in interface rabbit.httpio.HttpHeaderSentListener
The http header has been sent.
httpHeaderSent() - Method in class rabbit.httpio.HttpResponseReader
 
httpHeaderSent() - Method in class rabbit.meta.FileSender
 
httpHeaderSent() - Method in class rabbit.proxy.SWC
 
HttpHeaderSentListener - Interface in rabbit.httpio
A listener for notification that a http header has been sent.
HttpHeaderWithContent - Class in rabbit.http
A http header with some predefined content
HttpHeaderWithContent() - Constructor for class rabbit.http.HttpHeaderWithContent
Create a new HTTPHeader from scratch
HttpProxy - Class in rabbit.proxy
A filtering and caching http proxy.
HttpProxy() - Constructor for class rabbit.proxy.HttpProxy
Create a new HttpProxy.
httpResponse(HttpHeader, BufferHandle, boolean, boolean, long) - Method in interface rabbit.httpio.HttpResponseListener
The http header has been sent.
HttpResponseListener - Interface in rabbit.httpio
A listener for http header sent + read.
HttpResponseReader - Class in rabbit.httpio
A handler that write one http header and reads a response
HttpResponseReader(SocketChannel, NioHandler, TrafficLogger, BufferHandler, HttpHeader, boolean, boolean, HttpResponseListener) - Constructor for class rabbit.httpio.HttpResponseReader
Create a new 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

ImageConverter - Interface in rabbit.handler.convert
An image converter.
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, HttpHeader, ResourceSource, boolean, boolean, long, SProperties, boolean, int, ImageConverter) - Constructor for class rabbit.handler.ImageHandler
Create a new ImageHandler for the given request.
IMG - Static variable in class rabbit.html.TagType
Start of an IMG-tag
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.
InitCtxFactory - Class in rabbit.jndi
Factory for jndi contexts.
InitCtxFactory() - Constructor for class rabbit.jndi.InitCtxFactory
 
InOutProxyChain - Class in rabbit.httpio
A proxy chain that connects directly to the local network and uses a chained proxy to connect to the outside.
InOutProxyChain(String, NioHandler, DNSHandler, InetAddress, int, String) - Constructor for class rabbit.httpio.InOutProxyChain
 
InOutProxyChainFactory - Class in rabbit.httpio
A factory that creates InOutProxyChain:s.
InOutProxyChainFactory() - Constructor for class rabbit.httpio.InOutProxyChainFactory
 
INPUT - Static variable in class rabbit.html.TagType
Start of an INPUT-tag
inrange(InetAddress) - Method in class rabbit.util.IPAccess
check if a given ip is in this accessrange
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.
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.
isAllowed() - Method in class rabbit.proxy.SSLHandler
Are we allowed to proxy ssl-type connections ?
isCacheable() - Method in class rabbit.filter.HtmlFilter
If the filter determines that the page is not cacheable it can negate this, and FilterHandler will not cache it.
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.
isEmpty() - Method in interface rabbit.io.BufferHandle
Check if this handle is empty, that is if no buffer exists or the buffer is empty.
isEmpty() - Method in class rabbit.io.CacheBufferHandle
 
isEmpty() - Method in class rabbit.io.SimpleBufferHandle
 
isEvil(String) - Method in class rabbit.filter.AdFilter
Check if a string is evil (that is its probably advertising).
isFinished() - Method in class rabbit.proxy.MultiPartPipe
Check if the multipart data has been fully handled.
isHeadOnlyRequest() - Method in class rabbit.http.HttpHeader
Is this request for the head only?
isLarge(ByteBuffer) - Method in interface rabbit.io.BufferHandle
Check if the given buffer is a large buffer
isLarge(ByteBuffer) - Method in class rabbit.io.CacheBufferHandle
 
isLarge(ByteBuffer) - Method in class rabbit.io.SimpleBufferHandle
 
isProxyConnected() - Method in class rabbit.httpio.ProxyResolver
 
isProxyConnected() - Method in class rabbit.httpio.SimpleResolver
 
isProxyConnected() - Method in interface rabbit.io.Resolver
Check if the resolver is using a proxy or not.
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.
isUsingSmallBuffer(ByteBuffer) - Method in class rabbit.httpio.BaseSocketHandler
 
isValid() - Method in class rabbit.http.ContentRangeParser
Check if the content range was valid.
isValidUser(String, String) - Method in class rabbit.util.SimpleUserHandler
Check if a user/password combination is valid.
isWeak(String) - Static method in class rabbit.proxy.ETagUtils
Check if the given etag is weak.
iterator() - Method in class rabbit.http.GeneralHeader
 

J

JavaImageConverter - Class in rabbit.handler.convert
An image converter that uses javax.image to convert images
JavaImageConverter(SProperties) - Constructor for class rabbit.handler.convert.JavaImageConverter
Create a new JavaImageConverter using the given properties.

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
Start of an LAYER-tag
lcKey - Variable in class rabbit.html.Tag.Pair
The lowercase key..
length() - Method in class rabbit.httpio.FileResourceSource
 
length() - Method in interface rabbit.httpio.Transferable
Get the length of the resource in bytes.
length() - Method in class rabbit.httpio.WebConnectionResourceSource
 
LI - Static variable in class rabbit.html.TagType
Start of an LI-tag
LineListener - Interface in rabbit.httpio
An event handler for lines of text.
lineRead(String) - Method in class rabbit.httpio.HttpHeaderParser
Handle a newly read line.
lineRead(String) - Method in interface rabbit.httpio.LineListener
Event sent when a line of text have been read.
LineReader - Class in rabbit.httpio
A class that reads lines from a ByteBuffer.
LineReader(boolean) - Constructor for class rabbit.httpio.LineReader
Create a new LineReader.
list(String) - Method in class rabbit.jndi.HierContext
 
list(Name) - Method in class rabbit.jndi.HierContext
 
listBindings(String) - Method in class rabbit.jndi.HierContext
 
listBindings(Name) - Method in class rabbit.jndi.HierContext
 
load3rdPartyClass(String, Class<T>) - Method in class rabbit.proxy.HttpProxy
Load a 3:rd party class.
loadAccess(Reader) - Method in class rabbit.filter.AccessFilter
Loads in the accessess allowed from the given Reader
loadAccess(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.
logAndClose() - Method in class rabbit.proxy.Connection
Log the current request and close/end this connection
logAndTryRestart() - Method in class rabbit.proxy.Connection
Log the current request and start to listen for a new request if possible.
logConnection(Connection) - Method in interface rabbit.proxy.ConnectionLogger
Log a finished connection.
logConnection(Connection) - Method in class rabbit.proxy.ProxyLogger
 
logger - Variable in class rabbit.meta.BaseMetaHandler
 
LogHeadToSystemOut - Class in rabbit.client.sample
A http HEAD response handler that just logs the response to System.out.
LogHeadToSystemOut() - Constructor for class rabbit.client.sample.LogHeadToSystemOut
 
logTraffic(String, HttpHeader, TrafficLogger, TrafficLogger, TrafficLogger, TrafficLogger) - Method in interface rabbit.proxy.ClientTrafficLogger
Log the traffic usage for the given user and request.
logTraffic(String, HttpHeader, TrafficLogger, TrafficLogger, TrafficLogger, TrafficLogger) - Method in class rabbit.proxy.StandardOutTrafficLogger
 
lookup(String) - Method in class rabbit.jndi.HierContext
 
lookup(Name) - Method in class rabbit.jndi.HierContext
 
lookupDone(InetAddress) - Method in interface rabbit.io.InetAddressListener
An dns lookup has completed.
lookupLink(String) - Method in class rabbit.jndi.HierContext
 
lookupLink(Name) - Method in class rabbit.jndi.HierContext
 
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.client.sample.Head
Run a HEAD request for any url passed in args and then prints the results on System.out.
main(String[]) - Static method in class rabbit.client.sample.WGet
Download all urls given in the args arrays.
main(String[]) - Static method in class rabbit.http.HttpDateParser
Simple self test method.
main(String[]) - Static method in class rabbit.proxy.ProxyStarter
Create the ProxyStarter and let it parse the command line arguments.
main(String[]) - Static method in class rabbit.test.TestHttpHeaderReader
Start the tests
main(String[]) - Static method in class rabbit.webserver.SimpleWebServer
Start a web server using the port and base dir given as arguments.
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
Start of an META-tag
MetaHandler - Interface in rabbit.meta
The specification for dynamic status information handlers in the proxy.
MimeTypeMapper - Class in rabbit.util
A class that tries to guess mime types based on file extensions.
MimeTypeMapper() - Constructor for class rabbit.util.MimeTypeMapper
 
mkdirs(File) - Static method in class rabbit.io.FileHelper
Try to create the given directory and all parent directories that are needed.
modifyBuffer(BufferHandle) - Method in class rabbit.handler.FilterHandler
 
modifyBuffer(BufferHandle) - 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 '>'
MultiPartHandler - Class in rabbit.handler
This class handles multipart responses, this handler does not filter the resource.
MultiPartHandler() - Constructor for class rabbit.handler.MultiPartHandler
Create a new MultiPartHandler factory.
MultiPartHandler(Connection, TrafficLoggerHandler, HttpHeader, 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
Create a a new multi-part header using the given separator
MultiPartPipe - Class in rabbit.proxy
A helper class for dealing with multipart data.
MultiPartPipe(String) - Constructor for class rabbit.proxy.MultiPartPipe
Create a new MultiPartPipe
mustTunnel() - Method in class rabbit.proxy.Connection
Check if we must tunnel a request.
myAtomicName - Variable in class rabbit.jndi.HierContext
 
myEnv - Variable in class rabbit.jndi.HierContext
 
myParser - Static variable in class rabbit.jndi.HierContext
 

N

NCache<K,V> - Class in rabbit.cache.ncache
The NCache is like a Map in lookup/insert/delete The NCache is persistent over sessions (saves itself to disk).
NCache(SProperties, FileHandler<K>, FileHandler<V>) - Constructor for class rabbit.cache.ncache.NCache
Create a cache that uses default values.
needsInput() - Method in class rabbit.zip.GZipPacker
Check if the unpacker currently needs more data
needsInput() - Method in class rabbit.zip.GZipUnpacker
Check if the unpacker currently needs more data
newEntry(K) - Method in interface rabbit.cache.Cache
Reserve space for a CacheEntry with key o.
newEntry(K) - Method in class rabbit.cache.ncache.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.
NoGZipEncoding - Class in rabbit.filter
This is a class that removes "Accept-Encoding: gzip"
NoGZipEncoding() - Constructor for class rabbit.filter.NoGZipEncoding
 
NOPROXY - Static variable in class rabbit.filter.HttpBaseFilter
Constant for requests that want an unfiltered resource.

O

OBJECT - Static variable in class rabbit.html.TagType
Start of an OBJECT-tag

P

P - Static variable in class rabbit.html.TagType
Start of an P-tag
packed(byte[], int, int) - Method in interface rabbit.zip.GZipPackListener
some data has been packed.
parent - Variable in class rabbit.jndi.HierContext
 
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(File, HttpHeader) - Constructor for class rabbit.proxy.PartialCacher
Create a new PartialCacher that will update the given file with data from the given response.
PatternHelper - Class in rabbit.util
Helper class for regular expresions.
PatternHelper() - Constructor for class rabbit.util.PatternHelper
 
PlainFileAuthenticator - Class in rabbit.filter.authenticate
An authenticator that reads username and passwords from a plain text file.
PlainFileAuthenticator(SProperties) - Constructor for class rabbit.filter.authenticate.PlainFileAuthenticator
Create a new PlainFileAuthenticator that will be configured using the given properties.
possiblyFlush() - Method in interface rabbit.io.BufferHandle
release a buffer if possible.
possiblyFlush() - Method in class rabbit.io.CacheBufferHandle
 
possiblyFlush() - Method in class rabbit.io.SimpleBufferHandle
 
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
 
ProxiedProxyChain - Class in rabbit.httpio
An implementation of ProxyChain that always goes through some other proxy
ProxiedProxyChain(InetAddress, int, String) - Constructor for class rabbit.httpio.ProxiedProxyChain
Create a new ProxyChain that always will proxy to the given address
ProxyAuth - Class in rabbit.filter
This is a filter that requires users to use proxy-authentication.
ProxyAuth() - Constructor for class rabbit.filter.ProxyAuth
 
ProxyChain - Interface in rabbit.io
Interface to be able to handle different connection strategies depending on where we want to connect.
ProxyChainFactory - Interface in rabbit.io
A constructor of ProxyChain:s.
ProxyConnectionAcceptor - Class in rabbit.proxy
An acceptor handler that creates proxy client connection
ProxyConnectionAcceptor(int, HttpProxy) - Constructor for class rabbit.proxy.ProxyConnectionAcceptor
Create a new ProxyConnectionAcceptor.
ProxyLogger - Class in rabbit.proxy
A class to handle proxy logging.
ProxyLogger() - Constructor for class rabbit.proxy.ProxyLogger
Create a new ProxyLogger.
ProxyResolver - Class in rabbit.httpio
A resolver that always return the proxy address.
ProxyResolver(InetAddress, int, String) - Constructor for class rabbit.httpio.ProxyResolver
Create a new ProxyResolver that will always return the given address.
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.cache.ncache - package rabbit.cache.ncache
 
rabbit.cache.utils - package rabbit.cache.utils
 
rabbit.client - package rabbit.client
Classes that can be used to build http clients.
rabbit.client.sample - package rabbit.client.sample
A few simple example clients based on the rabbit client classes.
rabbit.dns - package rabbit.dns
DNS handling classes.
rabbit.filter - package rabbit.filter
A set of filters for sockets, http and http resources.
rabbit.filter.authenticate - package rabbit.filter.authenticate
The classes that rabbit uses to perform authentication against different resources.
rabbit.handler - package rabbit.handler
The resource handlers used in the web proxy.
rabbit.handler.convert - package rabbit.handler.convert
The image converters that rabbits handler uses.
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.httpio - package rabbit.httpio
General http io classes
rabbit.io - package rabbit.io
Classes that deal with network and i/o.
rabbit.jndi - package rabbit.jndi
 
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
 
rabbit.util - package rabbit.util
Utility classes used in the rabbit project.
rabbit.webserver - package rabbit.webserver
A simple web server, build using the rabbit components.
rabbit.zip - package rabbit.zip
This package holds the classes that handle gzip compression and unpacking..
RandomCacheResourceSource - Class in rabbit.proxy
A resource that gets ranges from the cache.
RandomCacheResourceSource(Cache<HttpHeader, HttpHeader>, RequestHandler, NioHandler, BufferHandler, List<Range>, long) - Constructor for class rabbit.proxy.RandomCacheResourceSource
Create a new ResourceSource that will get a list of ranges from a cached resource.
Range - Class in rabbit.io
A class to handle a range.
Range(long, long) - Constructor for class rabbit.io.Range
Create a range that spans the given values (inclusive).
read(InputStream) - Method in interface rabbit.cache.ncache.FileHandler
Read a T from the given stream.
read(DataInput) - Method in class rabbit.http.GeneralHeader
 
read(DataInput) - Method in class rabbit.http.Header
 
read(DataInput) - Method in class rabbit.http.HttpHeader
 
read() - Method in class rabbit.httpio.HttpHeaderReader
 
read() - Method in class rabbit.httpio.WebConnectionResourceSource
 
read(DataInput) - Method in interface rabbit.io.Storable
Fill in this object with data from the given input.
read(InputStream) - Method in class rabbit.proxy.HttpHeaderFileHandler
 
read(long) - Method in class rabbit.util.SimpleTrafficLogger
 
read() - Method in class rabbit.util.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.MultipartHeader
Read in the state of this header from the given input.
readHeader() - Method in class rabbit.httpio.HttpHeaderReader
Try to read a http header
readImage() - Method in class rabbit.handler.ImageHandler
Read in the image
readLine(ByteBuffer, LineListener) - Method in class rabbit.httpio.LineReader
Try to read a line.
readMore() - Method in interface rabbit.httpio.ChunkDataFeeder
The chunk reader needs to read more data, compact buffer before registering.
readMore() - Method in class rabbit.httpio.WebConnectionResourceSource
 
readRequest() - Method in class rabbit.proxy.Connection
Read a request.
readRequest() - Method in class rabbit.webserver.Connection
Set up a http reader to listen for http request.
rebind(String, Object) - Method in class rabbit.jndi.HierContext
 
rebind(Name, Object) - Method in class rabbit.jndi.HierContext
 
redirected(HttpHeader, String, ClientBase) - Method in interface rabbit.client.ClientListener
Handle a redirected request
redirected(HttpHeader, String, ClientBase) - Method in class rabbit.client.ClientListenerAdapter
Create the redirected url and calls redirectedTo() and requestDone().
redirectedTo(String) - Method in class rabbit.client.ClientListenerAdapter
This method does nothing, override to perform actual request.
register() - Method in interface rabbit.httpio.ChunkDataFeeder
The chunk reader needs more data.
register() - Method in class rabbit.httpio.WebConnectionResourceSource
 
release() - Method in class rabbit.httpio.FileResourceSource
 
release() - Method in interface rabbit.httpio.ResourceSource
Release any held resources.
release() - Method in class rabbit.httpio.WebConnectionResourceSource
 
releaseBuffer() - Method in class rabbit.httpio.BaseSocketHandler
 
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.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.
removeFromEnvironment(String) - Method in class rabbit.jndi.HierContext
 
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
rename(String, String) - Method in class rabbit.jndi.HierContext
 
rename(Name, Name) - Method in class rabbit.jndi.HierContext
 
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
 
requestDone(HttpHeader) - Method in interface rabbit.client.ClientListener
A request has been fully handled.
requestDone(HttpHeader) - Method in class rabbit.client.ClientListenerAdapter
Handle any cleanup in this method.
requestDone() - Method in class rabbit.client.CountingClientBaseStopper
Called when one request has finished
RequestLineTooLongException - Exception in rabbit.httpio
A class to handle the case where http header lines are too long.
RequestLineTooLongException() - Constructor for exception rabbit.httpio.RequestLineTooLongException
Create a new RequestLineTooLongException
reset() - Method in class rabbit.httpio.HttpHeaderParser
Restore the parser to its initial state
Resolver - Interface in rabbit.io
An interface to handle name lookups.
ResolvRunner - Class in rabbit.httpio
A dns lookup class that runs in the background.
ResolvRunner(DNSHandler, URL, InetAddressListener) - Constructor for class rabbit.httpio.ResolvRunner
Create a new resolver that does the DNS request on a background thread.
resourceDataRead(BufferHandle) - Method in interface rabbit.proxy.ClientResourceListener
Some parts of the resource has been read.
ResourceLoader - Class in rabbit.proxy
A class that can load and bind resources for jndi.
ResourceLoader() - Constructor for class rabbit.proxy.ResourceLoader
Create a new ResourceLoader
ResourceSource - Interface in rabbit.httpio
A resource source.
response(HttpHeader, HttpHeader) - Method in interface rabbit.client.sample.HeadResponseListener
Handle a http response.
response(HttpHeader, HttpHeader) - Method in class rabbit.client.sample.LogHeadToSystemOut
 
response - Variable in class rabbit.filter.HtmlFilter
The actual response.
response - Variable in class rabbit.handler.BaseHandler
The actual response.
RevalidateFilter - Class in rabbit.filter
This is a class that makes all requests (matching a few criterias) use revalidation even if there is a usable resource in the cache.
RevalidateFilter() - Constructor for class rabbit.filter.RevalidateFilter
 
ReverseProxy - Class in rabbit.filter
This is a filter that set up rabbit for reverse proxying.
ReverseProxy() - Constructor for class rabbit.filter.ReverseProxy
 
run() - Method in class rabbit.cache.ncache.NCache
Loop in a cleaning loop.
run() - Method in class rabbit.httpio.ResolvRunner
Run a dns lookup and then notifies the listener on the selector thread.
run() - Method in class rabbit.httpio.TransferHandler
 

S

SA - Static variable in class rabbit.html.TagType
End of an A-tag
SAPPLET - Static variable in class rabbit.html.TagType
End of an APPLET-tag
save(OutputStream) - Method in class rabbit.util.Config
save the config to a OutputStream
saveUsers(Reader) - Method in class rabbit.util.SimpleUserHandler
Saves the users from the given Reader.
SB - Static variable in class rabbit.html.TagType
End of an B-tag
SBLINK - Static variable in class rabbit.html.TagType
End of an BLINK-tag
SBODY - Static variable in class rabbit.html.TagType
End of an BODY-tag
SCC - Class in rabbit.proxy
A class that tries to setup a resource from the cache
SCC(Connection, HttpHeader, RequestHandler) - Constructor for class rabbit.proxy.SCC
Create a new SCC, a helper that sets up resources from the cache.
SCRIPT - Static variable in class rabbit.html.HtmlParser
A HTML script
SCRIPT - Static variable in class rabbit.html.TagType
Start of an SCRIPT-tag
SDIV - Static variable in class rabbit.html.TagType
End of an DIV-tag
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(BufferHandle) - Method in class rabbit.handler.GZipHandler
 
send() - Method in class rabbit.handler.MultiPartHandler
 
sendAndClose(HttpHeader) - Method in class rabbit.proxy.Connection
Send a request and then close this connection.
sendChunkEnding(SocketChannel, NioHandler, TrafficLogger, BlockSentListener) - Method in class rabbit.httpio.ChunkEnder
Send the chunk ending block.
sendHeader() - Method in class rabbit.handler.BaseHandler
 
sendHeader() - Method in class rabbit.httpio.HttpHeaderSender
Send the header
sendRequest(HttpHeader, ClientListener) - Method in class rabbit.client.ClientBase
Send a request and let the client be notified on response.
sendRequest(HttpHeader, ClientListener) - Method in class rabbit.client.CountingClientBaseStopper
Send a request
sendRequestAndWaitForResponse() - Method in class rabbit.httpio.HttpResponseReader
Start the process of sending the header and reading the response.
serialVersionUID - Static variable in exception rabbit.cache.CacheException
The serial version id
serialVersionUID - Static variable in exception rabbit.httpio.BadHttpHeaderException
Serial version.
setAttribute(String, String) - Method in class rabbit.html.Tag
Set the attribute given.
setBlockListener(BlockListener) - Method in class rabbit.httpio.ChunkHandler
Set the chunk block listener.
setCacheTime(long) - Method in interface rabbit.cache.CacheConfiguration
Set the standard expiry-time for CacheEntries
setCacheTime(long) - Method in class rabbit.cache.utils.CacheConfigurationBase
 
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.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(byte[]) - Method in class rabbit.http.HttpHeaderWithContent
Set the Content for the request/response Mostly not used for responses.
setContent(String, String) - Method in class rabbit.http.HttpHeaderWithContent
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.
setDoConvert(boolean) - Method in class rabbit.handler.ImageHandler
Śet the convert flag
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) - Method in class rabbit.util.SimpleUserHandler
Set the file to use for users, will read the files.
setFilteringNotAllowed() - Method in class rabbit.proxy.Connection
Get the state of this request.
setHeader(String, String) - Method in class rabbit.http.GeneralHeader
Set or replaces a value for given type.
SetHeaderFilter - Class in rabbit.filter
This is a class that sets headers in the request and/or response.
SetHeaderFilter() - Constructor for class rabbit.filter.SetHeaderFilter
 
setHTTPVersion(String) - Method in class rabbit.http.HttpHeader
Set the HTTP Version to use for request.
setInput(byte[], int, int) - Method in class rabbit.zip.GZipPacker
Add more compressed data to the unpacker.
setInput(byte[], int, int) - Method in class rabbit.zip.GZipUnpacker
Add more compressed data to the unpacker.
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.CacheConfiguration
Set the maximum size for this cache.
setMaxSize(long) - Method in class rabbit.cache.utils.CacheConfigurationBase
 
setMayBeFlushed(boolean) - Method in interface rabbit.io.BufferHandle
Flag that the internal ByteBuffer may not be flushed.
setMayBeFlushed(boolean) - Method in class rabbit.io.CacheBufferHandle
 
setMayBeFlushed(boolean) - Method in class rabbit.io.SimpleBufferHandle
 
setMayCache(boolean) - Method in class rabbit.proxy.Connection
Specify if we may cache the response resource.
setMayPipeline(boolean) - Method in class rabbit.io.WebConnection
Mark this WebConnection for pipelining.
setMayUseCache(boolean) - Method in class rabbit.proxy.Connection
Specify if the current resource may be served from our cache.
setMehtod(String) - Method in class rabbit.http.HttpHeader
Sets the request method of this header
setMeta() - Method in class rabbit.proxy.Connection
Flag this request as a meta-request, that is a request that the proxy should to handle.
setMustRevalidate() - Method in class rabbit.proxy.Connection
Tell this connection that the current request must be revalidated.
setOffset(long) - Static method in class rabbit.http.HttpDateParser
Set the time offset relative GMT.
setPartialContent(long) - Method in class rabbit.handler.BaseHandler
Mark the current response as a partial response.
setPassword(String) - Method in class rabbit.proxy.Connection
Set the password of the currently authenticated user (for basic proxy auth)
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.
setStartIndex(int) - Method in class rabbit.html.Token
Set the start index of this Token.
setState(GZipPackState) - Method in class rabbit.zip.GZipPacker
Change the internal gzip state to the given state.
setState(GZipUnpackState) - Method in class rabbit.zip.GZipUnpacker
Change the internal gzip state to the given state.
setStatusCode(String) - Method in class rabbit.http.HttpHeader
Set the Status code for this response.
setStatusCode(String) - Method in class rabbit.proxy.Connection
Set the status code for the current request
setStatusLine(String) - Method in class rabbit.http.HttpHeader
Set the statusline of this header.
setStrictHttp(boolean) - Method in class rabbit.proxy.HttpProxy
Toogle the strict http flag.
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, int) - Method in class rabbit.html.HtmlParser
Set the data block 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 interface rabbit.cache.CacheConfiguration
Set the internal state from the given properties
setup(SProperties) - Method in class rabbit.cache.ncache.NCache
Configure the cache system from the given config.
setup(Logger, SProperties) - Method in class rabbit.cache.utils.CacheConfigurationBase
 
setup(SProperties) - Method in interface rabbit.dns.DNSHandler
Do any neccessary setup.
setup(SProperties) - Method in class rabbit.dns.DNSJavaHandler
Do any neccessary setup.
setup(SProperties) - Method in class rabbit.dns.DNSSunHandler
 
setup(SProperties) - Method in class rabbit.filter.AccessFilter
Setup this class.
setup(SProperties, HttpProxy) - Method in class rabbit.filter.BlockFilter
Setup this class with the given properties.
setup(SProperties, HttpProxy) - Method in class rabbit.filter.DontCacheFilter
Setup this class with the given properties.
setup(SProperties, HttpProxy) - Method in class rabbit.filter.DontFilterFilter
Setup this class with the given properties.
setup(SProperties, HttpProxy) - Method in class rabbit.filter.HttpBaseFilter
 
setup(SProperties, HttpProxy) - Method in interface rabbit.filter.HttpFilter
Setup this filter.
setup(SProperties, HttpProxy) - Method in class rabbit.filter.HttpSnoop
Setup this class with the given properties.
setup(SProperties) - Method in interface rabbit.filter.IPAccessFilter
Setup this filter.
setup(SProperties, HttpProxy) - Method in class rabbit.filter.NoGZipEncoding
Setup this class with the given properties.
setup(SProperties, HttpProxy) - Method in class rabbit.filter.ProxyAuth
Setup this class with the given properties.
setup(SProperties, HttpProxy) - Method in class rabbit.filter.RevalidateFilter
 
setup(SProperties, HttpProxy) - Method in class rabbit.filter.ReverseProxy
Setup this class with the given properties.
setup(SProperties, HttpProxy) - Method in class rabbit.filter.SetHeaderFilter
 
setup(SProperties, HttpProxy) - Method in class rabbit.filter.SQLBlockFilter
Setup this class with the given properties.
setup(SProperties, HttpProxy) - Method in class rabbit.handler.BaseHandler
 
setup(SProperties, HttpProxy) - Method in class rabbit.handler.FilterHandler
Setup this class.
setup(SProperties, HttpProxy) - Method in class rabbit.handler.GZipHandler
 
setup(SProperties, HttpProxy) - Method in interface rabbit.handler.HandlerFactory
setup the handler factory.
setup(SProperties, HttpProxy) - Method in class rabbit.handler.ImageHandler
 
setup(SProperties) - Method in class rabbit.io.ConnectionHandler
Configure this ConnectionHandler using the given properties.
setup(SProperties, HttpProxy) - Method in interface rabbit.proxy.ClientTrafficLogger
Setup this logger
setup(SProperties) - Method in class rabbit.proxy.FileTemplateHttpGeneratorFactory
 
setup() - Static method in class rabbit.proxy.HtmlPage
Setup this class for usage
setup(SProperties) - Method in interface rabbit.proxy.HttpGeneratorFactory
Setup this factory.
setup(SProperties) - Method in class rabbit.proxy.ProxyLogger
Configure this logger from the given properties
setup(SProperties) - Method in class rabbit.proxy.StandardHttpGeneratorFactory
 
setup(SProperties, HttpProxy) - Method in class rabbit.proxy.StandardOutTrafficLogger
 
setupHandler() - Method in class rabbit.handler.FilterHandler
 
setupHandler() - Method in class rabbit.handler.GZipHandler
 
setupResource(String, SProperties, HttpProxy) - Method in class rabbit.proxy.ResourceLoader
Load and bind the resouce given by the given section name and properties.
setUserName(String) - Method in class rabbit.proxy.Connection
Set the name of the currently authenticated user (for basic proxy auth)
setUsers(Map<String, String>) - Method in class rabbit.util.SimpleUserHandler
Set the usernames and passwords to use for authentication.
setValue(String) - Method in class rabbit.http.Header
Set the value of this header to the new value given.
SFONT - Static variable in class rabbit.html.TagType
End of an FONT-tag
SFORM - Static variable in class rabbit.html.TagType
End of an FORM-tag
SFRAMESET - Static variable in class rabbit.html.TagType
End of an FRAMESET-tag
SHEAD - Static variable in class rabbit.html.TagType
End of an HEAD-tag
SHTML - Static variable in class rabbit.html.TagType
End of an HTML-tag
shutdown() - Method in class rabbit.client.ClientBase
Shutdown this client handler.
SIMG - Static variable in class rabbit.html.TagType
End of an IMG-tag
SimpleBufferHandle - Class in rabbit.io
A handle to a ByteBuffer.
SimpleBufferHandle(ByteBuffer) - Constructor for class rabbit.io.SimpleBufferHandle
Create a BufferHandle that wraps the given ByteBuffer.
SimpleProxyChain - Class in rabbit.httpio
A default implementation of a ProxyChain that always return the same SimpleResolver.
SimpleProxyChain(NioHandler, DNSHandler) - Constructor for class rabbit.httpio.SimpleProxyChain
Create a new Proxy chain that always uses direct connections.
SimpleResolver - Class in rabbit.httpio
A simple resolver that uses the given dns handler.
SimpleResolver(NioHandler, DNSHandler) - Constructor for class rabbit.httpio.SimpleResolver
Create a new Resolver that does normal DNS lookups.
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.util
A class to track of data flows.
SimpleTrafficLogger() - Constructor for class rabbit.util.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
 
SimpleWebServer - Class in rabbit.webserver
A simple web server that serves static resources.
SimpleWebServer(int, String) - Constructor for class rabbit.webserver.SimpleWebServer
Start a web server listening on the given port and serving files from the given path.
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
Get the number of headers set in this header.
size() - Method in class rabbit.io.Range
 
SLAYER - Static variable in class rabbit.html.TagType
End of an LAYER-tag
SLI - Static variable in class rabbit.html.TagType
End of an LI-tag
SMETA - Static variable in class rabbit.html.TagType
End of an META-tag
SOBJECT - Static variable in class rabbit.html.TagType
End of an OBJECT-tag
SocketAccessController - Class in rabbit.proxy
An access controller based on socket channels.
SocketAccessController(String, Config, HttpProxy) - Constructor for class rabbit.proxy.SocketAccessController
Create a new SocketAccessController that will use a list of internal filters.
SocketBinder - Interface in rabbit.io
Used to control how WebConection bind to the local sockets.
SP - Static variable in class rabbit.html.TagType
End of an P-tag
SPAN - Static variable in class rabbit.html.TagType
Start of an SPAN-tag
SProperties - Class in rabbit.util
A simple string properties class.
SProperties() - Constructor for class rabbit.util.SProperties
 
SQLAuthenticator - Class in rabbit.filter.authenticate
An authenticator that checks the username/password against an sql database.
SQLAuthenticator(SProperties) - Constructor for class rabbit.filter.authenticate.SQLAuthenticator
Create a new SQLAuthenticator that will be configured using the given properties.
SQLBlockFilter - Class in rabbit.filter
A blocker that checks hosts against a sql database
SQLBlockFilter() - Constructor for class rabbit.filter.SQLBlockFilter
 
SQSTRING - Static variable in class rabbit.html.HtmlParser
This is a Single Quoted String a 'string'
SSCRIPT - Static variable in class rabbit.html.TagType
End of an SCRIPT-tag
SSLHandler - Class in rabbit.proxy
A handler that shuttles ssl traffic
SSLHandler(HttpProxy, Connection, HttpHeader, TrafficLoggerHandler) - Constructor for class rabbit.proxy.SSLHandler
Create a new SSLHandler
sslports - Variable in class rabbit.proxy.HttpProxy
The List of acceptable ssl-ports.
SSPAN - Static variable in class rabbit.html.TagType
End of an SPAN-tag
SSTYLE - Static variable in class rabbit.html.TagType
End of an STYLE-tag
STABLE - Static variable in class rabbit.html.TagType
End of an TABLE-tag
StackTrace - Class in rabbit.meta
Clears the cache completely
StackTrace() - Constructor for class rabbit.meta.StackTrace
 
StackTraceUtil - Class in rabbit.util
Utility functions when dealing with stack traces.
StackTraceUtil() - Constructor for class rabbit.util.StackTraceUtil
 
StandardHttpGeneratorFactory - Class in rabbit.proxy
A HttpGeneratorFactory that creates StandardResponseHeaders instances.
StandardHttpGeneratorFactory() - Constructor for class rabbit.proxy.StandardHttpGeneratorFactory
 
StandardOutTrafficLogger - Class in rabbit.proxy
A simple ClientTrafficLogger that just writes simple network usage to standard out.
StandardOutTrafficLogger() - Constructor for class rabbit.proxy.StandardOutTrafficLogger
 
start() - Method in interface rabbit.cache.Cache
Start this cache.
start() - Method in class rabbit.cache.ncache.NCache
Start the thread that cleans the cache.
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.
start() - Method in class rabbit.proxy.Tunnel
Start tunneling data in both directions.
start() - Method in class rabbit.webserver.SimpleWebServer
Start serving requests.
Status - Class in rabbit.meta
A status page for the proxy.
Status() - Constructor for class rabbit.meta.Status
 
StatusCode - Enum in rabbit.http
The http response codes.
STD - Static variable in class rabbit.html.TagType
End of an TD-tag
stillValid() - Method in class rabbit.filter.authenticate.AuthUserInfo
Check if this authentication is still valid.
STITLE - Static variable in class rabbit.html.TagType
End of an TITLE-tag
stop() - Method in interface rabbit.cache.Cache
Stop this cache.
stop() - Method in class rabbit.cache.ncache.NCache
 
stop() - Method in class rabbit.proxy.HttpProxy
Run the proxy in a separate thread.
Storable - Interface in rabbit.io
An object that can be read to a DataOutput and read from a DataInput.
STR - Static variable in class rabbit.html.TagType
End of an TR-tag
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
End of an TT-tag
STYLE - Static variable in class rabbit.html.TagType
Start of an STYLE-tag
supportsTransfer() - Method in class rabbit.httpio.FileResourceSource
FileChannels can be used, will always return true.
supportsTransfer() - Method in interface rabbit.httpio.ResourceSource
Return true if FileChannel.transferTo can be used.
supportsTransfer() - Method in class rabbit.httpio.WebConnectionResourceSource
FileChannels can not be used, will always return false.
supportsTransfer() - Method in class rabbit.proxy.RandomCacheResourceSource
FileChannels can only be partially used so go with blocks.
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, Resolver, HttpHeader, TrafficLoggerHandler, ClientResourceHandler, RequestHandler) - Constructor for class rabbit.proxy.SWC
Create a new connection establisher.

T

TABLE - Static variable in class rabbit.html.TagType
Start of an TABLE-tag
Tag - Class in rabbit.html
This class describes a HTML tag.
Tag() - Constructor for class rabbit.html.Tag
Create a new Tag without type and with no arguments.
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.
TaskTimings - Class in rabbit.meta
A page that shows the currently open web connections.
TaskTimings() - Constructor for class rabbit.meta.TaskTimings
 
TD - Static variable in class rabbit.html.TagType
Start of an TD-tag
TEMPDIR - Static variable in class rabbit.cache.utils.CacheUtils
The name of the temporary cache files directory
TestHttpHeaderReader - Class in rabbit.test
A class to help test the HttpHeaderReader.
timeout() - Method in class rabbit.client.FileSaver
 
timeout() - Method in class rabbit.handler.BaseHandler
 
timeout() - Method in interface rabbit.httpio.AsyncListener
The operation timed out
timeout() - Method in class rabbit.httpio.BaseSocketHandler
Does nothing by default
timeout() - Method in class rabbit.httpio.BlockSender
 
timeout() - Method in class rabbit.httpio.HttpHeaderReader
 
timeout() - Method in class rabbit.httpio.HttpHeaderSender
 
timeout() - Method in class rabbit.httpio.HttpResponseReader
 
timeout() - Method in class rabbit.httpio.WebConnectionResourceSource
 
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 class rabbit.proxy.SWC
 
TITLE - Static variable in class rabbit.html.TagType
Start of an TITLE-tag
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(char[], 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.filter.authenticate.AuthUserInfo
 
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.MultipartHeader
 
toString() - Method in class rabbit.io.Address
Get a String representation of this Address
toString() - Method in class rabbit.io.CacheBufferHandle
 
toString() - Method in class rabbit.io.WebConnection
 
toString() - Method in class rabbit.jndi.HierContext
 
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
Start of an TR-tag
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
Create a new TrafficLoggerHandler
transfer() - Method in class rabbit.httpio.TransferHandler
Start the data transfer.
transfer(WebConnection, ClientResourceTransferredListener) - Method in interface rabbit.proxy.ClientResourceHandler
Transfer the resouce data
Transferable - Interface in rabbit.httpio
The methods needed for fast transferTo.
transferFrom(long) - Method in class rabbit.util.SimpleTrafficLogger
 
transferFrom() - Method in class rabbit.util.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.httpio
A handler that transfers data from a Transferable to a socket channel.
TransferHandler(NioHandler, Transferable, SocketChannel, TrafficLogger, TrafficLogger, TransferListener) - Constructor for class rabbit.httpio.TransferHandler
Create a new TransferHandler
TransferListener - Interface in rabbit.httpio
A listener for transfers.
transferOk() - Method in interface rabbit.httpio.TransferListener
The transfer completed successfully.
transferTo(long, long, WritableByteChannel) - Method in class rabbit.httpio.FileResourceSource
 
transferTo(long, long, WritableByteChannel) - Method in interface rabbit.httpio.Transferable
Transfers bytes from this channel's file to the given writable byte channel.
transferTo(long, long, WritableByteChannel) - Method in class rabbit.httpio.WebConnectionResourceSource
 
transferTo(long) - Method in class rabbit.util.SimpleTrafficLogger
 
transferTo() - Method in class rabbit.util.SimpleTrafficLogger
 
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
Start of an TT-tag
Tunnel - Class in rabbit.proxy
A handler that just tunnels data.
Tunnel(NioHandler, SocketChannel, BufferHandle, TrafficLogger, SocketChannel, BufferHandle, TrafficLogger, TunnelDoneListener) - Constructor for class rabbit.proxy.Tunnel
Create a tunnel that transfers data as fast as possible in full duplex.
tunnelClosed() - Method in class rabbit.proxy.SSLHandler
 

U

unbind(String) - Method in class rabbit.jndi.HierContext
 
unbind(Name) - Method in class rabbit.jndi.HierContext
 
UNKNOWN - Static variable in class rabbit.html.HtmlParser
Unknown token.
unknownHost(Exception) - Method in interface rabbit.io.InetAddressListener
Lookup failed.
unpacked(byte[], int, int) - Method in interface rabbit.zip.GZipUnpackListener
Some data has been unpacked.
updateTrafficLog(TrafficLoggerHandler) - Method in class rabbit.proxy.HttpProxy
Update the currently transferred traffic statistics.
useFullURI() - Method in class rabbit.proxy.SWC
Check if the full uri should be included in the request.
useSeparateThread() - Method in class rabbit.httpio.BaseSocketHandler
Runs on the selector thread by default
useSeparateThread() - Method in class rabbit.httpio.WebConnectionResourceSource
 

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.http.StatusCode
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.
values() - Static method in enum rabbit.html.TokenType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum rabbit.http.StatusCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum rabbit.meta.BaseMetaHandler.PageCompletion
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class rabbit.proxy.HttpProxy
Current version

W

waitForData() - Method in class rabbit.handler.GZipHandler
 
waitForRead(ReadHandler) - Method in class rabbit.httpio.BaseSocketHandler
Wait for more data to be readable on the channel
waitForWrite(WriteHandler) - Method in class rabbit.httpio.BaseSocketHandler
Wait for more data to be writable on the channel
WebConnection - Class in rabbit.io
A class to handle a connection to the Internet.
WebConnection(Address, SocketBinder, Counter) - Constructor for class rabbit.io.WebConnection
Create a new WebConnection to the given InetAddress and port.
webConnectionEstablished(RequestHandler) - Method in class rabbit.proxy.Connection
Fired when a web connection has been established.
WebConnectionListener - Interface in rabbit.io
A listener for waiting on web connections.
WebConnectionResourceSource - Class in rabbit.httpio
A resource source that gets the data from a WebConnection
WebConnectionResourceSource(ConnectionHandler, NioHandler, WebConnection, BufferHandle, TrafficLogger, boolean, long, boolean) - Constructor for class rabbit.httpio.WebConnectionResourceSource
Create a new ConnectionResourceSource that gets the data from the network.
webConnectionSetupFailed(RequestHandler, Exception) - Method in class rabbit.proxy.Connection
Fired when setting up a web connection failed.
WGet - Class in rabbit.client.sample
A class to download a set of resources.
WGet() - Constructor for class rabbit.client.sample.WGet
Create a new WGet that can be used to download resources.
willCompress() - Method in class rabbit.handler.FilterHandler
 
willCompress() - Method in class rabbit.handler.GZipHandler
 
write(OutputStream, T) - Method in interface rabbit.cache.ncache.FileHandler
Write a T to the given stream.
write(DataOutput) - Method in class rabbit.http.GeneralHeader
 
write(DataOutput) - Method in class rabbit.http.Header
 
write(DataOutput) - Method in class rabbit.http.HttpHeader
 
write() - Method in class rabbit.httpio.BlockSender
 
write(DataOutput) - Method in interface rabbit.io.Storable
Write this object to the given output.
write(OutputStream, HttpHeader) - Method in class rabbit.proxy.HttpHeaderFileHandler
 
write(long) - Method in class rabbit.util.SimpleTrafficLogger
 
write() - Method in class rabbit.util.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.MultipartHeader
Write this MultipartHeader to the given output.

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