Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
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
AccessFilter
- Class in
rabbit.filter
This is a class that filters access based on ip adress.
AccessFilter()
- Constructor for class rabbit.filter.
AccessFilter
AccessGetter
- Class in
rabbit.meta
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.
BaseHandler
Set up the cache stream if available.
addCacheStream()
- Method in class rabbit.handler.
ImageHandler
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.
addWaiting(NLSOInputStream)
- Method in class rabbit.io.
NLSOHandler
AdFilter
- Class in
rabbit.filter
This class switches advertising images into another image.
AdFilter()
- Constructor for class rabbit.filter.
AdFilter
AdFilter(Connection, HTTPHeader, HTTPHeader)
- Constructor for class rabbit.filter.
AdFilter
Create a new AdFilter for the given request, response pair.
ADREPLACER
- Static variable in class rabbit.filter.
AdFilter
the image we replace ads with
ALL
- Static variable in interface rabbit.util.
Logger
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.
available()
- Method in class rabbit.io.
NLSOInputStream
B
B
- Static variable in class rabbit.html.
TagType
BackgroundFilter
- Class in
rabbit.filter
This class removes background images from html pages.
BackgroundFilter()
- Constructor for class rabbit.filter.
BackgroundFilter
BackgroundFilter(Connection, HTTPHeader, HTTPHeader)
- Constructor for class rabbit.filter.
BackgroundFilter
Create a new BackgroundFilter for the given request, response pair.
BaseHandler
- Class in
rabbit.handler
This class is an implementation of the Handler interface.
BaseHandler()
- Constructor for class rabbit.handler.
BaseHandler
For creating the factory.
BaseHandler(Connection, HTTPHeader, HTTPHeader, HTTPInputStream, 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 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.
block
- Variable in class rabbit.html.
HTMLParser
The block we have.
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
BODY
- Static variable in class rabbit.html.
TagType
BodyFilter
- Class in
rabbit.filter
A class that inserts some text and links at the top of a page.
BodyFilter()
- Constructor for class rabbit.filter.
BodyFilter
BodyFilter(Connection, HTTPHeader, HTTPHeader)
- Constructor for class rabbit.filter.
BodyFilter
Create a new BodyFilter for the given request, response pair.
BR
- Static variable in class rabbit.html.
TagType
C
CacheLoadTester
- Class in
rabbit.cache
A small test program that creates a lot of entries in the cache.
CacheStatus
- Class in
rabbit.cache
A utility program to inspect the cache..
CacheStatus()
- Constructor for class rabbit.cache.
CacheStatus
CacheStatus
- Class in
rabbit.meta
Get that status of the cache.
CacheStatus()
- Constructor for class rabbit.meta.
CacheStatus
default constructor
cacheStream
- Variable in class rabbit.handler.
BaseHandler
The cache stream if available.
CacheStream
- Class in
rabbit.proxy
This class reads data from a cachefile.
CacheStream(NCache, NCacheEntry, Counter)
- Constructor for class rabbit.proxy.
CacheStream
Create a new CacheStream from the given NCacheEntry
checkIfMatch(HTTPHeader, Connection.RequestHandler)
- 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.
HTTPInputStream
Get the chunked value.
chunked()
- Method in class rabbit.io.
WebConnection
Is this request chunked?
clear()
- Method in class rabbit.cache.
NCache
Clear the Cache from files.
ClearCache
- Class in
rabbit.meta
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.
clientStreamHasCache()
- Method in class rabbit.handler.
BaseHandler
Check if the client stream also have a cache stream.
clientStreamHasCache()
- Method in class rabbit.handler.
GZIPHandler
close()
- Method in class rabbit.io.
HTTPInputStream
close()
- Method in class rabbit.io.
HTTPOutputStream
close()
- Method in class rabbit.io.
MaxSizeOutputStream
Close this stream.
close()
- Method in class rabbit.io.
MultiOutputStream
Close this stream.
close()
- Method in class rabbit.io.
NLSOInputStream
close()
- Method in class rabbit.io.
WebConnection
Close the connection.
close()
- Method in class rabbit.proxy.
CacheStream
close()
- Method in class rabbit.proxy.
PartialCacher
close()
- Method in class rabbit.proxy.
RandomStream
CLOSE_CURRENT
- Static variable in class rabbit.io.
MultiOutputStream
how should exceptions be handled? by closing the stream causing it
closeNicely()
- Method in class rabbit.installer.
Installer
Close down by cleaning things up nicely.
closeSocket()
- Method in class rabbit.proxy.
Proxy
Closes the serversocket and makes the proxy stop listening for connections.
Coder
- Class in
rabbit.util
This class encodes/decodes stuff to/from the web.
COMMENT
- Static variable in class rabbit.html.
HTMLParser
A HTML comment "<!-- some text -->"
COMMENT
- Static variable in class rabbit.html.
Token
This token is a comment.
con
- Variable in class rabbit.filter.
HTMLFilter
The Connection handling the request.
con
- Variable in class rabbit.handler.
BaseHandler
The Connection handling the request.
CONFIG
- Static variable in class rabbit.proxy.
Proxy
The standard configuration file
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.
ConfigGetter
- Class in
rabbit.meta
A MetaPage that sends the config of the proxy.
ConfigGetter()
- Constructor for class rabbit.meta.
ConfigGetter
default constructor
Connection
- Class in
rabbit.proxy
This is the class that handles one connection And make sure the content is delivered to the client.
Connection(Proxy)
- Constructor for class rabbit.proxy.
Connection
Create a new Connection.
Connection.RequestHandler
- Class in
rabbit.proxy
A container to send around less parameters.
Connection.RequestHandler()
- Constructor for class rabbit.proxy.
Connection.RequestHandler
ConnectionHandler
- Class in
rabbit.io
A class to handle the connections to the net.
ConnectionHandler(Logger, Counter, Resolver, NLSOHandler)
- Constructor for class rabbit.io.
ConnectionHandler
Create a new ConnectionHandler for use.
ConnectionHandler.Address
- Class in
rabbit.io
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
Connections
- Class in
rabbit.meta
The Metapage that shows the external connections the proxy has keepalive to.
Connections()
- Constructor for class rabbit.meta.
Connections
default constructor
containsStream(OutputStream)
- Method in class rabbit.io.
MultiOutputStream
Check if a stream is still being written to.
contentstream
- Variable in class rabbit.handler.
BaseHandler
The stream to read data from.
contentStream
- Variable in class rabbit.proxy.
Connection.RequestHandler
convertImage()
- Method in class rabbit.handler.
ImageHandler
Convert the image into a low quality jpeg.
copyHeader(GeneralHeader)
- Method in class rabbit.http.
GeneralHeader
Copy all headers in this header to the given header.
CopyThread
- Class in
rabbit.io
A class that performs a background copy from one stream to another
CopyThread(InputStream, OutputStream)
- Constructor for class rabbit.io.
CopyThread
Counter
- Class in
rabbit.util
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
dataHook
- Variable in class rabbit.proxy.
Connection.RequestHandler
dataSize()
- Method in class rabbit.io.
HTTPInputStream
Get the size of the page being read.
dataSize()
- Method in class rabbit.io.
WebConnection
Get the size of the data being fetched.
DEBUG
- Static variable in interface rabbit.util.
Logger
Show all messages in the log.
DIV
- Static variable in class rabbit.html.
TagType
DNSHandler
- Interface in
rabbit.proxy
A DNS handler.
dnsHandler
- Variable in class rabbit.proxy.
Proxy
The dns handler
DNSJavaHandler
- Class in
rabbit.proxy
A DNS handler using the dnsjava packages
DNSJavaHandler()
- Constructor for class rabbit.proxy.
DNSJavaHandler
DNSSunHandler
- Class in
rabbit.proxy
A DNS handler using the standard java packages.
DNSSunHandler()
- Constructor for class rabbit.proxy.
DNSSunHandler
DOCTYPE
- Static variable in class rabbit.html.
TagType
doError(int, String)
- Method in class rabbit.proxy.
Connection
Send an error (400 Bad Request) to the client.
doError(int, Exception)
- Method in class rabbit.proxy.
Connection
Send an error (400 Bad Request) to the client.
doHTTPInFiltering(Socket, HTTPHeader, Connection)
- Method in class rabbit.filter.
BlockFilter
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPInFiltering(Socket, HTTPHeader, Connection)
- Method in class rabbit.filter.
DontCacheFilter
Test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPInFiltering(Socket, HTTPHeader, Connection)
- Method in class rabbit.filter.
DontFilterFilter
Test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPInFiltering(Socket, HTTPHeader, Connection)
- Method in class rabbit.filter.
HTTPBaseFilter
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPInFiltering(Socket, HTTPHeader, Connection)
- Method in interface rabbit.filter.
HTTPFilter
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPInFiltering(Socket, HTTPHeader, Connection)
- Method in class rabbit.filter.
HTTPSnoop
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPInFiltering(Socket, HTTPHeader, Connection)
- Method in class rabbit.filter.
ProxyAuth
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPInFiltering(Socket, HTTPHeader, Connection)
- Method in class rabbit.filter.
ReverseProxy
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPInFiltering(Socket, HTTPHeader, Connection)
- Method in class rabbit.filter.
SQLProxyAuth
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPOutFiltering(Socket, HTTPHeader, Connection)
- Method in class rabbit.filter.
BlockFilter
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPOutFiltering(Socket, HTTPHeader, Connection)
- Method in class rabbit.filter.
DontCacheFilter
Test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPOutFiltering(Socket, HTTPHeader, Connection)
- Method in class rabbit.filter.
DontFilterFilter
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPOutFiltering(Socket, HTTPHeader, Connection)
- Method in class rabbit.filter.
HTTPBaseFilter
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPOutFiltering(Socket, HTTPHeader, Connection)
- Method in interface rabbit.filter.
HTTPFilter
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPOutFiltering(Socket, HTTPHeader, Connection)
- Method in class rabbit.filter.
HTTPSnoop
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPOutFiltering(Socket, HTTPHeader, Connection)
- Method in class rabbit.filter.
ProxyAuth
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPOutFiltering(Socket, HTTPHeader, Connection)
- Method in class rabbit.filter.
ReverseProxy
test if a socket/header combination is valid or return a new HTTPHeader.
doHTTPOutFiltering(Socket, HTTPHeader, Connection)
- Method in class rabbit.filter.
SQLProxyAuth
test if a socket/header combination is valid or return a new HTTPHeader.
doIPFiltering(Socket)
- Method in class rabbit.filter.
AccessFilter
Filter based on a socket.
doIPFiltering(Socket)
- 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 '"'
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 interface rabbit.linkchecker.
Logger
This method is called when this Logger is stopped.
endLogging()
- Method in class rabbit.linkchecker.
SimpleLogger
This method is called when this Logger is stopped.
entry
- Variable in class rabbit.handler.
BaseHandler
The cache entry if available.
entry
- Variable in class rabbit.proxy.
Connection.RequestHandler
entryChanged(NCacheEntry)
- Method in class rabbit.cache.
NCache
Signal that a cache entry have changed.
EQUALS
- Static variable in class rabbit.html.
HTMLParser
Equals '='
equals(Object)
- Method in class rabbit.http.
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 interface rabbit.util.
Logger
Show error messages and higer.
F
FATAL
- Static variable in interface rabbit.util.
Logger
Show only fatal messages.
FileSender
- Class in
rabbit.meta
A class to send files from the htdocs directory.
FileSender()
- Constructor for class rabbit.meta.
FileSender
FilterHandler
- Class in
rabbit.handler
This class is used to filter html pages.
FilterHandler()
- Constructor for class rabbit.handler.
FilterHandler
FilterHandler(Connection, HTTPHeader, HTTPHeader, HTTPInputStream, 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.
AdFilter
Removes advertising from the given block.
filterHTML(HTMLBlock)
- Method in class rabbit.filter.
BlinkFilter
Remove blink 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.
HTMLFilter
Filter a block of html.
filterHTML(HTMLBlock)
- Method in class rabbit.filter.
LowresImageFilter
remove the lowres tags.
filterHTML(HTMLBlock)
- Method in class rabbit.filter.
SimpleTagFilter
Iterate over all tags and call handleTag on them.
filterHTTPIn(List<HTTPFilter>, HTTPHeader)
- Method in class rabbit.proxy.
Connection
Filter the headers using the methods in the vector.
filterHTTPOut(List<HTTPFilter>, HTTPHeader)
- Method in class rabbit.proxy.
Connection
Filter the headers using the methods in the vector.
findClass(String)
- Method in class rabbit.proxy.
MultiProxy.CustomClassLoader
findMe(String)
- Method in class rabbit.installer.
Installer
Try to find the zipfile we are run from.
finish()
- Method in class rabbit.handler.
BaseHandler
Close nesseccary files and adjust the cached files.
finish()
- Method in class rabbit.handler.
ImageHandler
clear up the mess we made (remove intermediate files etc).
finish()
- Method in class rabbit.io.
HTTPInputStream
finish()
- Method in class rabbit.io.
HTTPOutputStream
This will make sure the stream is finished.
finishStream()
- Method in class rabbit.handler.
BaseHandler
This method is used to finish the stream for the data being sent.
finishStream()
- Method in class rabbit.handler.
GZIPHandler
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.
flush()
- Method in class rabbit.proxy.
PartialCacher
FONT
- Static variable in class rabbit.html.
TagType
FORM
- Static variable in class rabbit.html.
TagType
G
GeneralHeader
- Class in
rabbit.http
A class to handle a general Header.
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
GeneralHeader.Header
- Class in
rabbit.http
This class holds a header value, that is a "type: some text"
GeneralHeader.Header()
- Constructor for class rabbit.http.
GeneralHeader.Header
Used for externalization
get(String)
- Method in class rabbit.util.
Counter
get the current count for an event.
get200()
- Method in class rabbit.proxy.
StandardResponseHeaders
Get a 200 Ok header
get206(String, HTTPHeader)
- Method in class rabbit.proxy.
StandardResponseHeaders
get304(HTTPHeader)
- Method in class rabbit.proxy.
StandardResponseHeaders
Get a 304 Not Modified header for the given old header
get400(Exception)
- Method in class rabbit.proxy.
StandardResponseHeaders
Get a 400 Bad Request header for the given exception.
get403()
- Method in class rabbit.proxy.
StandardResponseHeaders
Get a 403 Forbidden header.
get407(String, URL)
- Method in class rabbit.proxy.
StandardResponseHeaders
Get a 407 Proxy Authentication Required for the given realm and url.
get412()
- Method in class rabbit.proxy.
StandardResponseHeaders
Get a 412 Precondition Failed header.
get416(Throwable)
- Method in class rabbit.proxy.
StandardResponseHeaders
Get a Requested Range Not Satisfiable for the given exception.
get417(String)
- Method in class rabbit.proxy.
StandardResponseHeaders
Get a 417 Expectation Failed header.
get500(Throwable)
- Method in class rabbit.proxy.
StandardResponseHeaders
Get a 500 Internal Server Error header for the given exception.
get504(Throwable, String)
- Method in class rabbit.proxy.
StandardResponseHeaders
Get a 504 Gateway Timeout for the given exception.
getAccessFilters()
- Method in class rabbit.proxy.
Proxy
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()
- 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.
getCachedString(String)
- Static method in class rabbit.http.
GeneralHeader
getCacheHandlers()
- Method in class rabbit.proxy.
Proxy
getCacheTime()
- Method in class rabbit.cache.
NCache
Get the number of miliseconds the cache stores things usually.
getCacheTime()
- Method in class rabbit.cache.
NCacheEntry
Get the date this object was cached.
getChanged()
- Method in class rabbit.html.
Token
Has this Token changed since it was created?
getChannel()
- Method in class rabbit.io.
HTTPOutputStream
getChannel()
- Method in class rabbit.io.
MultiOutputStream
Get a writable channel for this stream.
getChannel()
- Method in class rabbit.io.
WebConnection
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.
HTTPInputStream
Get the chunked page.
getChunkStream()
- Method in class rabbit.io.
WebConnection
Get the last chunked page.
getCleanLoopTime()
- Method in class rabbit.cache.
NCache
Get how long time the cleaner sleeps between cleanups.
getConfig()
- Method in class rabbit.proxy.
Proxy
getConnection(HTTPHeader)
- Method in class rabbit.io.
ConnectionHandler
Get a WebConnection for the given header.
getConnectionHandler()
- Method in class rabbit.proxy.
Proxy
Get the connection handler.
getConnectPort(int)
- Method in interface rabbit.io.
Resolver
Get the port to use for connecting to a given port.
getConnectPort(int)
- Method in class rabbit.proxy.
Proxy
Get the port to connect to.
getContent()
- Method in class rabbit.http.
HTTPHeader
Get the content of the request/response.
getContentArr()
- Method in class rabbit.http.
HTTPHeader
getContentLength()
- Method in class rabbit.proxy.
Connection
Get the content length of the response.
getContentStream()
- Method in class rabbit.http.
HTTPHeader
getCounter()
- Method in class rabbit.proxy.
Proxy
Get the Log-handle
getCurrentConections()
- 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(NCache)
- Method in class rabbit.cache.
NCacheEntry
Get the hooked data.
getDataHook()
- Method in class rabbit.proxy.
Connection.RequestHandler
getDate(String)
- Static method in class rabbit.http.
HTTPDateParser
Try to get a date from the given string.
getDateString(Date)
- Static method in class rabbit.http.
HTTPDateParser
Get a String from the date.
getEnd()
- Method in class rabbit.proxy.
PartialCacher
getEnd()
- Method in class rabbit.proxy.
RandomStream.Range
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.
getEntryName(NCacheEntry)
- Method in class rabbit.cache.
NCache
Get the file name for a real cache entry.
getEntryName(long, boolean)
- Method in class rabbit.cache.
NCache
Get the file name for a cache entry.
getErrorLevel(String)
- Method in class rabbit.proxy.
Proxy
Get the actual error level from the given String.
getErrorLevelString(int)
- 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()
- Static method in class rabbit.handler.
BaseHandler
Get a HandlerFactory that creates BaseHandlers.
getFactory()
- Method in class rabbit.util.
ThreadPool
Get the current factory.
getFileChannel()
- Method in class rabbit.io.
HTTPInputStream
Try to get a file channel from this stream.
getFreeSize()
- Method in class rabbit.util.
ThreadPool.Usage
getHandlers()
- Method in class rabbit.proxy.
Proxy
getHeader(String)
- Method in class rabbit.http.
GeneralHeader
get the value of header type
getHeader()
- Method in class rabbit.proxy.
StandardResponseHeaders
Get a new HTTPHeader.
getHeader(String)
- Method in class rabbit.proxy.
StandardResponseHeaders
Get a new HTTPHeader initialized with some data.
getHeaders(String)
- Method in class rabbit.http.
GeneralHeader
Get all headers of a specified type...
getHost()
- Method in class rabbit.proxy.
Proxy
Get the local host.
getHTTPInFilters()
- Method in class rabbit.proxy.
Proxy
getHTTPOutFilters()
- Method in class rabbit.proxy.
Proxy
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(URL)
- Method in interface rabbit.io.
Resolver
Get the InetAddress for a given url.
getInetAddress()
- Method in class rabbit.io.
WebConnection
Get the InetAddress that this WebConnection is connected to.
getInetAddress(URL)
- Method in interface rabbit.proxy.
DNSHandler
Look up an internet address.
getInetAddress(String)
- Method in interface rabbit.proxy.
DNSHandler
Look up an internet address.
getInetAddress(URL)
- Method in class rabbit.proxy.
DNSJavaHandler
Look up an internet address.
getInetAddress(String)
- Method in class rabbit.proxy.
DNSJavaHandler
getInetAddress(URL)
- Method in class rabbit.proxy.
DNSSunHandler
Look up an internet address.
getInetAddress(String)
- Method in class rabbit.proxy.
DNSSunHandler
getInetAddress(URL)
- Method in class rabbit.proxy.
Proxy
Get the InetAddress to connect to.
getInputStream()
- Method in class rabbit.io.
WebConnection
Get the InputStream.
getIPList()
- Method in class rabbit.filter.
AccessFilter
Get the list of ips allowed
getIPList()
- Method in interface rabbit.filter.
IPAccessFilter
Get the list of ips allowed
getKeepAlive()
- Method in class rabbit.io.
HTTPInputStream
Get the keep alive value.
getKeepAlive()
- Method in class rabbit.io.
WebConnection
Get the keepalive value of this WebConnection.
getKeepalive()
- Method in class rabbit.proxy.
Connection
Get the keepalive value.
getKeepaliveTime()
- Method in class rabbit.io.
ConnectionHandler
Get the current keep alive time.
getKey()
- Method in class rabbit.cache.
NCacheEntry
Get the key were holding data for
getLength()
- Method in class rabbit.html.
Token
Get the length of this token.
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.
getMark()
- Method in class rabbit.meta.
ProxyConfig
getMark()
- Method in class rabbit.meta.
SimpleHandler
Get the mark.
getMark()
- Method in class rabbit.meta.
UserGetter
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(Connection, HTTPHeader, HTTPHeader, HTTPInputStream, MultiOutputStream, boolean, boolean, long)
- Method in class rabbit.handler.
BaseHandler
getNewInstance(Connection, HTTPHeader, HTTPHeader, HTTPInputStream, MultiOutputStream, boolean, boolean, long)
- Method in class rabbit.handler.
FilterHandler
getNewInstance(Connection, HTTPHeader, HTTPHeader, HTTPInputStream, MultiOutputStream, boolean, boolean, long)
- Method in class rabbit.handler.
GZIPHandler
getNewInstance(Connection, HTTPHeader, HTTPHeader, HTTPInputStream, MultiOutputStream, boolean, boolean, long)
- Method in interface rabbit.handler.
HandlerFactory
Get a new Handler for the given request made.
getNewInstance(Connection, HTTPHeader, HTTPHeader, HTTPInputStream, MultiOutputStream, boolean, boolean, long)
- Method in class rabbit.handler.
ImageHandler
getNewInstance(Connection, HTTPHeader, HTTPHeader, HTTPInputStream, MultiOutputStream, boolean, boolean, long)
- Method in class rabbit.handler.
MultiPartHandler
getNLSOHandler()
- Method in class rabbit.proxy.
Proxy
getNumberOfEntries()
- Method in class rabbit.cache.
NCache
Get the current number of entries in the cache.
getOffset()
- 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(Connection, String)
- Static method in class rabbit.proxy.
HTMLPage
return a HTMLheader.
getPassWord()
- Method in class rabbit.proxy.
Connection
Get the password of the client.
getPipelineAddresses()
- Method in class rabbit.io.
ConnectionHandler
Get the pipeline address we have.
getPipelinePool(ConnectionHandler.Address)
- Method in class rabbit.io.
ConnectionHandler
Get the pool for an Address.
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()
- Method in class rabbit.proxy.
Proxy
Get the port this proxy is using.
getPreferredSize()
- Method in class rabbit.awt.
ImageComponent
Get the preferred size of this component, that is the size of the image.
getPreferredSize()
- Method in class rabbit.awt.
Status
Get the prefered size of this statusbar.
getProperties()
- Static method in class rabbit.proxy.
HTMLPage
return the properties this class uses
getProperties(String)
- Method in class rabbit.util.
Config
get the properties for a given section
getProperty(String, String)
- Method in class rabbit.util.
Config
get a property for given key in specified section
getProperty(String, String, String)
- Method in class rabbit.util.
Config
get a property for given key in specified section
getProperty(String)
- Method in class rabbit.util.
SProperties
getProperty(String, String)
- Method in class rabbit.util.
SProperties
getProxy()
- Method in class rabbit.proxy.
Connection
Get the proxy that this connection is working for.
getProxyAuthString()
- Method in interface rabbit.io.
Resolver
Get the currently set proxy authentication.
getProxyAuthString()
- Method in class rabbit.proxy.
Proxy
Get the authenticationstring to use for proxy.
getRealDataHook()
- Method in class rabbit.cache.
NCacheEntry
Get the real data hook
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).
getResponseHandler()
- Method in class rabbit.proxy.
Connection
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
getSelectionKey()
- Method in class rabbit.io.
WebConnection
getServerIdentity()
- 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.
getSocketChannel()
- Method in class rabbit.io.
HTTPInputStream
Try to get a socket channel from this stream.
getStart()
- Method in class rabbit.proxy.
PartialCacher
getStart()
- Method in class rabbit.proxy.
RandomStream.Range
getStartDate()
- 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.
getThreadPoolUsage()
- Method in class rabbit.proxy.
Proxy
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 List of the Tokens.
getTokenString(int)
- Method in class rabbit.html.
HTMLParser
Get a String describing the token.
getTotal()
- Method in class rabbit.proxy.
PartialCacher
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.
getUsage()
- Method in class rabbit.util.
ThreadPool
Get the current usage of this thread pool.
getUsedSize()
- Method in class rabbit.util.
ThreadPool.Usage
getUserName()
- Method in class rabbit.proxy.
Connection
Get the username of the client.
getUsers()
- Method in class rabbit.filter.
HTTPBaseFilter
Return the hash of users.
getWaiting()
- Method in class rabbit.io.
WebConnection
getWebConnection(HTTPHeader)
- Method in class rabbit.proxy.
Proxy
Get a WebConnection.
getWebConnection(HTTPHeader)
- Method in class rabbit.spider.
WebSpider
GZIPHandler
- Class in
rabbit.handler
This class is used to gzip streams.
GZIPHandler()
- Constructor for class rabbit.handler.
GZIPHandler
GZIPHandler(Connection, HTTPHeader, HTTPHeader, HTTPInputStream, 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.
AccessGetter
handle(InputStream, MultiOutputStream, HTTPHeader, Properties, Connection)
- Method in class rabbit.meta.
CacheStatus
handler of a MetaPage.
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.
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.
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.
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.
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.
LogRotator
handler of a MetaPage, that is a special page the proxy supports.
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.
SimpleHandler
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.
StackTrace
handler of a MetaPage.
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).
handleData(Connection, String)
- Method in class rabbit.meta.
ProxyConfig
handleData(Connection, String)
- Method in class rabbit.meta.
SimpleHandler
Handle the user data.
handleData(Connection, String)
- Method in class rabbit.meta.
UserGetter
handleMeta(HTTPHeader)
- Method in class rabbit.proxy.
Connection
Handle a meta page.
Handler
- Interface in
rabbit.handler
This interface descsribes the methods neccessary to implement a handler.
handleRequest(HTTPHeader)
- Method in class rabbit.proxy.
Connection
Handle a request by getting the datastream (from the cache or the web).
HandlerFactory
- Interface in
rabbit.handler
The methods needed to create a new Handler.
handlerFactory
- Variable in class rabbit.proxy.
Connection.RequestHandler
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.
BodyFilter
handleTag(Tag, HTMLBlock, int)
- Method in class rabbit.filter.
SimpleTagFilter
Handle a tag.
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?
HEAD
- Static variable in class rabbit.html.
TagType
headerCache
- Static variable in class rabbit.http.
GeneralHeader
A cache of strings to keep the different strings down.
headers
- Variable in class rabbit.http.
GeneralHeader
The headers of this Header in order.
HTML
- Static variable in class rabbit.html.
TagType
HTMLBlock
- Class in
rabbit.html
This class is used to describe a piece of a HTML page.
HTMLBlock(byte[], int)
- Constructor for class rabbit.html.
HTMLBlock
Create a HTMLBLock from the given byte array.
HTMLFilter
- Class in
rabbit.filter
This class describes the functions neccessary to filter a block of html.
HTMLFilter()
- Constructor for class rabbit.filter.
HTMLFilter
Create the factory.
HTMLFilter(Connection, HTTPHeader, HTTPHeader)
- Constructor for class rabbit.filter.
HTMLFilter
Create a new HTMLFilter for the given request, response pair.
HTMLFilterFactory
- Interface in
rabbit.filter
A factory that creates HTMLFilters.
HTMLPage
- Class in
rabbit.proxy
This class is intended to be used as a template for metapages.
HTMLParseException
- Exception in
rabbit.html
This exception indicates an error in the parsing of an HTML block.
HTMLParseException(String)
- Constructor for exception rabbit.html.
HTMLParseException
Create a new HTMLParseException with the given string.
HTMLParseException(Throwable)
- Constructor for exception rabbit.html.
HTMLParseException
Create a new HTMLParseException with the given Throwable.
HTMLParser
- Class in
rabbit.html
This is a class that is used to parse a block of HTML code into separate tokens.
HTMLParser()
- Constructor for class rabbit.html.
HTMLParser
Create a new HTMLParser
HTMLParser(byte[])
- Constructor for class rabbit.html.
HTMLParser
Create a new HTMLParser for the given page.
HTTPBaseFilter
- Class in
rabbit.filter
This is a class that filter http headers to make them nice.
HTTPBaseFilter()
- Constructor for class rabbit.filter.
HTTPBaseFilter
HTTPDateParser
- Class in
rabbit.http
A utility class that parses date in the HTTP headers.
HTTPDateParser()
- Constructor for class rabbit.http.
HTTPDateParser
The default constructor.
HTTPFilter
- Interface in
rabbit.filter
A filter for http headers.
HTTPFooter
- Class in
rabbit.http
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 in
rabbit.http
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.
HTTPInputStream
- Class in
rabbit.io
This is an extended DataInputStream suitable for reading data from the web.
HTTPInputStream(InputStream, Logger)
- Constructor for class rabbit.io.
HTTPInputStream
Create a new HTTPInputStream on the underlying stream.
HTTPInputStream(SocketChannel, boolean, Logger, NLSOHandler)
- Constructor for class rabbit.io.
HTTPInputStream
Create a new HTTPInputStream on the underlying channel
HTTPOutputStream
- Class in
rabbit.io
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(SocketChannel)
- Constructor for class rabbit.io.
HTTPOutputStream
Create a new HTTPOutputStream on the underlying channel.
HTTPOutputStream(OutputStream, boolean)
- Constructor for class rabbit.io.
HTTPOutputStream
Create a new HTTPOutputStream on the underlying stream.
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
ia
- Variable in class rabbit.io.
ConnectionHandler.Address
The internet address of this Address.
IllegalConfigurationException
- Exception in
rabbit.util
An exception indicating that a configuration option is illegal.
IllegalConfigurationException()
- Constructor for exception rabbit.util.
IllegalConfigurationException
Create a new IllegalConfiguration.
IllegalConfigurationException(String)
- Constructor for exception rabbit.util.
IllegalConfigurationException
Create a new IllegalConfiguration with a specific message.
ImageComponent
- Class in
rabbit.awt
This class is a Component that holds an image.
ImageComponent(String)
- Constructor for class rabbit.awt.
ImageComponent
Create a new ImageComponent with the Image loaded from the given filename.
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.
ImageHandler
- Class in
rabbit.handler
This class filters images to low quality jpegs.
ImageHandler()
- Constructor for class rabbit.handler.
ImageHandler
ImageHandler(Connection, HTTPHeader, HTTPHeader, HTTPInputStream, 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 interface rabbit.util.
Logger
Show information messages and higher.
initFilters()
- Method in class rabbit.handler.
FilterHandler
Initialize the filter we are using.
INPUT
- Static variable in class rabbit.html.
TagType
inrange(InetAddress)
- Method in class rabbit.util.
IPAccess
check if a given ip is in this accessrange
insertRest(byte[])
- Method in class rabbit.html.
HTMLBlock
Copy the rest into the given byte array.
insertToken(Token, int)
- Method in class rabbit.html.
HTMLBlock
Insert a token at given position.
insertTokens(HTMLBlock, int)
- Method in class rabbit.filter.
BodyFilter
Insert the links in an ordered fashion.
Installer
- Class in
rabbit.installer
This class installs the packages in its own zipfile.
Installer()
- Constructor for class rabbit.installer.
Installer
Create a new Installer.
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.
is304(HTTPHeader, Connection.RequestHandler)
- 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()
- Method in interface rabbit.io.
Resolver
Check if the resolver is using a proxy or not.
isProxyConnected()
- Method in class rabbit.proxy.
Proxy
are we connected to another proxy?
isPublic(URL)
- Method in class rabbit.filter.
HTTPBaseFilter
Check if a given url is a public URL of the Proxy.
isRequest()
- Method in class rabbit.http.
HTTPHeader
Try to guess if this header is a request.
isResponse()
- Method in class rabbit.http.
HTTPHeader
Try to guess if this header is a response.
isSecure()
- Method in class rabbit.http.
HTTPHeader
Try to guess if this header is a secure thing.
isSelf(String, int)
- Method in class rabbit.proxy.
Proxy
Try hard to check if the given address matches the proxy.
isSpecial(String)
- Method in class rabbit.installer.
Installer
Is the given filename a special file?
isValidUser(String, String)
- 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()
- Method in class rabbit.proxy.
Proxy
shutdown
KillTheStupidThing
- Class in
rabbit.meta
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.
LI
- Static variable in class rabbit.html.
TagType
LinkVerifier
- Class in
rabbit.linkchecker
linkchecker...
LinkVerifier(URL, URL)
- Constructor for class rabbit.linkchecker.
LinkVerifier
Create a new LinkVerifier for the given urls.
loadAccess(Logger, Reader)
- Method in class rabbit.filter.
AccessFilter
Loads in the accessess allowed from the given Reader
loadAccess(Logger, Reader)
- Method in interface rabbit.filter.
IPAccessFilter
Loads in the accessess allowed from the given Reader
loadClass(String, boolean)
- Method in class rabbit.proxy.
MultiProxy.CustomClassLoader
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.
log(URL, String)
- Method in interface rabbit.linkchecker.
Logger
This method is called upon on errors and other strange stuff.
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, HTTPHeader)
- Method in class rabbit.linkchecker.
SimpleLogger
logConnection(Connection)
- Method in class rabbit.proxy.
Proxy
log a connection handled.
logError(String)
- Method in class rabbit.handler.
BaseHandler
logError(int, String)
- Method in class rabbit.handler.
BaseHandler
logError(String)
- Method in class rabbit.proxy.
Proxy
log errors and other important stuff.
logError(int, String)
- Method in class rabbit.proxy.
Proxy
log errors and other important stuff.
logError(String)
- Method in interface rabbit.util.
Logger
Log an error.
logError(int, String)
- Method in interface rabbit.util.
Logger
Log an error of given type and with given message.
Logger
- Interface in
rabbit.linkchecker
An interface for logging the page handled.
Logger
- Interface in
rabbit.util
A logger interface.
LogRotator
- Class in
rabbit.meta
the Metapage that rotates the logs
LogRotator()
- Constructor for class rabbit.meta.
LogRotator
default constructor
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.cache.
CacheLoadTester
main(String[])
- Static method in class rabbit.cache.
CacheStatus
Run the cache inspector..
main(String[])
- Static method in class rabbit.http.
HTTPDateParser
main(String[])
- Static method in class rabbit.installer.
Installer
Start a new Installer.
main(String[])
- Static method in class rabbit.installer.
Packer
Start a new Packer.
main(String[])
- Static method in class rabbit.linkchecker.
LinkVerifier
main(String[])
- Static method in class rabbit.proxy.
MultiProxy
main(String[])
- Static method in class rabbit.proxy.
Proxy
Start a proxy.
main(String[])
- Static method in class rabbit.spider.
WebSpider
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"
mark(int)
- Method in class rabbit.io.
NLSOInputStream
markForPipelining(WebConnection)
- Method in class rabbit.io.
ConnectionHandler
Mark a WebConnection ready for pipelining.
markForPipelining(WebConnection)
- Method in class rabbit.proxy.
Proxy
Mark a WebConnection for pipelining.
markSupported()
- Method in class rabbit.io.
NLSOInputStream
match(int)
- Method in class rabbit.html.
HTMLParser
Match the token with next token and scan the (new)next token.
MaximumSizeExcededException
- Exception in
rabbit.io
The maximum size of a stream has been exceeded.
MaximumSizeExcededException(String)
- Constructor for exception rabbit.io.
MaximumSizeExcededException
MaxSizeInputStream
- Class in
rabbit.io
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 in
rabbit.io
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.
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
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.
merge(InputStream, File)
- Method in class rabbit.installer.
Installer
Merge the given config beeing installed with the already existing one.
merge(Config)
- Method in class rabbit.util.
Config
Merge this config with another one.
META
- Static variable in class rabbit.html.
TagType
MetaHandler
- Interface in
rabbit.meta
This interface specifies the methods methapages has to implement
Meter
- Class in
rabbit.awt
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 interface rabbit.util.
Logger
Show important messages and above.
MT
- Static variable in class rabbit.html.
HTMLParser
More Than '>'
MultiOutputStream
- Class in
rabbit.io
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
MultiPartHandler
- Class in
rabbit.handler
This class handles multipart responses, this handler does not filter the resource.
MultiPartHandler()
- Constructor for class rabbit.handler.
MultiPartHandler
MultiPartHandler(Connection, HTTPHeader, HTTPHeader, HTTPInputStream, MultiOutputStream, boolean, boolean, long)
- Constructor for class rabbit.handler.
MultiPartHandler
Create a new BaseHansler for the given request.
MultiProxy
- Class in
rabbit.proxy
An applications that can load multiple instances of Proxy, each with a different configuration.
MultiProxy()
- Constructor for class rabbit.proxy.
MultiProxy
MultiProxy.CustomClassLoader
- Class in
rabbit.proxy
The ClassLoader used to separate the instances of Proxy.
MultiProxy.CustomClassLoader()
- Constructor for class rabbit.proxy.
MultiProxy.CustomClassLoader
N
NCache
- Class in
rabbit.cache
The NCache is like a Map in lookup/insert/delete The NCache is persistent over sessions (saves itself to disk).
NCache()
- Constructor for class rabbit.cache.
NCache
Create a cache that uses default values.
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 in
rabbit.cache
A cached object.
NCacheEntry()
- Constructor for class rabbit.cache.
NCacheEntry
Not to be used, for externalizable only.
NCacheEntry(Object, 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.
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 class rabbit.filter.
HTMLFilter
Get a new HTMLFilter for the given request, response pair.
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.
nextToken
- Variable in class rabbit.html.
HTMLParser
The type of the next token.
NLSOHandler
- Class in
rabbit.io
A class to handle a group of NLSOInputStream's
NLSOHandler(Logger)
- Constructor for class rabbit.io.
NLSOHandler
NLSOInputStream
- Class in
rabbit.io
With socket channels SOTimeout does not work correctly.
NLSOInputStream(SocketChannel, boolean, NLSOHandler)
- Constructor for class rabbit.io.
NLSOInputStream
NOPROXY
- Static variable in class rabbit.filter.
HTTPBaseFilter
O
openSocket()
- Method in class rabbit.proxy.
Proxy
Open a socket on the specified port also make the proxy continue accepting connections.
P
P
- Static variable in class rabbit.html.
TagType
Packer
- Class in
rabbit.installer
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.
ImageComponent
Draw the image on the Graphics.
paint(Graphics)
- Method in class rabbit.awt.
Meter
Paint this meter on a Graphics
paint(Graphics)
- Method in class rabbit.awt.
Status
Paint this status on a given Graphics.
parse()
- Method in class rabbit.html.
HTMLParser
Get a HTMLBlock from the pagepart given.
PartialCacher
- Class in
rabbit.proxy
This class can save partial data to the correct places in the files.
PartialCacher(Logger, String, HTTPHeader)
- Constructor for class rabbit.proxy.
PartialCacher
pendingComment
- Variable in class rabbit.html.
HTMLParser
A pending comment (script or style data).
port
- Variable in class rabbit.io.
ConnectionHandler.Address
The port number were connected to.
prepareStream()
- Method in class rabbit.handler.
BaseHandler
This method is used to prepare the stream for the data being sent.
prepareStream()
- Method in class rabbit.handler.
GZIPHandler
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.
Proxy
- Class in
rabbit.proxy
This is the central dispatcher for RabbIT.
Proxy()
- Constructor for class rabbit.proxy.
Proxy
Constructor,
ProxyAuth
- Class in
rabbit.filter
This is a filter that requires users to use proxy-authentication.
ProxyAuth()
- Constructor for class rabbit.filter.
ProxyAuth
ProxyConfig
- Class in
rabbit.meta
A MetaPage that allows setting the cofig of the proxy.
ProxyConfig()
- Constructor for class rabbit.meta.
ProxyConfig
default constructor
proxySSL
- 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.spider
- package rabbit.spider
An example web spider written using rabbit components
rabbit.util
- package rabbit.util
This package holds the various utils used in the proxy.
rabbit.webserver
- package rabbit.webserver
A trivial web server, useful for testing rabbit.
RandomStream
- Class in
rabbit.proxy
This class reads data from a cachefile.
RandomStream(Connection, Connection.RequestHandler, List<RandomStream.Range>, long)
- Constructor for class rabbit.proxy.
RandomStream
Create a new CacheStream from the given NCacheEntry
RandomStream.Range
- Class in
rabbit.proxy
A single range for a resource.
RandomStream.Range(long, long)
- Constructor for class rabbit.proxy.
RandomStream.Range
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).
read()
- Method in class rabbit.io.
NLSOInputStream
read(byte[])
- Method in class rabbit.io.
NLSOInputStream
read(byte[], int, int)
- Method in class rabbit.io.
NLSOInputStream
read()
- Method in class rabbit.proxy.
RandomStream
read(byte[])
- Method in class rabbit.proxy.
RandomStream
read(byte[], int, int)
- Method in class rabbit.proxy.
RandomStream
readChunkedContent(HTTPHeader)
- Method in class rabbit.proxy.
Connection
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.
readExternal(ObjectInput)
- Method in class rabbit.cache.
NCacheEntry
Read the cache entry from the object input.
readExternal(ObjectInput)
- Method in class rabbit.http.
GeneralHeader.Header
readExternal(ObjectInput)
- Method in class rabbit.http.
GeneralHeader
readExternal(ObjectInput)
- Method in class rabbit.http.
HTTPHeader
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(DataInputStream)
- Method in class rabbit.http.
HTTPHeader
readHTTPHeader()
- Method in class rabbit.io.
HTTPInputStream
Read a HTTPHeader of this stream.
readHTTPHeader(boolean)
- Method in class rabbit.io.
HTTPInputStream
Read a HTTPHeader of this stream.
readImage()
- Method in class rabbit.handler.
ImageHandler
Read in the image
readLine(DataInputStream)
- Static method in class rabbit.http.
GeneralHeader
readMultipartContent(HTTPHeader, String)
- Method in class rabbit.proxy.
Connection
If this request has a multipart body read it and append it to the request.
reConfigure(Config)
- 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)
- 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.
BaseHandler
Remove the cachestream and the cache entry.
removeCache(Exception)
- Method in class rabbit.handler.
ImageHandler
Remove the cachestream and the cache entry.
removeConnection(Connection)
- 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.
requestTime
- Variable in class rabbit.proxy.
Connection.RequestHandler
reset()
- Method in class rabbit.io.
NLSOInputStream
Resolver
- Interface in
rabbit.io
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
<
T
> - Class in
rabbit.util
A thread class that is restartable.
RestartableThread()
- Constructor for class rabbit.util.
RestartableThread
RestartableThread(String)
- Constructor for class rabbit.util.
RestartableThread
RestartableThreadFactory
<
T
> - Interface in
rabbit.util
An interface that describes a restartable thread factory.
restSize()
- Method in class rabbit.html.
HTMLBlock
Get the number of bytes that the rest is.
returnSocket(SocketChannel)
- Method in class rabbit.proxy.
Proxy
returnThread(T)
- Method in class rabbit.util.
ThreadPool
Return a thread to the pool.
returnWebConnection(WebConnection)
- Method in class rabbit.spider.
WebSpider
ReverseProxy
- Class in
rabbit.filter
This is a filter that set up rabbit for reverse proxying.
ReverseProxy()
- Constructor for class rabbit.filter.
ReverseProxy
rotateLogs()
- Method in class rabbit.proxy.
Proxy
Rotate the logs.
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.
ConnectionHandler
The cleaner thread.
run()
- Method in class rabbit.io.
CopyThread
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
sameTag(String, int)
- Method in class rabbit.html.
HTMLParser
save(OutputStream)
- Method in class rabbit.util.
Config
save the config to a OutputStream
save(OutputStream, String)
- Method in class rabbit.util.
Config
save the config to a OutputStream
saveAccess(Logger, Reader)
- Method in class rabbit.filter.
AccessFilter
Saves the accesslist from the given Reader.
saveAccess(Logger, Reader)
- Method in interface rabbit.filter.
IPAccessFilter
Saves the accesslist from the given Reader.
saveConfig()
- Method in class rabbit.proxy.
Proxy
save the config back to file
saveUsers(Reader)
- Method in class rabbit.filter.
HTTPBaseFilter
Saves the users from the given Reader.
SB
- Static variable in class rabbit.html.
TagType
SBLINK
- Static variable in class rabbit.html.
TagType
SBODY
- Static variable in class rabbit.html.
TagType
scanComment()
- Method in class rabbit.html.
HTMLParser
Scan a comment from the block, that is the string up to and including "-->".
scanCommentUntilEnd(String)
- Method in class rabbit.html.
HTMLParser
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.
HTMLParser
A HTML script
SCRIPT
- Static variable in class rabbit.html.
TagType
SCRIPT
- Static variable in class rabbit.html.
Token
This token is a script
SDIV
- Static variable in class rabbit.html.
TagType
send()
- Method in class rabbit.handler.
BaseHandler
Send the actual data.
send()
- Method in class rabbit.handler.
FilterHandler
Send the actual data (read data, filter data, send data).
send()
- Method in class rabbit.handler.
MultiPartHandler
send(OutputStream)
- Method in class rabbit.html.
HTMLBlock
Send this block (but not the rest part) on the given stream.
send(HTTPHeader)
- Method in class rabbit.proxy.
Connection
Send a header to the client.
sendPage(MultiOutputStream, Connection)
- Method in class rabbit.meta.
AccessGetter
sendPage(MultiOutputStream, Connection)
- Method in class rabbit.meta.
ProxyConfig
sendPage(MultiOutputStream, Connection)
- Method in class rabbit.meta.
SimpleHandler
Send the response page.
sendPage(MultiOutputStream, Connection)
- Method in class rabbit.meta.
UserGetter
sendRest(OutputStream)
- Method in class rabbit.html.
HTMLBlock
Send the rest of the data on the given stream.
setAddedIMS(boolean)
- Method in class rabbit.proxy.
Connection
setAddedINM(boolean)
- Method in class rabbit.proxy.
Connection
setAttribute(String, String)
- Method in class rabbit.html.
Tag
Set the attribute given.
setCacheDir(String)
- Method in class rabbit.cache.
NCache
Sets the cachedir.
setCacheTime(long)
- Method in class rabbit.cache.
NCache
Set the standard expiry-time for CacheEntries
setCacheTime(Date)
- Method in class rabbit.cache.
NCacheEntry
Set the date this object was cached.
setChanged(boolean)
- Method in class rabbit.html.
Token
Set the change value of this Token.
setChunked(boolean)
- Method in class rabbit.io.
HTTPInputStream
Set the chunkin of this stream.
setChunking(boolean)
- Method in class rabbit.proxy.
Connection
Set the chunking option.
setCleanLoopTime(int)
- Method in class rabbit.cache.
NCache
Set how long time the cleaner sleeps between cleanups.
setContent(String)
- Method in class rabbit.http.
HTTPHeader
Set the Content for the request/response Mostly not used for responses.
setContent(byte[])
- Method in class rabbit.http.
HTTPHeader
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(long)
- 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<T>)
- Method in class rabbit.util.
ThreadPool
Set the factory to use for creating threads.
setHeader(String, String)
- Method in class rabbit.http.
GeneralHeader
Set or replaces a value for given type.
setHTTPVersion(String)
- Method in class rabbit.http.
HTTPHeader
Set the HTTP Version to use for request.
setKeepAlive(boolean)
- Method in class rabbit.io.
HTTPInputStream
Set the keep alive value to currentkeepalive & keepalive
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.
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.
setMustRevalidate(boolean)
- Method in class rabbit.proxy.
Connection
setPartialContent(long, long)
- Method in class rabbit.handler.
BaseHandler
Mark the current response as a partial response.
setPassWord(String)
- Method in class rabbit.proxy.
Connection
Set the password of the client.
setPendingComment(Token)
- Method in class rabbit.html.
HTMLParser
setPipeline(boolean)
- Method in class rabbit.io.
WebConnection
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.
setProxy(String)
- Method in class rabbit.proxy.
Proxy
Set the proxy to use.
setProxyPort(int)
- Method in class rabbit.proxy.
Proxy
Set the proxy port to use.
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.
setSelectionKey(SelectionKey)
- Method in class rabbit.io.
WebConnection
setSize(long)
- Method in class rabbit.cache.
NCacheEntry
Sets the size of our data
setSocket(SocketChannel)
- 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.
setStrictHTTP(boolean)
- Static method in class rabbit.http.
GeneralHeader
Should headers be parsed with strict HTTP or not?
setTag(Tag)
- Method in class rabbit.html.
Token
Set the tag of this token, also set the type to TAG.
setText(byte[])
- Method in class rabbit.html.
HTMLParser
Set the data block to parse.
setText(byte[], int)
- Method in class rabbit.html.
HTMLParser
Set the data block to parse.
setText(String)
- Method in class rabbit.html.
HTMLParser
Set the data to parse.
setText(String)
- Method in class rabbit.html.
Token
Set the text of this Token, also sets the type to TEXT.
setToken(Token)
- Method in class rabbit.html.
Tag
Set the parent token of this tag.
setType(String)
- Method in class rabbit.html.
Tag
Set the Type of this Tag.
setup(SProperties)
- Method in class rabbit.cache.
NCache
Configure the cache system from the given config.
setup(Logger, SProperties)
- Method in class rabbit.filter.
AccessFilter
Setup this class.
setup(Logger, SProperties)
- Method in class rabbit.filter.
BlockFilter
Setup this class with the given properties.
setup(Logger, SProperties)
- Method in class rabbit.filter.
DontCacheFilter
Setup this class with the given properties.
setup(Logger, SProperties)
- Method in class rabbit.filter.
DontFilterFilter
Setup this class with the given properties.
setup(Logger, SProperties)
- Method in class rabbit.filter.
HTTPBaseFilter
Setup this class with the given properties.
setup(Logger, SProperties)
- Method in interface rabbit.filter.
HTTPFilter
Setup this filter.
setup(Logger, SProperties)
- Method in class rabbit.filter.
HTTPSnoop
Setup this class with the given properties.
setup(Logger, SProperties)
- Method in interface rabbit.filter.
IPAccessFilter
Setup this filter.
setup(Logger, SProperties)
- Method in class rabbit.filter.
ProxyAuth
Setup this class with the given properties.
setup(Logger, SProperties)
- Method in class rabbit.filter.
ReverseProxy
Setup this class with the given properties.
setup(Logger, SProperties)
- Method in class rabbit.filter.
SQLProxyAuth
Setup this class with the given properties.
setup(Logger, SProperties)
- Method in class rabbit.handler.
BaseHandler
Setup the factory, this method does nothing in this class.
setup(Logger, SProperties)
- Method in class rabbit.handler.
FilterHandler
Setup this class.
setup(Logger, SProperties)
- Method in class rabbit.handler.
GZIPHandler
Setup this class.
setup(Logger, SProperties)
- Method in interface rabbit.handler.
HandlerFactory
setup the handler factory.
setup(Logger, SProperties)
- Method in class rabbit.handler.
ImageHandler
Setup this class.
setup(SProperties)
- Method in class rabbit.io.
ConnectionHandler
Configure the connection handler system from the given config.
setup(Proxy)
- Method in interface rabbit.proxy.
DNSHandler
Do any neccessary setup.
setup(Proxy)
- Method in class rabbit.proxy.
DNSJavaHandler
Do any neccessary setup.
setup(Proxy)
- Method in class rabbit.proxy.
DNSSunHandler
Do any neccessary setup.
setup()
- Static method in class rabbit.proxy.
HTMLPage
setup this class for usage
setup(SProperties)
- Static method in class rabbit.proxy.
HTMLPage
setup this class for usage
setupStreams()
- Method in class rabbit.proxy.
Connection
Set up the streams used for reading request and sending data to and from the client.
setUsage(int, int)
- Method in class rabbit.util.
ThreadPool.Usage
setUserName(String)
- Method in class rabbit.proxy.
Connection
Set the user name of the client.
setUsers(Map<String, String>)
- Method in class rabbit.filter.
HTTPBaseFilter
Return the hash of users.
SFONT
- Static variable in class rabbit.html.
TagType
SFORM
- Static variable in class rabbit.html.
TagType
SHEAD
- Static variable in class rabbit.html.
TagType
showReadme()
- Method in class rabbit.installer.
Installer
Show the readme in a new Window.
SHTML
- Static variable in class rabbit.html.
TagType
SIMG
- Static variable in class rabbit.html.
TagType
SimpleHandler
- Class in
rabbit.meta
A base class for simple meta pages.
SimpleHandler()
- Constructor for class rabbit.meta.
SimpleHandler
default constructor
SimpleLogger
- Class in
rabbit.linkchecker
A very simple logger for the link checker.
SimpleLogger()
- Constructor for class rabbit.linkchecker.
SimpleLogger
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.
SimpleTestServer
- Class in
rabbit.webserver
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.
size
- Variable in class rabbit.proxy.
Connection.RequestHandler
skip(long)
- Method in class rabbit.io.
MaxSizeInputStream
Skip a number of bytes.
skip(long)
- Method in class rabbit.io.
NLSOInputStream
SLAYER
- Static variable in class rabbit.html.
TagType
SLI
- Static variable in class rabbit.html.
TagType
SMETA
- Static variable in class rabbit.html.
TagType
SP
- Static variable in class rabbit.html.
TagType
SPAN
- Static variable in class rabbit.html.
TagType
splitArgs(String)
- Method in class rabbit.proxy.
Connection
splits the CGI-paramsstring into variables and values.
SProperties
- Class in
rabbit.util
A simple string properties class.
SProperties()
- Constructor for class rabbit.util.
SProperties
SQLProxyAuth
- Class in
rabbit.filter
This is a filter that requires users to use proxy-authentication, using users in a sql table.
SQLProxyAuth()
- Constructor for class rabbit.filter.
SQLProxyAuth
SQSTRING
- Static variable in class rabbit.html.
HTMLParser
This is a Single Quoted String a 'string'
SSCRIPT
- Static variable in class rabbit.html.
TagType
sslports
- Variable in class rabbit.proxy.
Proxy
The List of acceptable ssl-ports.
SSPAN
- Static variable in class rabbit.html.
TagType
SSTYLE
- Static variable in class rabbit.html.
TagType
STABLE
- Static variable in class rabbit.html.
TagType
StackTrace
- Class in
rabbit.meta
Get all the stack traces
StackTrace()
- Constructor for class rabbit.meta.
StackTrace
default constructor
StandardResponseHeaders
- Class in
rabbit.proxy
A class that can create standard response headers.
StandardResponseHeaders(Connection)
- Constructor for class rabbit.proxy.
StandardResponseHeaders
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 interface rabbit.linkchecker.
Logger
This method is called when this Logger is started.
startLogging(Config)
- Method in class rabbit.linkchecker.
SimpleLogger
This method is called when this Logger is started.
Status
- Class in
rabbit.awt
This class is a simple statusbar, that is a Component that shows some text.
Status()
- Constructor for class rabbit.awt.
Status
The default constructor.
Status
- Class in
rabbit.meta
the Metapage that shows the status of the proxy.
Status()
- Constructor for class rabbit.meta.
Status
default constructor
STD
- Static variable in class rabbit.html.
TagType
STITLE
- Static variable in class rabbit.html.
TagType
STR
- Static variable in class rabbit.html.
TagType
strictHTTP
- Static variable in class rabbit.http.
GeneralHeader
If we should allow single \n to mean end of header
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.
STT
- Static variable in class rabbit.html.
TagType
STYLE
- Static variable in class rabbit.html.
TagType
T
TABLE
- Static variable in class rabbit.html.
TagType
tag(int)
- Method in class rabbit.html.
HTMLParser
Scan a tag from the block.
Tag
- Class in
rabbit.html
This class describes a HTML tag.
Tag()
- Constructor for class rabbit.html.
Tag
Tag(String)
- Constructor for class rabbit.html.
Tag
Create a new Tag with given type
TAG
- Static variable in class rabbit.html.
Token
This token is a tag.
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.
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 in
rabbit.html
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
<
T
> - Class in
rabbit.util
This is a thread pool.
ThreadPool(RestartableThreadFactory<T>, int)
- Constructor for class rabbit.util.
ThreadPool
Create a ThreadPool.
ThreadPool.Usage
- Class in
rabbit.util
The current usage of the threadpool
ThreadPool.Usage()
- Constructor for class rabbit.util.
ThreadPool.Usage
TITLE
- Static variable in class rabbit.html.
TagType
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, int, int)
- Constructor for class rabbit.html.
Token
Create a new Token with given arguments.
Token(byte[], int, 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.
toString()
- Method in class rabbit.html.
HTMLBlock
Get a String representation of this block.
toString()
- Method in class rabbit.html.
Tag.Pair
Get a String representation of this Pair.
toString()
- Method in class rabbit.html.
Tag
Get this Tag as a String.
toString()
- Method in class rabbit.html.
TagType
toString()
- Method in class rabbit.html.
Token
Get the String representation of this object.
toString()
- Method in class rabbit.http.
GeneralHeader
Get the text value of this header
toString()
- Method in class rabbit.http.
HTTPHeader
get the text value of this header
toString()
- Method in class rabbit.io.
ConnectionHandler.Address
Get a String representation of this Address
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.
TR
- Static variable in class rabbit.html.
TagType
tryconvert()
- Method in class rabbit.handler.
ImageHandler
Try to convert the image.
TT
- Static variable in class rabbit.html.
TagType
U
UNKNOWN
- Static variable in class rabbit.html.
HTMLParser
Unknown token.
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 in
rabbit.meta
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()
- Method in class rabbit.html.
HTMLParser
Scan a value from the block.
value
- Variable in class rabbit.html.
Tag.Pair
The value of this pair.
verbose
- Static variable in class rabbit.installer.
Packer
Should we run in verbose mode?
verifyResponse()
- Method in class rabbit.io.
HTTPInputStream
Verify that the response starts with "HTTP/" Failure to verify response => treat all of data as content = HTTP/0.9.
VERSION
- Static variable in class rabbit.linkchecker.
LinkVerifier
Current version
VERSION
- Static variable in class rabbit.proxy.
Proxy
Current version
W
WARN
- Static variable in interface rabbit.util.
Logger
Show warnings and higer.
wc
- Variable in class rabbit.proxy.
Connection.RequestHandler
WebConnection
- Class in
rabbit.io
A class to handle a connection to the Internet.
WebConnection(InetAddress, int, boolean, String, Counter, Logger, NLSOHandler)
- Constructor for class rabbit.io.
WebConnection
Create a new WebConnection to the given InetAddress and port.
webheader
- Variable in class rabbit.proxy.
Connection.RequestHandler
WebSpider
- Class in
rabbit.spider
A web spider that can be used to test rabbit.
WebSpider(int, int, String, int, List)
- Constructor for class rabbit.spider.
WebSpider
write(int)
- Method in class rabbit.io.
HTTPOutputStream
Write a byte to the underlying 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.
HTTPOutputStream
Write a byte array to the underlying stream.
write(int)
- Method in class rabbit.io.
MaxSizeOutputStream
Write a byte to this stream.
write(byte[])
- Method in class rabbit.io.
MaxSizeOutputStream
Write a byte array to this stream.
write(byte[], int, int)
- Method in class rabbit.io.
MaxSizeOutputStream
Write a byte array to this stream.
write(int)
- Method in class rabbit.io.
MultiOutputStream
Write a byte to this stream.
write(byte[])
- Method in class rabbit.io.
MultiOutputStream
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(int)
- Method in class rabbit.proxy.
PartialCacher
write(byte[])
- Method in class rabbit.proxy.
PartialCacher
write(byte[], int, int)
- Method in class rabbit.proxy.
PartialCacher
writeData(byte[], int, int)
- Method in class rabbit.handler.
BaseHandler
Write the data to the client.
writeExternal(ObjectOutput)
- Method in class rabbit.cache.
NCacheEntry
Write the object to the object output.
writeExternal(ObjectOutput)
- Method in class rabbit.http.
GeneralHeader.Header
writeExternal(ObjectOutput)
- Method in class rabbit.http.
GeneralHeader
writeExternal(ObjectOutput)
- Method in class rabbit.http.
HTTPHeader
writeFooter(HTTPFooter)
- Method in class rabbit.io.
HTTPOutputStream
Write a HTTPFooter on this stream.
writeHeader()
- Method in class rabbit.handler.
BaseHandler
Write the response header
writeHeader()
- Method in class rabbit.handler.
ImageHandler
Write the response header
writeHTTPHeader(HTTPHeader)
- Method in class rabbit.io.
HTTPOutputStream
Write a HTTPHeader on this stream.
writeHTTPHeader(HTTPHeader, boolean, String)
- Method in class rabbit.io.
HTTPOutputStream
Write a HTTPHeader on this stream.
writeHTTPHeader(HTTPHeader)
- Method in class rabbit.io.
MultiOutputStream
Write a HTTPHeader on this stream.
writeHTTPHeader(HTTPHeader, boolean, String)
- Method in class rabbit.io.
MultiOutputStream
Write a HTTPHeader on this stream.
writeHTTPHeader(HTTPHeader)
- Method in class rabbit.io.
WebConnection
Write an HTTP header on this connection.
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
T
U
V
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes