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

A

A - Static variable in class rabbit.html.TagType
 
Access - class rabbit.util.Access.
A class to handle access to ip ranges.
Access(int, InetAddress, InetAddress) - Constructor for class rabbit.util.Access
Create a new Access with given ip-range and given type
Access(String, InetAddress, InetAddress) - Constructor for class rabbit.util.Access
Create a new Access with given ip-range and given type
AccessFilter - class rabbit.filter.AccessFilter.
This is a class that filters access based on ip adress.
accessfilters - Static variable in class rabbit.proxy.Proxy
the filters, a vector of classes (in given order)
AccessGetter - class rabbit.meta.AccessGetter.
A metapage that allows setting of the valid ip addreses.
AccessGetter() - Constructor for class rabbit.meta.AccessGetter
default constructor
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.
addCacheStream() - Method in class rabbit.handler.ImageHandler
Set up the cache stream if available.
addCacheStream() - Method in class rabbit.handler.BaseHandler
Set up the cache stream if available.
addDir(String, File, ZipOutputStream) - Method in class rabbit.installer.Packer
Add a directory to a zipfile.
addEntry(NCacheEntry) - Method in class rabbit.cache.NCache
Insert a CacheEntry into the cache.
addFile(String, File, ZipOutputStream) - Method in class rabbit.installer.Packer
Add a file to a zipfile.
addHeader(String, String) - Method in class rabbit.http.GeneralHeader
Add a new header.
addLogo() - Method in class rabbit.installer.Installer
Add the logo to the Frame.
addOutputStream(OutputStream) - Method in class rabbit.io.MultiOutputStream
Connects one more OutputStream.
addStatus() - Method in class rabbit.installer.Installer
Add the status panel to the Frame.
addSteps() - Method in class rabbit.installer.Installer
Add the wizard steps to the Frame.
addToken(Token) - Method in class rabbit.html.HTMLBlock
Add a Token to this block.
AdFilter - class rabbit.filter.AdFilter.
This class switches advertising images into another image.
AdFilter(HTTPHeader, HTTPHeader) - Constructor for class rabbit.filter.AdFilter
Create a new AdFilter for the given request, response pair.
ADMIN - Static variable in class rabbit.util.Access
allowed to access metapages
ADREPLACER - Static variable in class rabbit.filter.AdFilter
the image we replace ads with
ALL - Static variable in class rabbit.proxy.Proxy
Show all normal messages and higher.
append(String) - Method in class rabbit.http.GeneralHeader.Header
 
arglist(Tag) - Method in class rabbit.html.HTMLParser
Scan an argument list from the block.
askKeepOverWriteMerge(File) - Method in class rabbit.installer.Installer
Is it ok to do this?.
askOk(String) - Method in class rabbit.installer.Installer
Is it ok to do this?.
available() - Method in class rabbit.io.MaxSizeInputStream
Get the number of bytes ready for reading.

B

BackgroundFilter - class rabbit.filter.BackgroundFilter.
This class removes background images from html pages.
BackgroundFilter(HTTPHeader, HTTPHeader) - Constructor for class rabbit.filter.BackgroundFilter
Create a new BackgroundFilter for the given request, response pair.
BaseHandler - class rabbit.handler.BaseHandler.
This class is an implementation of the Handler interface.
BaseHandler(Connection, HTTPHeader, HTTPHeader, InputStream, MultiOutputStream, boolean, boolean, long) - Constructor for class rabbit.handler.BaseHandler
Create a new BaseHansler for the given request.
BLINK - Static variable in class rabbit.html.TagType
 
BlinkFilter - class rabbit.filter.BlinkFilter.
A filter that removes the blink and /blink tags.
BlinkFilter(HTTPHeader, HTTPHeader) - Constructor for class rabbit.filter.BlinkFilter
Create a new BlinkFilter for the given request, response pair.
block - Variable in class rabbit.html.HTMLParser
The block we have.
BlockFilter - class rabbit.filter.BlockFilter.
This is a class that blocks access to certain part of the www.
BODY - Static variable in class rabbit.html.TagType
 
BodyFilter - class rabbit.filter.BodyFilter.
A class that inserts some text and links at the top of a page.
BodyFilter(HTTPHeader, HTTPHeader) - Constructor for class rabbit.filter.BodyFilter
Create a new BodyFilter for the given request, response pair.

C

cachehandlers - Static variable in class rabbit.proxy.Proxy
the hash tables with type=>Class mapping for cache handling.
CacheStatus - class rabbit.cache.CacheStatus.
A utility program to inspect the cache..
CacheStatus - class rabbit.meta.CacheStatus.
Get that status of the cache.
CacheStatus() - Constructor for class rabbit.cache.CacheStatus
 
CacheStatus() - Constructor for class rabbit.meta.CacheStatus
default constructor
cacheStream - Variable in class rabbit.handler.BaseHandler
The cache stream if available.
CacheStream - class rabbit.proxy.CacheStream.
This class reads data from a cachefile.
CacheStream(NCacheEntry) - Constructor for class rabbit.proxy.CacheStream
Create a new CacheStream from the given NCacheEntry
checkIfMatch(HTTPHeader, NCacheEntry) - Method in class rabbit.proxy.Connection
 
checkIPAccess(Socket) - Method in class rabbit.proxy.Connection
Check if this socket is in the possible range of ip:s being served.
chunked() - Method in class rabbit.io.WebConnection
Is this request chunked?
chunked() - Method in class rabbit.io.HTTPInputStream
Get the chunked value.
clear() - Method in class rabbit.cache.NCache
Clear the Cache from files.
ClearCache - class rabbit.meta.ClearCache.
Clears the cache on all files that are in it.
ClearCache() - Constructor for class rabbit.meta.ClearCache
default constructor
clientstream - Variable in class rabbit.handler.BaseHandler
The stream to send data to.
CLOSE_CURRENT - Static variable in class rabbit.io.MultiOutputStream
how should exceptions be handled? by closing the stream causing it
close() - Method in class rabbit.io.MaxSizeOutputStream
Close this stream.
close() - Method in class rabbit.io.WebConnection
Close the connection.
close() - Method in class rabbit.io.MultiOutputStream
Close this stream.
close() - Method in class rabbit.io.HTTPInputStream
 
closeDown() - Method in class rabbit.proxy.Connection
Close down nicely.
closeNicely() - Method in class rabbit.installer.Installer
Close down by cleaning things up nicely.
closeSocket() - Static method in class rabbit.proxy.Proxy
Closes the serversocket and makes the proxy stop listening for connections.
Coder - class rabbit.util.Coder.
This class encodes/decodes stuff to/from the web.
COMMENT - Static variable in class rabbit.html.HTMLParser
A HTML comment "<!-- some text -->"
COMMENT - Static variable in class rabbit.html.Token
This token is a comment.
con - Variable in class rabbit.handler.BaseHandler
The Connection handling the request.
config - Static variable in class rabbit.proxy.Proxy
The current configuration
Config - class rabbit.util.Config.
a class to handle configs for different things.
CONFIG - Static variable in class rabbit.proxy.Proxy
The standard configuration file
Config() - Constructor for class rabbit.util.Config
create an empty Config (has only section "" with no data in it)
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.
Config(String) - Constructor for class rabbit.util.Config
Create a Config for the specified file
ConfigGetter - class rabbit.meta.ConfigGetter.
A MetaPage that sends the config of the proxy.
ConfigGetter() - Constructor for class rabbit.meta.ConfigGetter
default constructor
Connection - class rabbit.proxy.Connection.
This is the class that handles one connection And make sure the content is delivered to the client.
Connection() - Constructor for class rabbit.proxy.Connection
Create a new Connection.
Connection(Socket) - Constructor for class rabbit.proxy.Connection
Create a new Connection for a given socket.
ConnectionHandler - class rabbit.io.ConnectionHandler.
A class to handle the connections to the net.
ConnectionHandler.Address - class rabbit.io.ConnectionHandler.Address.
A class to handle the addresses of the connections.
ConnectionHandler.Address(InetAddress, int) - Constructor for class rabbit.io.ConnectionHandler.Address
Create a new Address with given InetAddress and port
ConnectionHandler() - Constructor for class rabbit.io.ConnectionHandler
Create a new ConnectionHandler for use.
Connections - class rabbit.meta.Connections.
The Metapage that shows the external connections the proxy has keepalive to.
Connections() - Constructor for class rabbit.meta.Connections
default constructor
contentstream - Variable in class rabbit.handler.BaseHandler
The stream to read data from.
convertImage() - Method in class rabbit.handler.ImageHandler
Convert the image into a low quality jpeg.
CopyThread - class rabbit.io.CopyThread.
A class that performs a background copy from one stream to another
CopyThread(InputStream, OutputStream) - Constructor for class rabbit.io.CopyThread
 
Counter - class rabbit.util.Counter.
This class counts different messages
Counter() - Constructor for class rabbit.util.Counter
 
createThread() - Method in interface rabbit.util.RestartableThreadFactory
 
createZip(File, File) - Method in class rabbit.installer.Packer
Create the zipfile and add the directory to it.
CRLF - Static variable in class rabbit.http.GeneralHeader
The String consisting of \r and \n
crlf(OutputStream) - Method in class rabbit.io.HTTPOutputStream
 

D

dataSize() - Method in class rabbit.io.WebConnection
Get the size of the data being fetched.
dataSize() - Method in class rabbit.io.HTTPInputStream
Get the size of the page being read.
DEBUG - Static variable in class rabbit.proxy.Proxy
Show all messages in the log.
DOCTYPE - Static variable in class rabbit.html.TagType
 
doError(int, Exception) - Method in class rabbit.proxy.Connection
Send an error (400 Bad Request) to the client.
doError(int, String) - Method in class rabbit.proxy.Connection
Send an error (400 Bad Request) to the client.
doHTTPInFiltering(Socket, HTTPHeader, Connection) - Static method in class rabbit.filter.ProxyAuth
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPInFiltering(Socket, HTTPHeader, Connection) - Static method in class rabbit.filter.HTTPSnoop
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPInFiltering(Socket, HTTPHeader, Connection) - Static method in class rabbit.filter.HTTPBaseFilter
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPInFiltering(Socket, HTTPHeader, Connection) - Static method in class rabbit.filter.DontFilterFilter
Test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPInFiltering(Socket, HTTPHeader, Connection) - Static method in class rabbit.filter.DontCacheFilter
Test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPInFiltering(Socket, HTTPHeader, Connection) - Static method in class rabbit.filter.BlockFilter
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPOutFiltering(Socket, HTTPHeader, Connection) - Static method in class rabbit.filter.ProxyAuth
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPOutFiltering(Socket, HTTPHeader, Connection) - Static method in class rabbit.filter.HTTPSnoop
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPOutFiltering(Socket, HTTPHeader, Connection) - Static method in class rabbit.filter.HTTPBaseFilter
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPOutFiltering(Socket, HTTPHeader, Connection) - Static method in class rabbit.filter.DontFilterFilter
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPOutFiltering(Socket, HTTPHeader, Connection) - Static method in class rabbit.filter.DontCacheFilter
Test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPOutFiltering(Socket, HTTPHeader, Connection) - Static method in class rabbit.filter.BlockFilter
test if a socket/header combination is valid or return a new HTTPHeader.
doIPFiltering(Socket) - Static method in class rabbit.filter.AccessFilter
Filter based on a socket.
DontCacheFilter - class rabbit.filter.DontCacheFilter.
This is a class that makes sure the proxy doesnt caches certain pages.
DontFilterFilter - class rabbit.filter.DontFilterFilter.
This is a class that makes sure the proxy doesnt filter certain pages.
DOUBLEQUOTE - Static variable in class rabbit.html.HTMLParser
This is the character '"'
doWork() - Method in class rabbit.proxy.Connection
Handle the incomming requests for as long as we can keep the connection alive.
doWork() - Method in class rabbit.util.RestartableThread
This is the method that is run.
DQSTRING - Static variable in class rabbit.html.HTMLParser
This is a Double Quoted String a "string"

E

EMPTY - Static variable in class rabbit.html.Token
This token is empty
empty() - Method in class rabbit.html.Token
Empty this token, That is set its type to EMPTY and set the text and tag to null.
END - Static variable in class rabbit.html.HTMLParser
This indicates the end of a block.
endLogging() - Method in class rabbit.linkchecker.SimpleLogger
This method is called when this Logger is stopped.
endLogging() - Method in interface rabbit.linkchecker.Logger
This method is called when this Logger is stopped.
entry - Variable in class rabbit.handler.BaseHandler
The cache entry if available.
EQUALS - Static variable in class rabbit.html.HTMLParser
Equals '='
equals(Object) - Method in class rabbit.http.GeneralHeader.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.ConnectionHandler.Address
Compare this objcet agains another object.
ERROR - Static variable in class rabbit.proxy.Proxy
Show error messages and higer.

F

FATAL - Static variable in class rabbit.proxy.Proxy
Show only fatal messages.
FileSender - class rabbit.meta.FileSender.
A class to send files from the htdocs directory.
FileSender() - Constructor for class rabbit.meta.FileSender
 
FilterHandler - class rabbit.handler.FilterHandler.
This class is used to filter html pages.
FilterHandler(Connection, HTTPHeader, HTTPHeader, InputStream, MultiOutputStream, boolean, boolean, long) - Constructor for class rabbit.handler.FilterHandler
Create a new FilterHandler for the given request.
filterHTML(HTMLBlock) - Method in class rabbit.filter.LowresImageFilter
remove the lowres tags.
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.BlinkFilter
Remove blink tags.
filterHTML(HTMLBlock) - Method in class rabbit.filter.BackgroundFilter
Remove background images from the given block.
filterHTML(HTMLBlock) - Method in class rabbit.filter.HTMLFilter
Filter a block of html.
filterHTML(HTMLBlock) - Method in class rabbit.filter.AdFilter
Removes advertising from the given block.
filterHTTP(Vector, HTTPHeader) - Method in class rabbit.proxy.Connection
Filter the headers using the methods in the vector.
findMe(String) - Method in class rabbit.installer.Installer
Try to find the zipfile we are run from.
finish() - Method in class rabbit.handler.ImageHandler
clear up the mess we made (remove intermediate files etc).
finish() - Method in class rabbit.handler.BaseHandler
Close nesseccary files and adjust the cached files.
finish() - Method in class rabbit.io.HTTPOutputStream
This will make sure the stream is finished.
finish() - Method in class rabbit.io.HTTPInputStream
 
finishStream() - Method in class rabbit.handler.GZIPHandler
This method is used to finish the stream for the data being sent.
finishStream() - Method in class rabbit.handler.BaseHandler
This method is used to finish the stream for the data being sent.
flush() - Method in class rabbit.cache.NCache
Make sure that the cache is written to the disk.
flush() - Method in class rabbit.io.MaxSizeOutputStream
Write any pending data.
flush() - Method in class rabbit.io.MultiOutputStream
Write any pending data.
FTP - Static variable in class rabbit.util.Access
allowed to ftp

G

GeneralHeader - class rabbit.http.GeneralHeader.
A class to handle a general Header.
GeneralHeader.Header - class rabbit.http.GeneralHeader.Header.
This class holds a header value, that is a "type: some text"
GeneralHeader() - Constructor for class rabbit.http.GeneralHeader
Create a new HTTPHeader from scratch
GeneralHeader(DataInputStream) - Constructor for class rabbit.http.GeneralHeader
Create a new HTTPHeader from scratch
get(String) - Method in class rabbit.util.Counter
get the current count for an event.
get200() - Method in class rabbit.proxy.Connection
Get a 200 Ok header
get304(HTTPHeader) - Method in class rabbit.proxy.Connection
Get a 304 Not Modified header for the given old header
get400(Exception) - Method in class rabbit.proxy.Connection
Get a 400 Bad Request header for the given exception.
get403() - Method in class rabbit.proxy.Connection
Get a 403 Forbidden header.
get407(String, URL) - Method in class rabbit.proxy.Connection
Get a 407 Proxy Authentication Required for the given realm and url.
get412() - Method in class rabbit.proxy.Connection
Get a 412 Precondition Failed header.
get417(String) - Method in class rabbit.proxy.Connection
Get a 417 Expectation Failed header.
get500(Throwable) - Method in class rabbit.proxy.Connection
Get a 500 Internal Server Error header for the given exception.
getAddresses() - Method in class rabbit.io.ConnectionHandler
Get the addresses we have connections to.
getAttribute(String) - Method in class rabbit.html.Tag
Get the value of the given key.
getCache() - Static method in class rabbit.proxy.Proxy
Get the cache the proxy are using.
getCacheDir() - Method in class rabbit.cache.NCache
Get the name of the directory where the cache stores its files.
getCacheTime() - Method in class rabbit.cache.NCacheEntry
Get the date this object was cached.
getCacheTime() - Method in class rabbit.cache.NCache
Get the number of miliseconds the cache stores things usually.
getChanged() - Method in class rabbit.html.Token
Has this Token changed since it was created?
getChunking() - Method in class rabbit.proxy.Connection
Get the chunking option.
getChunkSize() - Method in class rabbit.io.HTTPInputStream
Get the size of the next chunk.
getChunkStream() - Method in class rabbit.io.WebConnection
Get the last chunked page.
getChunkStream() - Method in class rabbit.io.HTTPInputStream
Get the chunked page.
getConnection(HTTPHeader) - Method in class rabbit.io.ConnectionHandler
Get a WebConnection for the given header.
getConnectionHandler() - Static method in class rabbit.proxy.Proxy
Get the connection handler.
getConnections() - Method in class rabbit.io.ConnectionHandler
Get the connections keept.
getConnectPort(int) - Static method in class rabbit.proxy.Proxy
Get the port to connect to.
getContent() - Method in class rabbit.http.HTTPHeader
Get the content of the request/response.
getContentLength() - Method in class rabbit.proxy.Connection
Get the content length of the response.
getContentStream() - Method in class rabbit.http.HTTPHeader
 
getCounter() - Static method in class rabbit.proxy.Proxy
Get the Log-handle
getCurrentConections() - Static method in class rabbit.proxy.Proxy
returns the current connections.
getCurrentSize() - Method in class rabbit.cache.NCache
Get the current size of the cache
getDataHook() - Method in class rabbit.cache.NCacheEntry
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.
getEntries() - Method in class rabbit.cache.NCache
Get the CacheEntries in the cache.
getEntry(Object) - Method in class rabbit.cache.NCache
Get the CacheEntry assosiated with given object.
getErrorLevel(String) - Static method in class rabbit.proxy.Proxy
Get the actual error level from the given String.
getErrorLevelString(int) - Static method in class rabbit.proxy.Proxy
Get the String description of the given error level
getExpires() - Method in class rabbit.cache.NCacheEntry
Get the expiry-date of our file
getExtraInfo() - Method in class rabbit.proxy.Connection
Get the extra information for this request.
getFactory() - Method in class rabbit.util.ThreadPool
Get the current factory.
getFileName() - Method in class rabbit.cache.NCacheEntry
Get the filename were data is stored
getHeader() - Static method in class rabbit.proxy.Connection
Get a new HTTPHeader.
getHeader(String) - Method in class rabbit.http.GeneralHeader
get the value of header type
getHeader(String) - Static method in class rabbit.proxy.Connection
Get a new HTTPHeader initialized with some data.
getHeaders(String) - Method in class rabbit.http.GeneralHeader
Get all headers of a specified type...
getHost() - Static method in class rabbit.proxy.Proxy
Get the local host.
getHTTPVersion() - Method in class rabbit.http.HTTPHeader
Get the HTTP Version of this request (only valid for requests).
getId() - Method in class rabbit.cache.NCacheEntry
Get the id of our entry.
getInetAddress() - Method in class rabbit.io.WebConnection
Get the InetAddress that this WebConnection is connected to.
getInetAddress(URL) - Static method in class rabbit.proxy.Proxy
Get the InetAddress to connect to.
getInputStream() - Method in class rabbit.io.WebConnection
Get the InputStream.
getIPList() - Static method in class rabbit.filter.AccessFilter
Get the list of ips allowed
getKeepalive() - Method in class rabbit.proxy.Connection
Get the keepalive value.
getKeepAlive() - Method in class rabbit.io.WebConnection
Get the keepalive value of this WebConnection.
getKeepAlive() - Method in class rabbit.io.HTTPInputStream
Get the keep alive value.
getKeepaliveTime() - Method in class rabbit.io.ConnectionHandler
Get the current keep alive time.
getKey() - Method in class rabbit.cache.NCacheEntry
Get the key were holding data for
getLimit() - Method in class rabbit.util.ThreadPool
Get the current limit of concurrent threads.
getLowerCaseKey() - Method in class rabbit.html.Tag.pair
 
getLowerCaseType() - Method in class rabbit.html.Tag
Get the lowercase type of this tag.
getMaxSize() - Method in class rabbit.cache.NCache
Get the maximum size for this cache.
getMayCache() - Method in class rabbit.proxy.Connection
Get the state of this request.
getMayFilter() - Method in class rabbit.proxy.Connection
Get the state of the request.
getMayUseCache() - Method in class rabbit.proxy.Connection
Get the state of this request.
getMeta() - Method in class rabbit.proxy.Connection
Get the state of this request.
getMeter() - Method in class rabbit.awt.Meter
Get the value of the meter
getMethod() - Method in class rabbit.http.HTTPHeader
Get the request method of this header (only valid for requests).
getNewInstance(Class, HTTPHeader, HTTPHeader, InputStream, MultiOutputStream, boolean, boolean, long) - Method in class rabbit.proxy.Connection
Get a new Handler for the given request made.
getNumberOfEntries() - Method in class rabbit.cache.NCache
Get the current number of entries in the cache.
getOffset() - Static method in class rabbit.proxy.Proxy
Get the offset in milis from GMT NOTE! the offset is only calculated at startup.
getOutputStream() - Method in class rabbit.io.WebConnection
Get the OutputStream of this WebConnection.
getPageHeader() - Static method in class rabbit.proxy.HTMLPage
return a simple HTMLheader.
getPageHeader(String) - Static method in class rabbit.proxy.HTMLPage
return a HTMLheader.
getPassWord() - Method in class rabbit.proxy.Connection
Get the password of the client.
getPool(ConnectionHandler.Address) - Method in class rabbit.io.ConnectionHandler
Get the pool for an Address.
getPort() - Method in class rabbit.io.WebConnection
Get the port number this WebConnection is connected to.
getPort() - Static method in class rabbit.proxy.Proxy
Get the port this proxy is using.
getPreferredSize() - Method in class rabbit.awt.Status
Get the prefered size of this statusbar.
getPreferredSize() - Method in class rabbit.awt.ImageComponent
Get the preferred size of this component, that is the size of the image.
getProperties() - Static method in class rabbit.proxy.HTMLPage
return the properties this class uses
getProperties(String) - Method in class rabbit.util.Config
get the properties for a given section
getProperty(String, String) - Method in class rabbit.util.Config
get a property for given key in specified section
getProperty(String, String, String) - Method in class rabbit.util.Config
get a property for given key in specified section
getProxyAuthString() - Static method in class rabbit.proxy.Proxy
Get the authenticationstring to use for proxy.
getReasonPhrase() - Method in class rabbit.http.HTTPHeader
Get the Reason phrase of the response (only valid for responses).
getReleasedAt() - Method in class rabbit.io.WebConnection
Get the time that this WebConnection was released.
getRequestLine() - Method in class rabbit.http.HTTPHeader
Get the requestline of this header (only valid for requests).
getRequestLine() - Method in class rabbit.proxy.Connection
Get the current request line
getRequestURI() - Method in class rabbit.http.HTTPHeader
Get the requestURI of this request (only valid for requests).
getResponseHTTPVersion() - Method in class rabbit.http.HTTPHeader
Get the HTTP version of the response (only valid for responses).
getRest() - Method in class rabbit.html.HTMLBlock
Get the rest of this block.
getSections() - Method in class rabbit.util.Config
get the available sections
getServerIdentity() - Static method in class rabbit.proxy.Proxy
 
getSize() - Method in class rabbit.cache.NCacheEntry
Get the size of our file
getSocket() - Method in class rabbit.proxy.Connection
Get the Socket that is being served.
getStartDate() - Static method in class rabbit.proxy.Proxy
return the time when the proxy was started.
getStarted() - Method in class rabbit.proxy.Connection
Get the time this Connection was started.
getStartIndex() - Method in class rabbit.html.Token
Get the start index of this Token.
getStatus() - Method in class rabbit.proxy.Connection
Get the status of this Connection
getStatusCode() - Method in class rabbit.http.HTTPHeader
Get the Status code of the response (only valid for responses).
getStatusCode() - Method in class rabbit.proxy.Connection
Get the status code of the request.
getStatusLine() - Method in class rabbit.http.HTTPHeader
Get the statusline of this header (only valid for responses).
getTableHeader(int, int) - Static method in class rabbit.proxy.HTMLPage
return a table header with given width (int %) and given borderwidth.
getTableTopicRow() - Static method in class rabbit.proxy.HTMLPage
return a tabletopic row
getTag() - Method in class rabbit.html.Token
Get the tag of this token.
getTagType() - Method in class rabbit.html.Tag
Get the tagtype of this tag.
getTagType(String) - Static method in class rabbit.html.TagType
 
getText() - Method in class rabbit.html.Token
Get the text of this token.
getThread() - Method in class rabbit.util.ThreadPool
Get a Thread.
getTimeZone() - Method in class rabbit.proxy.Proxy
Get the time zone the proxy is running in.
getToken() - Method in class rabbit.html.Tag
Get the parent token of this tag.
getTokens() - Method in class rabbit.html.HTMLBlock
Get a Vector of the Tokens.
getTokenString(int) - Method in class rabbit.html.HTMLParser
Get a String describing the token.
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.util.Access
return the accesstype we have for this range
getUserName() - Method in class rabbit.proxy.Connection
Get the username of the client.
getUsers() - Static method in class rabbit.filter.HTTPBaseFilter
Return the hash of users.
getWebConnection(HTTPHeader) - Static method in class rabbit.proxy.Proxy
Get a WebConnection.
GOPHER - Static variable in class rabbit.util.Access
allowed to run gopher
GZIPHandler - class rabbit.handler.GZIPHandler.
This class is used to gzip streams.
GZIPHandler(Connection, HTTPHeader, HTTPHeader, InputStream, MultiOutputStream, boolean, boolean, long) - Constructor for class rabbit.handler.GZIPHandler
Create a new GZIPHansler for the given request.

H

handle() - Method in class rabbit.handler.BaseHandler
Handle the request.
handle() - Method in interface rabbit.handler.Handler
handle a request.
handle(InputStream, MultiOutputStream, HTTPHeader, Properties, Connection) - Method in class rabbit.meta.UserGetter
handler of a MetaPage, that is a special page the proxy supports (like the status page).
handle(InputStream, MultiOutputStream, HTTPHeader, Properties, Connection) - Method in class rabbit.meta.Status
handler of a MetaPage, that is a special page the proxy supports (like the status page).
handle(InputStream, MultiOutputStream, HTTPHeader, Properties, Connection) - Method in class rabbit.meta.ProxyConfig
handler of a MetaPage, that is a special page the proxy supports (like the status page).
handle(InputStream, MultiOutputStream, HTTPHeader, Properties, Connection) - Method in class rabbit.meta.KillTheStupidThing
handler of a MetaPage, that is a special page the proxy supports (like the status page).
handle(InputStream, MultiOutputStream, HTTPHeader, Properties, Connection) - Method in class rabbit.meta.FileSender
handler of a MetaPage, that is a special page the proxy supports (like the status page).
handle(InputStream, MultiOutputStream, HTTPHeader, Properties, Connection) - Method in class rabbit.meta.Connections
handler of a MetaPage, that is a special page the proxy supports (like the status page).
handle(InputStream, MultiOutputStream, HTTPHeader, Properties, Connection) - Method in class rabbit.meta.ConfigGetter
handler of a MetaPage, that is a special page the proxy supports (like the status page).
handle(InputStream, MultiOutputStream, HTTPHeader, Properties, Connection) - Method in class rabbit.meta.ClearCache
handler of a MetaPage, that is a special page the proxy supports (like the status page).
handle(InputStream, MultiOutputStream, HTTPHeader, Properties, Connection) - Method in class rabbit.meta.CacheStatus
handler of a MetaPage.
handle(InputStream, MultiOutputStream, HTTPHeader, Properties, Connection) - Method in interface rabbit.meta.MetaHandler
Handler of a MetaPage, that is a special page the proxy supports (like the status page).
handle(InputStream, MultiOutputStream, HTTPHeader, Properties, Connection) - Method in class rabbit.meta.AccessGetter
handler of a MetaPage, that is a special page the proxy supports (like the status page).
handleMeta(HTTPHeader) - Method in class rabbit.proxy.Connection
Handle a meta page.
Handler - interface rabbit.handler.Handler.
This interface descsribes the methods neccessary to implement a handler.
handleRequest(HTTPHeader) - Method in class rabbit.proxy.Connection
Handle a request by getting the datastream (from the cache or the web).
handlers - Static variable in class rabbit.proxy.Proxy
the hash tables with type=>Class mapping
handleSSL(HTTPHeader) - Method in class rabbit.proxy.Connection
Handle the SSL request
hashCode() - Method in class rabbit.http.GeneralHeader.Header
 
hashCode() - Method in class rabbit.http.HTTPHeader
Get the hashCode for this header.
hashCode() - Method in class rabbit.io.ConnectionHandler.Address
Get the hash code for this object.
hasMoreTokens() - Method in class rabbit.html.HTMLBlock
Does this block have more tokens?
headers - Variable in class rabbit.http.GeneralHeader
The headers of this Header in order.
HTMLBlock - class rabbit.html.HTMLBlock.
This class is used to describe a piece of a HTML page.
HTMLBlock(byte[], int) - Constructor for class rabbit.html.HTMLBlock
Create a HTMLBLock from the given byte array.
HTMLFilter - class rabbit.filter.HTMLFilter.
This class describes the functions neccessary to filter a block of html.
HTMLFilter(HTTPHeader, HTTPHeader) - Constructor for class rabbit.filter.HTMLFilter
Create a new HTMLFilter for the given request, response pair.
HTMLPage - class rabbit.proxy.HTMLPage.
This class is intended to be used as a template for metapages.
HTMLParseException - exception rabbit.html.HTMLParseException.
This exception indicates an error in the parsing of an HTML block.
HTMLParseException(String) - Constructor for class rabbit.html.HTMLParseException
Create a new HTMLParseException with the given string.
HTMLParseException(Throwable) - Constructor for class rabbit.html.HTMLParseException
Create a new HTMLParseException with the given Throwable.
HTMLParser - class rabbit.html.HTMLParser.
This is a class that is used to parse a block of HTML code into separate tokens.
HTMLParser() - Constructor for class rabbit.html.HTMLParser
Create a new HTMLParser
HTMLParser(byte[]) - Constructor for class rabbit.html.HTMLParser
Create a new HTMLParser for the given page.
HTTP - Static variable in class rabbit.util.Access
allowed to access standard http (ordinary webpages)
HTTPBaseFilter - class rabbit.filter.HTTPBaseFilter.
This is a class that filter http headers to make them nice.
HTTPDateParser - class rabbit.http.HTTPDateParser.
A utility class that parses date in the HTTP headers.
HTTPDateParser() - Constructor for class rabbit.http.HTTPDateParser
The default constructor.
HTTPFooter - class rabbit.http.HTTPFooter.
A class to handle a HTTP Footer.
HTTPFooter() - Constructor for class rabbit.http.HTTPFooter
Create a new HTTPHeader from scratch
HTTPFooter(DataInputStream) - Constructor for class rabbit.http.HTTPFooter
Create a new HTTPHeader from scratch
HTTPHeader - class rabbit.http.HTTPHeader.
A class to handle a HTTPHeader.
HTTPHeader() - Constructor for class rabbit.http.HTTPHeader
Create a new HTTPHeader from scratch
HTTPHeader(DataInputStream) - Constructor for class rabbit.http.HTTPHeader
Read in a HTTPHeader from an inputstream.
httpinfilters - Static variable in class rabbit.proxy.Proxy
the filters, a vector of classes (in given order)
HTTPInputStream - class rabbit.io.HTTPInputStream.
This is an extended DataInputStream suitable for reading data from the web.
HTTPInputStream(InputStream) - Constructor for class rabbit.io.HTTPInputStream
Create a new HTTPInputStream on the underlying stream.
httpoutfilters - Static variable in class rabbit.proxy.Proxy
the filters, a vector of classes (in given order)
HTTPOutputStream - class rabbit.io.HTTPOutputStream.
This is an extended DataOutputstream suitable for writing HTTP data.
HTTPOutputStream(OutputStream) - Constructor for class rabbit.io.HTTPOutputStream
Create a new HTTPOutputStream on the underlying stream.
HTTPOutputStream(OutputStream, boolean) - Constructor for class rabbit.io.HTTPOutputStream
Create a new HTTPOutputStream on the underlying stream.
HTTPS - Static variable in class rabbit.util.Access
allowed to run secure transactions
HTTPSnoop - class rabbit.filter.HTTPSnoop.
This is a class that prints the HTTP headers on the standard out stream.
HTTPSnoop() - Constructor for class rabbit.filter.HTTPSnoop
 

I

ia - Variable in class rabbit.io.ConnectionHandler.Address
The internet address of this Address.
IllegalConfigurationException - exception rabbit.util.IllegalConfigurationException.
An exception indicating that a configuration option is illegal.
IllegalConfigurationException() - Constructor for class rabbit.util.IllegalConfigurationException
Create a new IllegalConfiguration.
IllegalConfigurationException(String) - Constructor for class rabbit.util.IllegalConfigurationException
Create a new IllegalConfiguration with a specific message.
ImageComponent - class rabbit.awt.ImageComponent.
This class is a Component that holds an image.
ImageComponent(byte[]) - Constructor for class rabbit.awt.ImageComponent
Create a new ImageComponent with the Image loaded from the given bytearray.
ImageComponent(byte[], int, int) - Constructor for class rabbit.awt.ImageComponent
Create a new ImageComponent with the Image loaded from the given bytearray.
ImageComponent(String) - Constructor for class rabbit.awt.ImageComponent
Create a new ImageComponent with the Image loaded from the given filename.
ImageHandler - class rabbit.handler.ImageHandler.
This class filters images to low quality jpegs.
ImageHandler(Connection, HTTPHeader, HTTPHeader, InputStream, MultiOutputStream, boolean, boolean, long) - Constructor for class rabbit.handler.ImageHandler
Create a new ImageHansler for the given request.
IMG - Static variable in class rabbit.html.TagType
 
inc(String) - Method in class rabbit.util.Counter
increase a logentry.
index - Variable in class rabbit.html.HTMLParser
Index of the parse.
INFO - Static variable in class rabbit.proxy.Proxy
Show information messages and higher.
initFilters() - Method in class rabbit.handler.FilterHandler
Initialize the filter we are using.
inrange(InetAddress) - Method in class rabbit.util.IPAccess
check if a given ip is in this accessrange
inrange(InetAddress) - Method in class rabbit.util.Access
check if a given ip is in this accessrange
insertRest(byte[]) - Method in class rabbit.html.HTMLBlock
Copy the rest into the given byte array.
insertToken(Token, int) - Method in class rabbit.html.HTMLBlock
Insert a token at given position.
insertTokens(HTMLBlock, int) - Method in class rabbit.filter.BodyFilter
Insert the links in an ordered fashion.
Installer - class rabbit.installer.Installer.
This class installs the packages in its own zipfile.
Installer() - Constructor for class rabbit.installer.Installer
Create a new Installer.
IPAccess - class rabbit.util.IPAccess.
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.
is304(HTTPHeader, NCacheEntry) - Method in class rabbit.proxy.Connection
Check if the request allows us to use a "304 Not modified" response.
isChunking() - Method in class rabbit.io.HTTPOutputStream
Check if this stream is chunking.
isCleanerRunning() - Method in class rabbit.io.ConnectionHandler
Check if the cleaner of this ConnectionHandler is running.
isComment() - Method in class rabbit.html.HTMLParser
Is this tag a comment?
isConfig(String) - Method in class rabbit.installer.Installer
Is this filename a config file?
isDot9Request() - Method in class rabbit.http.HTTPHeader
Is this request a HTTP/0.9 type request? A 0.9 request doesnt have a full HTTPheader, only a requestline so we need to treat it differently.
isEvil(String) - Method in class rabbit.filter.AdFilter
Check if a string is evil (that is its probably advertising).
isHeadOnlyRequest() - Method in class rabbit.http.HTTPHeader
Is this request for the head only?
isProxyConnected() - Static method in class rabbit.proxy.Proxy
are we connected to another proxy?
isPublic(URL) - Static 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.
isSpecial(String) - Method in class rabbit.installer.Installer
Is the given filename a special file?
isSSLRequest(HTTPHeader) - Method in class rabbit.proxy.Connection
Check to see if this header is an SSL header.
isValidUser(String, String) - Static method in class rabbit.filter.HTTPBaseFilter
Check if a user/password combination is valid.

K

key - Variable in class rabbit.html.Tag.pair
The key of this pair.
keys() - Method in class rabbit.util.Counter
get all events
kill() - Static method in class rabbit.proxy.Proxy
shutdown
KillTheStupidThing - class rabbit.meta.KillTheStupidThing.
a metapage to stop the proxy in a nice way
KillTheStupidThing() - Constructor for class rabbit.meta.KillTheStupidThing
default constructor

L

lastTagStart - Variable in class rabbit.html.HTMLParser
The last tag started here.
LAYER - Static variable in class rabbit.html.TagType
 
lcKey - Variable in class rabbit.html.Tag.pair
The lowercase key..
length - Variable in class rabbit.html.HTMLParser
The size of the data to parse.
LinkVerifier - class rabbit.linkchecker.LinkVerifier.
linkchecker...
LinkVerifier(URL, URL) - Constructor for class rabbit.linkchecker.LinkVerifier
Create a new LinkVerifier for the given urls.
loadAccess(Reader) - Static method in class rabbit.filter.AccessFilter
Loads in the accessess allowed from the given Reader
loadClasses() - Method in class rabbit.proxy.Proxy
Make sure all filters and handlers are available
loadHandlers(String) - Method in class rabbit.proxy.Proxy
load a set of handlers.
loadUsers(Reader) - Static method in class rabbit.filter.HTTPBaseFilter
Load the users from the given Reader.
loadUsers(Reader, boolean) - Static method in class rabbit.filter.HTTPBaseFilter
Load the users from the given Reader.
log(URL, HTTPHeader) - Method in class rabbit.linkchecker.SimpleLogger
 
log(URL, HTTPHeader) - Method in interface rabbit.linkchecker.Logger
This method is called when a request is fulfilled ok.
log(URL, String) - Method in class rabbit.linkchecker.SimpleLogger
 
log(URL, String) - Method in interface rabbit.linkchecker.Logger
This method is called upon on errors and other strange stuff.
logConnection(Connection) - Static method in class rabbit.proxy.Proxy
log a connection handled.
logError(int, String) - Static method in class rabbit.proxy.Proxy
log errors and other important stuff.
logError(String) - Static method in class rabbit.proxy.Proxy
log errors and other important stuff.
Logger - interface rabbit.linkchecker.Logger.
An interface for logging the page handled.
LowresImageFilter - class rabbit.filter.LowresImageFilter.
This filter removes the "lowsrc=some_image.gif" attributes from the <img> tags.
LowresImageFilter(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.cache.CacheStatus
Run the cache inspector..
main(String[]) - Static method in class rabbit.html.HTMLParser
Simple self test function.
main(String[]) - Static method in class rabbit.installer.Packer
Start a new Packer.
main(String[]) - Static method in class rabbit.installer.Installer
Start a new Installer.
main(String[]) - Static method in class rabbit.io.MaxSizeOutputStream
Simple self test
main(String[]) - Static method in class rabbit.io.ConnectionHandler
Simple self test.
main(String[]) - Static method in class rabbit.io.MultiOutputStream
Simple self test
main(String[]) - Static method in class rabbit.linkchecker.LinkVerifier
 
main(String[]) - Static method in class rabbit.proxy.Proxy
Start a proxy.
main(String[]) - Static method in class rabbit.util.Coder
 
main(String[]) - Static method in class rabbit.webserver.SimpleTestServer
Start a proxy.
makeExecutable(String[]) - Method in class rabbit.installer.Installer
Try to make the given files executable (under unix something like "chmod file"
match(int) - Method in class rabbit.html.HTMLParser
Match the token with next token and scan the (new)next token.
MaxSizeInputStream - class rabbit.io.MaxSizeInputStream.
This class allows setting the size of the inputstream to a maximum nuber of bytes.
MaxSizeInputStream(InputStream, long) - Constructor for class rabbit.io.MaxSizeInputStream
Creates a new MaxSizeInputStream with a given limit on the given stream.
MaxSizeOutputStream - class rabbit.io.MaxSizeOutputStream.
A class that doesnt create outputstreams of more than a specified amount of data, the rest is simply swallowed
MaxSizeOutputStream(OutputStream, long) - Constructor for class rabbit.io.MaxSizeOutputStream
Creates a new MaxSizeOutputStream with a given limit and connects it to a given stream.
maycache - Variable in class rabbit.handler.BaseHandler
May we cache this request.
mayfilter - Variable in class rabbit.handler.BaseHandler
May we filter this request
merge(Config) - Method in class rabbit.util.Config
Merge this config with another one.
merge(InputStream, File) - Method in class rabbit.installer.Installer
Merge the given config beeing installed with the already existing one.
MetaHandler - interface rabbit.meta.MetaHandler.
This interface specifies the methods methapages has to implement
Meter - class rabbit.awt.Meter.
This is a graphical meter for things.
Meter() - Constructor for class rabbit.awt.Meter
The standard constructor.
moveMiddle(Window) - Method in class rabbit.installer.Installer
Move a frame to the middle of the screen.
MSG - Static variable in class rabbit.proxy.Proxy
Show important messages and above.
MT - Static variable in class rabbit.html.HTMLParser
More Than '>'
MultiOutputStream - class rabbit.io.MultiOutputStream.
A class to handle automatic writing to several streams simultanius.
MultiOutputStream() - Constructor for class rabbit.io.MultiOutputStream
Creates a new MultiOutputStream with no connected OutputStreams
MultiOutputStream(OutputStream) - Constructor for class rabbit.io.MultiOutputStream
Creates a new MultiOutputStream with one connected OutputStream

N

NCache - class rabbit.cache.NCache.
The NCache is like a Hashtable in lookup/insert/delete The NCache is persistent over sessions (saves itself to disk).
NCache() - Constructor for class rabbit.cache.NCache
Create a cache that uses some dir.
NCache(String) - Constructor for class rabbit.cache.NCache
Create a cache for the given directory.
NCache(String, long) - Constructor for class rabbit.cache.NCache
Create a cache for the given directory with given parameters.
NCache(String, long, long) - Constructor for class rabbit.cache.NCache
Create a cachehandler.
NCacheEntry - class rabbit.cache.NCacheEntry.
A cached object.
NCacheEntry(Object, String, long) - Constructor for class rabbit.cache.NCacheEntry
Create a new CacheEntry for given key and filename
newEntry(Object) - Method in class rabbit.cache.NCache
Reserve space for a CacheEntry with key o.
nextToken - Variable in class rabbit.html.HTMLParser
The type of the next token.
nextToken() - Method in class rabbit.html.HTMLBlock
Get the next Token.
NONE - Static variable in class rabbit.util.Access
No access at all
NOPROXY - Static variable in class rabbit.filter.HTTPBaseFilter
 

O

openSocket() - Static method in class rabbit.proxy.Proxy
Open a socket on the specified port also make the proxy continue accepting connections.

P

Packer - class rabbit.installer.Packer.
This class packs a directory to a zipfile, for easy distribution of the RabbIT proxy.
Packer() - Constructor for class rabbit.installer.Packer
Create a new Packer that ask for directory and zip file.
Packer(String, String) - Constructor for class rabbit.installer.Packer
Create a new Packer with given directory and file.
page() - Method in class rabbit.html.HTMLParser
Scan a page from the block.
pagepart - Variable in class rabbit.html.HTMLParser
The actual data to parse.
paint(Graphics) - Method in class rabbit.awt.Status
Paint this status on a given Graphics.
paint(Graphics) - Method in class rabbit.awt.Meter
Paint this meter on a Graphics
paint(Graphics) - Method in class rabbit.awt.ImageComponent
Draw the image on the Graphics.
parse() - Method in class rabbit.html.HTMLParser
Get a HTMLBlock from the pagepart given.
port - Variable in class rabbit.io.ConnectionHandler.Address
The port number were connected to.
prepareStream() - Method in class rabbit.handler.GZIPHandler
This method is used to prepare the stream for the data being sent.
prepareStream() - Method in class rabbit.handler.BaseHandler
This method is used to prepare the stream for the data being sent.
printHelp() - Static method in class rabbit.linkchecker.LinkVerifier
print out the helptext to the user.
printHelp() - Static method in class rabbit.proxy.Proxy
print out the helptext to the user.
Proxy - class rabbit.proxy.Proxy.
This is the central dispatcher for RabbIT.
ProxyAuth - class rabbit.filter.ProxyAuth.
This is a filter that requires users to use proxy-authentication.
ProxyAuth() - Constructor for class rabbit.filter.ProxyAuth
 
ProxyConfig - class rabbit.meta.ProxyConfig.
A MetaPage that allows setting the cofig of the proxy.
ProxyConfig() - Constructor for class rabbit.meta.ProxyConfig
default constructor
proxySSL - Static variable in class rabbit.proxy.Proxy
Are we allowed to proxy ssl?

R

rabbit.awt - package rabbit.awt
This package holds the various graphical component of the RabbIT proxy.
rabbit.cache - package rabbit.cache
This package is a cache system.
rabbit.filter - package rabbit.filter
This package holds the set of filters that RabbIT uses.
rabbit.handler - package rabbit.handler
This package holds the handlers that RabbIT uses.
rabbit.html - package rabbit.html
This package holds the classes that deal with HTML code.
rabbit.http - package rabbit.http
This package holds the classes that deal with the HTTP protocoll directly.
rabbit.installer - package rabbit.installer
This package holds the installer and packer used for installing RabbIT.
rabbit.io - package rabbit.io
This package holds the various IO streams that rabbit uses.
rabbit.linkchecker - package rabbit.linkchecker
This package holds the link verifier application.
rabbit.meta - package rabbit.meta
This package holds the variuos meta pages that RabbIT provides.
rabbit.proxy - package rabbit.proxy
This is the main package for the RabbIT proxy.
rabbit.util - package rabbit.util
This package holds the various utils used in the proxy.
rabbit.webserver - package rabbit.webserver
 
read() - Method in class rabbit.io.MaxSizeInputStream
Reads the next byte of data from this input stream.
read(byte[]) - Method in class rabbit.io.MaxSizeInputStream
Read a block of data (up to b.length bytes).
read(byte[], int, int) - Method in class rabbit.io.MaxSizeInputStream
Read a block of data (up to len bytes).
readContent(HTTPHeader) - Method in class rabbit.proxy.Connection
If this request has a body (due to some post or so) read it in and append it to the request.
readCRLF() - Method in class rabbit.io.HTTPInputStream
Read of an CR LF combination.
readHeader(DataInputStream) - Method in class rabbit.http.GeneralHeader
Read in this header from the given Stream.
readHeader(DataInputStream, String) - Method in class rabbit.http.GeneralHeader
Read in this header from the given Stream.
readHTTPHeader() - Method in class rabbit.io.HTTPInputStream
Read a HTTPHeader of this stream.
readHTTPHeader(DataInputStream) - Method in class rabbit.http.HTTPHeader
 
readImage() - Method in class rabbit.handler.ImageHandler
Read in the image
readLine(DataInputStream) - Static method in class rabbit.http.GeneralHeader
 
reConfigure(Config) - Static method in class rabbit.proxy.Proxy
Reconfigure the proxy during runtime.
releaseConnection(WebConnection) - Method in class rabbit.io.ConnectionHandler
Return a WebConnection to the pool so that it may be reused.
releaseWebConnection(WebConnection) - Static method in class rabbit.proxy.Proxy
Release a WebConnection so that it may be reused if possible.
remove(Object) - Method in class rabbit.cache.NCache
Remove the Entry with key o from the cache.
removeAttribute(String) - Method in class rabbit.html.Tag
Remove an attribute.
removeCache(Exception) - Method in class rabbit.handler.ImageHandler
Remove the cachestream and the cache entry.
removeCache(Exception) - Method in class rabbit.handler.BaseHandler
Remove the cachestream and the cache entry.
removeConnection(Connection) - Static method in class rabbit.proxy.Proxy
Remove a connection (it has received full treatment)
removeDir(File) - Method in class rabbit.installer.Installer
Remove a directory (including all of its files).
removeHeader(String) - Method in class rabbit.http.GeneralHeader
removes a headerline from this header
removeOutputStream(OutputStream) - Method in class rabbit.io.MultiOutputStream
Disconnects one of the underlaying streams.
removeToken(int) - Method in class rabbit.html.HTMLBlock
Remove a Token at the given position.
removeValue(String) - Method in class rabbit.http.GeneralHeader
removes a header with the specified value
request - Variable in class rabbit.filter.HTMLFilter
The actual request made.
request - Variable in class rabbit.handler.BaseHandler
The actual request made.
RESPAWN_EXCEPTION - Static variable in class rabbit.io.MultiOutputStream
Or by respawning the exception up
response - Variable in class rabbit.filter.HTMLFilter
The actual response.
response - Variable in class rabbit.handler.BaseHandler
The actual response.
RestartableThread - class rabbit.util.RestartableThread.
A thread class that is restartable.
RestartableThread() - Constructor for class rabbit.util.RestartableThread
 
RestartableThread(String) - Constructor for class rabbit.util.RestartableThread
 
RestartableThreadFactory - interface rabbit.util.RestartableThreadFactory.
An interface that describes a restartable thread factory.
restSize() - Method in class rabbit.html.HTMLBlock
Get the number of bytes that the rest is.
returnThread(RestartableThread) - Method in class rabbit.util.ThreadPool
Return a thread to the pool.
run() - Method in class rabbit.cache.NCache
Loop in a cleaning loop.
run() - Method in class rabbit.installer.Installer
Install the files.
run() - Method in class rabbit.io.CopyThread
 
run() - Method in class rabbit.io.ConnectionHandler
The cleaner thread.
run() - Method in class rabbit.linkchecker.LinkVerifier
Fetch the page and recurse the urls found.
run() - Method in class rabbit.proxy.Proxy
while we can, accept new sockets, creating a handler for each and also save connections for statistics.
run() - Method in class rabbit.util.RestartableThread
Dont override this in subclasses.
run() - Method in class rabbit.webserver.SimpleTestServer
 

S

SA - Static variable in class rabbit.html.TagType
 
save(OutputStream) - Method in class rabbit.util.Config
save the config to a OutputStream
save(OutputStream, String) - Method in class rabbit.util.Config
save the config to a OutputStream
saveAccess(Reader) - Static method in class rabbit.filter.AccessFilter
Saves the accesslist from the given Reader.
saveConfig() - Static method in class rabbit.proxy.Proxy
save the config back to file
saveUsers(Reader) - Static method in class rabbit.filter.HTTPBaseFilter
Saves the users from the given Reader.
SBLINK - Static variable in class rabbit.html.TagType
 
SBODY - Static variable in class rabbit.html.TagType
 
scanComment() - Method in class rabbit.html.HTMLParser
Scan a comment from the block, that is the string up to and including "-->".
scanQuotedString() - Method in class rabbit.html.HTMLParser
Scan a quoted tring from the block.
scanString() - Method in class rabbit.html.HTMLParser
Scan a String from the block.
SCRIPT - Static variable in class rabbit.html.TagType
 
SCRIPT - Static variable in class rabbit.html.Token
This token is a script
send() - Method in class rabbit.handler.FilterHandler
Send the actual data (read data, filter data, send data).
send() - Method in class rabbit.handler.BaseHandler
Send the actual data.
send(HTTPHeader) - Method in class rabbit.proxy.Connection
Send a header to the client.
send(OutputStream) - Method in class rabbit.html.HTMLBlock
Send this block (but not the rest part) on the given stream.
sendRest(OutputStream) - Method in class rabbit.html.HTMLBlock
Send the rest of the data on the given stream.
setAttribute(String, String) - Method in class rabbit.html.Tag
Set the attribute given.
setCacheDir(String) - Method in class rabbit.cache.NCache
Sets the cachedir.
setCacheTime(Date) - Method in class rabbit.cache.NCacheEntry
Set the date this object was cached.
setCacheTime(long) - Method in class rabbit.cache.NCache
Set the standard expiry-time for CacheEntries
setChanged(boolean) - Method in class rabbit.html.Token
Set the change value of this Token.
setChunking(boolean) - Method in class rabbit.proxy.Connection
Set the chunking option.
setContent(String) - Method in class rabbit.http.HTTPHeader
Set the Content for the request/response Mostly not used for responses.
setContentLength(String) - Method in class rabbit.proxy.Connection
Set the content length of the response.
setContentStream(HTTPInputStream) - Method in class rabbit.http.HTTPHeader
Set the content for the request/response This is a way to set up handling of a chunked input request As a side effect the "Transer-Encoding" header is also set.
setDataHook(Object) - Method in class rabbit.cache.NCacheEntry
Sets the data hook for this cache object.
setExistingValue(String, String) - Method in class rabbit.http.GeneralHeader
Set a specified header
setExpires(Date) - Method in class rabbit.cache.NCacheEntry
Sets the expirydate of our data
setExtraInfo(String) - Method in class rabbit.proxy.Connection
Set the extra information for this request.
setFactory(RestartableThreadFactory) - Method in class rabbit.util.ThreadPool
Set the factory to use for creating threads.
setFileName(String) - Method in class rabbit.cache.NCacheEntry
set the filename were we will save data
setHeader(String, String) - Method in class rabbit.http.GeneralHeader
Set or replaces a value for given type.
setHTTPVersion(String) - Method in class rabbit.http.HTTPHeader
Set the HTTP Version to use for request.
setKeepalive(boolean) - Method in class rabbit.proxy.Connection
Set keepalive to a new value.
setKeepAlive(boolean) - Method in class rabbit.io.HTTPInputStream
Set the keep alive value to currentkeepalive & keepalive
setKeepaliveTime(long) - Method in class rabbit.io.ConnectionHandler
Set the keep alive time for this handler.
setKey(Object) - Method in class rabbit.cache.NCacheEntry
Set the key were holding data for
setLimit(int) - Method in class rabbit.util.ThreadPool
Set the limit.
setMaxSize(long) - Method in class rabbit.cache.NCache
Set the maximum size for this cache.
setMayCache(boolean) - Method in class rabbit.proxy.Connection
Set the state of this request.
setMayFilter(boolean) - Method in class rabbit.proxy.Connection
Get the state of this request.
setMayUseCache(boolean) - Method in class rabbit.proxy.Connection
Set the state of this request.
setMehtod(String) - Method in class rabbit.http.HTTPHeader
Sets the request method of this header
setMeta(boolean) - Method in class rabbit.proxy.Connection
Set the state of this request.
setMeter(double) - Method in class rabbit.awt.Meter
Set the meter to a new value If the value supplied is not in the range [0,1] it is adjusted to the closest endpoint.
setMode(int) - Method in class rabbit.io.MultiOutputStream
Sets the mode of this stream.
setPartialContent(long, long) - Method in class rabbit.handler.BaseHandler
 
setPassWord(String) - Method in class rabbit.proxy.Connection
Set the password of the client.
setProperties(String, Properties) - 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.
setReleased(Date) - Method in class rabbit.io.WebConnection
Mark this WebConnection as released at given time.
setRequestLine(String) - Method in class rabbit.http.HTTPHeader
Set the requestline of this header
setRequestURI(String) - Method in class rabbit.http.HTTPHeader
Sets the request URI of this header
setResponseHTTPVersion(String) - Method in class rabbit.http.HTTPHeader
Set the HTTP version for this response.
setRest(int) - Method in class rabbit.html.HTMLBlock
Set the rest of the page to start at given position.
setSize(long) - Method in class rabbit.cache.NCacheEntry
Sets the size of our data
setSocket(Socket) - Method in class rabbit.proxy.Connection
Give this connection a socket to handle
setStartIndex(int) - Method in class rabbit.html.Token
Set the start index of this Token.
setStatus(String) - Method in class rabbit.awt.Status
Set the status to show.
setStatus(String) - Method in class rabbit.installer.Installer
Set the status.
setStatusCode(String) - Method in class rabbit.http.HTTPHeader
Set the Status code for this response.
setStatusLine(String) - Method in class rabbit.http.HTTPHeader
Set the statusline of this header.
setTag(Tag) - Method in class rabbit.html.Token
Set the tag of this token, also set the type to TAG.
setText(byte[]) - Method in class rabbit.html.HTMLParser
Set the data block to parse.
setText(byte[], int) - Method in class rabbit.html.HTMLParser
Set the data block to parse.
setText(String) - Method in class rabbit.html.HTMLParser
Set the data to parse.
setText(String) - Method in class rabbit.html.Token
Set the text of this Token, also sets the type to TEXT.
setToken(Token) - Method in class rabbit.html.Tag
Set the parent token of this tag.
setType(int) - Method in class rabbit.util.Access
sets the accesstype we have for this range
setType(String) - Method in class rabbit.html.Tag
Set the Type of this Tag.
setup() - Static method in class rabbit.proxy.HTMLPage
setup this class for usage
setup(Properties) - Method in class rabbit.cache.NCache
Configure the cache system from the given config.
setup(Properties) - Static method in class rabbit.filter.ProxyAuth
Setup this class with the given properties.
setup(Properties) - Static method in class rabbit.filter.HTTPSnoop
Setup this class with the given properties.
setup(Properties) - Static method in class rabbit.filter.HTTPBaseFilter
Setup this class with the given properties.
setup(Properties) - Static method in class rabbit.filter.DontFilterFilter
Setup this class with the given properties.
setup(Properties) - Static method in class rabbit.filter.DontCacheFilter
Setup this class with the given properties.
setup(Properties) - Static method in class rabbit.filter.BlockFilter
Setup this class with the given properties.
setup(Properties) - Static method in class rabbit.filter.AccessFilter
Setup this class.
setup(Properties) - Static method in class rabbit.handler.ImageHandler
Setup this class.
setup(Properties) - Static method in class rabbit.handler.GZIPHandler
Setup this class.
setup(Properties) - Static method in class rabbit.handler.FilterHandler
Setup this class.
setup(Properties) - Method in class rabbit.io.ConnectionHandler
Configure the connection handler system from the given config.
setup(Properties) - Static method in class rabbit.proxy.HTMLPage
setup this class for usage
setupStreams() - Method in class rabbit.proxy.Connection
Set up the streams used for reading request and sending data to and from the client.
setUserName(String) - Method in class rabbit.proxy.Connection
Set the user name of the client.
showReadme() - Method in class rabbit.installer.Installer
Show the readme in a new Window.
SIMG - Static variable in class rabbit.html.TagType
 
SimpleLogger - class rabbit.linkchecker.SimpleLogger.
A very simple logger for the link checker.
SimpleLogger() - Constructor for class rabbit.linkchecker.SimpleLogger
 
SimpleTestServer - class rabbit.webserver.SimpleTestServer.
This is a very simple webserver used for some simple testing of RabbIT2
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.
skip(long) - Method in class rabbit.io.MaxSizeInputStream
Skip a number of bytes.
SLAYER - Static variable in class rabbit.html.TagType
 
splitArgs(String) - Method in class rabbit.proxy.Connection
splits the CGI-paramsstring into variables and values.
SQSTRING - Static variable in class rabbit.html.HTMLParser
This is a Single Quoted String a 'string'
SSCRIPT - Static variable in class rabbit.html.TagType
 
sslIsAllowed(HTTPHeader) - Method in class rabbit.proxy.Connection
Are we allowed to proxy ssl-type connections ?
sslports - Static variable in class rabbit.proxy.Proxy
The Vector of acceptable ssl-ports.
STABLE - Static variable in class rabbit.html.TagType
 
START - Static variable in class rabbit.html.HTMLParser
This indicates the start of a block.
start() - Method in class rabbit.util.RestartableThread
Overridden to handle restarting of this thread.
startInstall() - Method in class rabbit.installer.Installer
Start the installation.
startLogging(Config) - Method in class rabbit.linkchecker.SimpleLogger
This method is called when this Logger is started.
startLogging(Config) - Method in interface rabbit.linkchecker.Logger
This method is called when this Logger is started.
Status - class rabbit.awt.Status.
This class is a simple statusbar, that is a Component that shows some text.
Status - class rabbit.meta.Status.
the Metapage that shows the status of the proxy.
Status() - Constructor for class rabbit.awt.Status
The default constructor.
Status() - Constructor for class rabbit.meta.Status
default constructor
STD - Static variable in class rabbit.html.TagType
 
STR - Static variable in class rabbit.html.TagType
 
STRING - Static variable in class rabbit.html.HTMLParser
This indicate a String value was found.
stringLength - Variable in class rabbit.html.HTMLParser
the current start of string.
stringValue - Variable in class rabbit.html.HTMLParser
The current value as a String.

T

TABLE - Static variable in class rabbit.html.TagType
 
Tag - class rabbit.html.Tag.
This class describes a HTML tag.
TAG - Static variable in class rabbit.html.Token
This token is a tag.
Tag.pair - class rabbit.html.Tag.pair.
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.
Tag() - Constructor for class rabbit.html.Tag
 
tag(int) - Method in class rabbit.html.HTMLParser
Scan a tag from the block.
Tag(String) - Constructor for class rabbit.html.Tag
Create a new Tag with given type
tagmode - Variable in class rabbit.html.HTMLParser
True if were in a Tag, false otherwise.
tagStart - Variable in class rabbit.html.HTMLParser
The current tag started here.
TagType - class rabbit.html.TagType.
This is a class that holds common tagtypes.
TD - Static variable in class rabbit.html.TagType
 
testFile(String) - Method in class rabbit.installer.Installer
Test a file and see if it is ourself.
TEXT - Static variable in class rabbit.html.Token
This token is text.
ThreadPool - class rabbit.util.ThreadPool.
This is a thread pool.
ThreadPool(RestartableThreadFactory, int) - Constructor for class rabbit.util.ThreadPool
Create a ThreadPool.
Token - class rabbit.html.Token.
This class is used to describe a small part of a html page.
Token(byte[], int, int, int) - Constructor for class rabbit.html.Token
Create a new Token with given arguments.
Token(String) - Constructor for class rabbit.html.Token
Create a new Token of type TEXT with given text.
Token(String, int, int) - Constructor for class rabbit.html.Token
Create a new Token with given arguments.
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(Tag, int) - Constructor for class rabbit.html.Token
Create a new Token with given arguments and of type TAG.
toString() - Method in class rabbit.html.TagType
 
toString() - Method in class rabbit.html.Tag
Get this Tag as a String.
toString() - Method in class rabbit.html.Tag.pair
Get a String representation of this pair.
toString() - Method in class rabbit.html.Token
Get the String representation of this object.
toString() - Method in class rabbit.html.HTMLBlock
Get a String representation of this block.
toString() - Method in class rabbit.http.GeneralHeader
Get the text value of this header
toString() - Method in class rabbit.http.HTTPHeader
get the text value of this header
toString() - Method in class rabbit.util.IPAccess
get the string representation of this access.
toString() - Method in class rabbit.util.Access
get the string representation of this access.
toString() - Method in class rabbit.util.Config
Get a string describing this Config
TR - Static variable in class rabbit.html.TagType
 
tryconvert() - Method in class rabbit.handler.ImageHandler
Try to convert the image.

U

UNKNOWN - Static variable in class rabbit.html.HTMLParser
Unknown token.
update(Graphics) - Method in class rabbit.awt.ImageComponent
Update the Graphics for this Component.
URLdecode(String) - Static method in class rabbit.util.Coder
URLDecode a string.
URLEncode(String) - Static method in class rabbit.util.Coder
URLEncode a string.
UserGetter - class rabbit.meta.UserGetter.
A metapage that allows configuration of valid users.
UserGetter() - Constructor for class rabbit.meta.UserGetter
default constructor
uudecode(String) - Static method in class rabbit.util.Coder
uudecode(base64) the given string.
uuencode(String) - Static method in class rabbit.util.Coder
uuencode(base64) the given String.

V

value - Variable in class rabbit.html.Tag.pair
The value of this pair.
value() - Method in class rabbit.html.HTMLParser
Scan a value from the block.
values() - Method in class rabbit.util.Counter
get all values (unsorted)
verbose - Static variable in class rabbit.installer.Packer
Should we run in verbose mode?
VERSION - Static variable in class rabbit.linkchecker.LinkVerifier
Current version
VERSION - Static variable in class rabbit.proxy.Proxy
Current version

W

WAIS - Static variable in class rabbit.util.Access
allowed to run wais
WARN - Static variable in class rabbit.proxy.Proxy
Show warnings and higer.
WebConnection - class rabbit.io.WebConnection.
A class to handle a connection to the Internet.
WebConnection(InetAddress, int) - Constructor for class rabbit.io.WebConnection
Create a new WebConnection to the given InetAddress and port.
write(byte[]) - Method in class rabbit.io.MaxSizeOutputStream
Write a byte array to this stream.
write(byte[]) - Method in class rabbit.io.MultiOutputStream
Write a byte array to this stream.
write(byte[]) - Method in class rabbit.io.HTTPOutputStream
Write a byte array to the underlying stream.
write(byte[], int, int) - Method in class rabbit.io.MaxSizeOutputStream
Write a byte array to this stream.
write(byte[], int, int) - Method in class rabbit.io.MultiOutputStream
Write a byte array to this stream.
write(byte[], int, int) - Method in class rabbit.io.HTTPOutputStream
Write a byte array to the underlying stream.
write(int) - Method in class rabbit.io.MaxSizeOutputStream
Write a byte to this stream.
write(int) - Method in class rabbit.io.MultiOutputStream
Write a byte to this stream.
write(int) - Method in class rabbit.io.HTTPOutputStream
Write a byte to the underlying stream.
writeFooter(HTTPFooter) - Method in class rabbit.io.HTTPOutputStream
Write a HTTPFooter on this stream.
writeHeader() - Method in class rabbit.handler.ImageHandler
Write the response header
writeHeader() - Method in class rabbit.handler.BaseHandler
Write the response header
writeHTTPHeader(HTTPHeader) - Method in class rabbit.io.WebConnection
Write an HTTP header on this connection.
writeHTTPHeader(HTTPHeader) - Method in class rabbit.io.MultiOutputStream
Write a HTTPHeader on this stream.
writeHTTPHeader(HTTPHeader) - Method in class rabbit.io.HTTPOutputStream
Write a HTTPHeader on this stream.

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