|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HttpHeader | |
---|---|
rabbit.client | Classes that can be used to build http clients. |
rabbit.client.sample | A few simple example clients based on the rabbit client classes. |
rabbit.filter | A set of filters for sockets, http and http resources. |
rabbit.filter.authenticate | The classes that rabbit uses to perform authentication against different resources. |
rabbit.handler | The resource handlers used in the web proxy. |
rabbit.httpio | General http io classes |
rabbit.io | Classes that deal with network and i/o. |
rabbit.meta | The web interface to the web proxy. |
rabbit.proxy | The web proxy components. |
Uses of HttpHeader in rabbit.client |
---|
Methods in rabbit.client that return HttpHeader | |
---|---|
HttpHeader |
ClientBase.getRequest(String method,
String url)
Submit a new request, using the given method to the given url. |
Methods in rabbit.client with parameters of type HttpHeader | |
---|---|
URL |
ClientBase.getRedirectedURL(HttpHeader request,
String location)
Create the url that the response redirected the request to. |
void |
ClientListenerAdapter.handleFailure(HttpHeader request,
Exception e)
Logs an error to the logger and calls requestDone(). |
void |
ClientListener.handleFailure(HttpHeader request,
Exception e)
Handle a failure of a given request. |
void |
ClientListenerAdapter.handleResponse(HttpHeader request,
HttpHeader response,
WebConnectionResourceSource wc)
This method does nothing. |
void |
ClientListener.handleResponse(HttpHeader request,
HttpHeader response,
WebConnectionResourceSource wcrs)
Handle a response for a request. |
void |
ClientListenerAdapter.handleTimeout(HttpHeader request)
Logs an error to the logger and calls requestDone(). |
void |
ClientListener.handleTimeout(HttpHeader request)
Handle a timeout of a given request. |
void |
ClientListenerAdapter.redirected(HttpHeader request,
String location,
ClientBase base)
Create the redirected url and calls redirectedTo() and requestDone(). |
void |
ClientListener.redirected(HttpHeader request,
String location,
ClientBase base)
Handle a redirected request |
void |
ClientListenerAdapter.requestDone(HttpHeader request)
Handle any cleanup in this method. |
void |
ClientListener.requestDone(HttpHeader request)
A request has been fully handled. |
void |
CountingClientBaseStopper.sendRequest(HttpHeader request,
ClientListener listener)
|
void |
ClientBase.sendRequest(HttpHeader request,
ClientListener client)
Send a request and let the client be notified on response. |
Constructors in rabbit.client with parameters of type HttpHeader | |
---|---|
FileSaver(HttpHeader request,
ClientBase clientBase,
ClientListener listener,
ResourceSource rs,
File f)
|
Uses of HttpHeader in rabbit.client.sample |
---|
Methods in rabbit.client.sample with parameters of type HttpHeader | |
---|---|
void |
LogHeadToSystemOut.response(HttpHeader request,
HttpHeader response)
|
void |
HeadResponseListener.response(HttpHeader request,
HttpHeader response)
Handle a http response. |
Uses of HttpHeader in rabbit.filter |
---|
Fields in rabbit.filter declared as HttpHeader | |
---|---|
protected HttpHeader |
HtmlFilter.request
The actual request made. |
protected HttpHeader |
HtmlFilter.response
The actual response. |
Methods in rabbit.filter that return HttpHeader | |
---|---|
HttpHeader |
NoGZipEncoding.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
|
HttpHeader |
ReverseProxy.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
DontCacheFilter.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
Test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
SetHeaderFilter.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
|
HttpHeader |
DontFilterFilter.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
Test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
HttpFilter.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
ProxyAuth.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
HttpBaseFilter.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
|
HttpHeader |
BlockFilter.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
RevalidateFilter.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
|
HttpHeader |
HttpSnoop.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
NoGZipEncoding.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
|
HttpHeader |
ReverseProxy.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
DontCacheFilter.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
Test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
SetHeaderFilter.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
|
HttpHeader |
DontFilterFilter.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
HttpFilter.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
ProxyAuth.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
HttpBaseFilter.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
|
HttpHeader |
BlockFilter.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
RevalidateFilter.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
|
HttpHeader |
HttpSnoop.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
Methods in rabbit.filter with parameters of type HttpHeader | |
---|---|
HttpHeader |
NoGZipEncoding.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
|
HttpHeader |
ReverseProxy.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
DontCacheFilter.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
Test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
SetHeaderFilter.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
|
HttpHeader |
DontFilterFilter.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
Test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
HttpFilter.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
ProxyAuth.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
HttpBaseFilter.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
|
HttpHeader |
BlockFilter.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
RevalidateFilter.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
|
HttpHeader |
HttpSnoop.doHttpInFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
NoGZipEncoding.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
|
HttpHeader |
ReverseProxy.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
DontCacheFilter.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
Test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
SetHeaderFilter.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
|
HttpHeader |
DontFilterFilter.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
HttpFilter.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
ProxyAuth.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
HttpBaseFilter.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
|
HttpHeader |
BlockFilter.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HttpHeader |
RevalidateFilter.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
|
HttpHeader |
HttpSnoop.doHttpOutFiltering(SocketChannel socket,
HttpHeader header,
Connection con)
test if a socket/header combination is valid or return a new HttpHeader. |
HtmlFilter |
AdFilter.newFilter(Connection con,
HttpHeader request,
HttpHeader response)
|
HtmlFilter |
BackgroundFilter.newFilter(Connection con,
HttpHeader request,
HttpHeader response)
|
HtmlFilter |
BodyFilter.newFilter(Connection con,
HttpHeader request,
HttpHeader response)
|
HtmlFilter |
LowresImageFilter.newFilter(Connection con,
HttpHeader request,
HttpHeader response)
|
HtmlFilter |
HtmlFilterFactory.newFilter(Connection con,
HttpHeader request,
HttpHeader response)
Get a new HtmlFilter for the given request, response pair. |
HtmlFilter |
BlinkFilter.newFilter(Connection con,
HttpHeader request,
HttpHeader response)
|
Constructors in rabbit.filter with parameters of type HttpHeader | |
---|---|
AdFilter(Connection con,
HttpHeader request,
HttpHeader response)
Create a new AdFilter for the given request, response pair. |
|
BackgroundFilter(Connection con,
HttpHeader request,
HttpHeader response)
Create a new BackgroundFilter for the given request, response pair. |
|
BlinkFilter(Connection con,
HttpHeader request,
HttpHeader response)
Create a new BlinkFilter for the given request, response pair. |
|
BodyFilter(Connection con,
HttpHeader request,
HttpHeader response)
Create a new BodyFilter for the given request, response pair. |
|
HtmlFilter(Connection con,
HttpHeader request,
HttpHeader response)
Create a new HtmlFilter for the given request, response pair. |
|
LowresImageFilter(Connection con,
HttpHeader request,
HttpHeader response)
Create a new LowresImageFilter for the given request, response pair. |
|
SimpleTagFilter(Connection con,
HttpHeader request,
HttpHeader response)
Create a new SimpleTagFilter for the given request, response pair. |
Uses of HttpHeader in rabbit.filter.authenticate |
---|
Methods in rabbit.filter.authenticate with parameters of type HttpHeader | |
---|---|
String |
Authenticator.getToken(HttpHeader header,
Connection con)
Find the token used to authenticate |
String |
PlainFileAuthenticator.getToken(HttpHeader header,
Connection con)
|
String |
SQLAuthenticator.getToken(HttpHeader header,
Connection con)
|
Uses of HttpHeader in rabbit.handler |
---|
Fields in rabbit.handler declared as HttpHeader | |
---|---|
protected HttpHeader |
BaseHandler.request
The actual request made. |
protected HttpHeader |
BaseHandler.response
The actual response. |
Fields in rabbit.handler with type parameters of type HttpHeader | |
---|---|
protected CacheEntry<HttpHeader,HttpHeader> |
BaseHandler.entry
The cache entry if available. |
protected CacheEntry<HttpHeader,HttpHeader> |
BaseHandler.entry
The cache entry if available. |
Methods in rabbit.handler with parameters of type HttpHeader | |
---|---|
Handler |
HandlerFactory.getNewInstance(Connection connection,
TrafficLoggerHandler tlh,
HttpHeader header,
BufferHandle bh,
HttpHeader webheader,
ResourceSource content,
boolean mayCache,
boolean mayFilter,
long size)
Get a new Handler for the given request made. |
Handler |
ImageHandler.getNewInstance(Connection con,
TrafficLoggerHandler tlh,
HttpHeader header,
BufferHandle bufHandle,
HttpHeader webHeader,
ResourceSource content,
boolean mayCache,
boolean mayFilter,
long size)
|
Handler |
BaseHandler.getNewInstance(Connection con,
TrafficLoggerHandler tlh,
HttpHeader header,
BufferHandle bufHandle,
HttpHeader webHeader,
ResourceSource content,
boolean mayCache,
boolean mayFilter,
long size)
|
Handler |
MultiPartHandler.getNewInstance(Connection con,
TrafficLoggerHandler tlh,
HttpHeader header,
BufferHandle bufHandle,
HttpHeader webHeader,
ResourceSource content,
boolean mayCache,
boolean mayFilter,
long size)
|
Handler |
GZipHandler.getNewInstance(Connection con,
TrafficLoggerHandler tlh,
HttpHeader header,
BufferHandle bufHandle,
HttpHeader webHeader,
ResourceSource content,
boolean mayCache,
boolean mayFilter,
long size)
|
Handler |
FilterHandler.getNewInstance(Connection con,
TrafficLoggerHandler tlh,
HttpHeader header,
BufferHandle bufHandle,
HttpHeader webHeader,
ResourceSource content,
boolean mayCache,
boolean mayFilter,
long size)
|
protected boolean |
GZipHandler.willCompress(HttpHeader request)
|
protected boolean |
FilterHandler.willCompress(HttpHeader request)
|
Constructors in rabbit.handler with parameters of type HttpHeader | |
---|---|
BaseHandler(Connection con,
TrafficLoggerHandler tlh,
HttpHeader request,
BufferHandle clientHandle,
HttpHeader response,
ResourceSource content,
boolean mayCache,
boolean mayFilter,
long size)
Create a new BaseHandler for the given request. |
|
FilterHandler(Connection con,
TrafficLoggerHandler tlh,
HttpHeader request,
BufferHandle clientHandle,
HttpHeader response,
ResourceSource content,
boolean mayCache,
boolean mayFilter,
long size,
boolean compress,
boolean repack,
List<HtmlFilterFactory> filterClasses)
Create a new FilterHandler for the given request. |
|
GZipHandler(Connection con,
TrafficLoggerHandler tlh,
HttpHeader request,
BufferHandle clientHandle,
HttpHeader response,
ResourceSource content,
boolean mayCache,
boolean mayFilter,
long size,
boolean compress)
Create a new GZipHandler for the given request. |
|
ImageHandler(Connection con,
TrafficLoggerHandler tlh,
HttpHeader request,
BufferHandle clientHandle,
HttpHeader response,
ResourceSource content,
boolean mayCache,
boolean mayFilter,
long size,
SProperties config,
boolean doConvert,
int minSizeToConvert,
ImageConverter imageConverter)
Create a new ImageHandler for the given request. |
|
MultiPartHandler(Connection con,
TrafficLoggerHandler tlh,
HttpHeader request,
BufferHandle clientHandle,
HttpHeader response,
ResourceSource content)
Create a new BaseHansler for the given request. |
Uses of HttpHeader in rabbit.httpio |
---|
Methods in rabbit.httpio with parameters of type HttpHeader | |
---|---|
void |
HttpResponseReader.httpHeaderRead(HttpHeader header,
BufferHandle bh,
boolean keepalive,
boolean isChunked,
long dataSize)
|
void |
HttpHeaderListener.httpHeaderRead(HttpHeader header,
BufferHandle bh,
boolean keepalive,
boolean isChunked,
long dataSize)
One http header has been read |
void |
HttpResponseListener.httpResponse(HttpHeader response,
BufferHandle bufferHandle,
boolean keepalive,
boolean isChunked,
long dataSize)
The http header has been sent. |
Constructors in rabbit.httpio with parameters of type HttpHeader | |
---|---|
HttpHeaderSender(SocketChannel channel,
NioHandler nioHandler,
TrafficLogger tl,
HttpHeader header,
boolean fullURI,
HttpHeaderSentListener sender)
|
|
HttpResponseReader(SocketChannel channel,
NioHandler nioHandler,
TrafficLogger tl,
BufferHandler bufHandler,
HttpHeader header,
boolean fullURI,
boolean strictHttp,
HttpResponseListener listener)
|
Uses of HttpHeader in rabbit.io |
---|
Methods in rabbit.io with parameters of type HttpHeader | |
---|---|
void |
ConnectionHandler.getConnection(HttpHeader header,
WebConnectionListener wcl)
Get a WebConnection for the given header. |
Uses of HttpHeader in rabbit.meta |
---|
Fields in rabbit.meta declared as HttpHeader | |
---|---|
protected HttpHeader |
BaseMetaHandler.request
|
Methods in rabbit.meta with parameters of type HttpHeader | |
---|---|
void |
FileSender.handle(HttpHeader request,
SProperties htab,
Connection con,
TrafficLogger tlProxy,
TrafficLogger tlClient)
|
void |
BaseMetaHandler.handle(HttpHeader request,
SProperties htab,
Connection con,
TrafficLogger tlProxy,
TrafficLogger tlClient)
|
void |
MetaHandler.handle(HttpHeader request,
SProperties htab,
Connection con,
TrafficLogger tlProxy,
TrafficLogger tlClient)
Handle a client request. |
Uses of HttpHeader in rabbit.proxy |
---|
Methods in rabbit.proxy that return HttpHeader | |
---|---|
HttpHeader |
SCC.establish()
|
HttpHeader |
HttpGenerator.get200()
Get a 200 Ok header |
HttpHeader |
HttpGenerator.get206(String ifRange,
HttpHeader header)
Get a 206 Partial Content header. |
HttpHeader |
HttpGenerator.get304(HttpHeader oldresp)
Get a 304 Not Modified header for the given old header |
HttpHeader |
HttpGenerator.get400(Exception exception)
Get a 400 Bad Request header for the given exception. |
HttpHeader |
HttpGenerator.get401(URL url,
String realm)
Get a 401 Authentication Required for the given realm and url. |
HttpHeader |
HttpGenerator.get403()
Get a 403 Forbidden header. |
HttpHeader |
HttpGenerator.get404(String file)
Get a 404 File not found header. |
HttpHeader |
HttpGenerator.get407(URL url,
String realm)
Get a 407 Proxy Authentication Required for the given realm and url. |
HttpHeader |
HttpGenerator.get412()
Get a 412 Precondition Failed header. |
HttpHeader |
HttpGenerator.get414()
Get a 414 Request-URI Too Long header. |
HttpHeader |
HttpGenerator.get416(Throwable exception)
Get a Requested Range Not Satisfiable for the given exception. |
HttpHeader |
HttpGenerator.get417(String expectation)
Get a 417 Expectation Failed header. |
HttpHeader |
HttpGenerator.get500(String requestURL,
Throwable exception)
Get a 500 Internal Server Error header for the given exception. |
HttpHeader |
HttpGenerator.get504(String requestURL,
Throwable exception)
Get a 504 Gateway Timeout for the given exception. |
HttpHeader |
HttpGenerator.getHeader()
Get a new HttpHeader. |
HttpHeader |
HttpHeaderFileHandler.read(InputStream is)
|
Methods in rabbit.proxy that return types with arguments of type HttpHeader | |
---|---|
Cache<HttpHeader,HttpHeader> |
HttpProxy.getCache()
|
Cache<HttpHeader,HttpHeader> |
HttpProxy.getCache()
|
Methods in rabbit.proxy with parameters of type HttpHeader | |
---|---|
static boolean |
ETagUtils.checkWeakEtag(HttpHeader h1,
HttpHeader h2)
Remove any W/ prefix then check if etags are equal. |
void |
ClientResourceTransferredListener.clientResourceAborted(HttpHeader error)
The transfer of the client resource has been aborted. |
void |
SWC.clientResourceAborted(HttpHeader reason)
|
HttpHeader |
HttpGenerator.get206(String ifRange,
HttpHeader header)
Get a 206 Partial Content header. |
HttpHeader |
HttpGenerator.get304(HttpHeader oldresp)
Get a 304 Not Modified header for the given old header |
void |
HttpProxy.getWebConnection(HttpHeader header,
WebConnectionListener wcl)
Get a WebConnection. |
void |
SWC.httpHeaderRead(HttpHeader header,
BufferHandle wbh,
boolean keepalive,
boolean isChunked,
long dataSize)
|
void |
ClientResourceHandler.modifyRequest(HttpHeader header)
Modify the request sent to the server, used to add "Expect: 100 Continue" and similar. |
void |
Connection.sendAndClose(HttpHeader header)
Send a request and then close this connection. |
void |
HttpHeaderFileHandler.write(OutputStream os,
HttpHeader t)
|
Constructors in rabbit.proxy with parameters of type HttpHeader | |
---|---|
PartialCacher(String fileName,
HttpHeader response)
|
|
SCC(Connection con,
HttpHeader header,
rabbit.proxy.RequestHandler rh)
|
|
SWC(Connection con,
HttpHeader header,
TrafficLoggerHandler tlh,
ClientResourceHandler crh,
rabbit.proxy.RequestHandler rh)
|
Constructor parameters in rabbit.proxy with type arguments of type HttpHeader | |
---|---|
CacheResourceSource(Cache<HttpHeader,HttpHeader> cache,
CacheEntry<HttpHeader,HttpHeader> entry,
NioHandler tr,
BufferHandler bufHandler)
|
|
CacheResourceSource(Cache<HttpHeader,HttpHeader> cache,
CacheEntry<HttpHeader,HttpHeader> entry,
NioHandler tr,
BufferHandler bufHandler)
|
|
CacheResourceSource(Cache<HttpHeader,HttpHeader> cache,
CacheEntry<HttpHeader,HttpHeader> entry,
NioHandler tr,
BufferHandler bufHandler)
|
|
CacheResourceSource(Cache<HttpHeader,HttpHeader> cache,
CacheEntry<HttpHeader,HttpHeader> entry,
NioHandler tr,
BufferHandler bufHandler)
|
|
RandomCacheResourceSource(Cache<HttpHeader,HttpHeader> cache,
rabbit.proxy.RequestHandler rh,
NioHandler tr,
BufferHandler bufHandler,
List<Range> ranges,
long totalSize)
|
|
RandomCacheResourceSource(Cache<HttpHeader,HttpHeader> cache,
rabbit.proxy.RequestHandler rh,
NioHandler tr,
BufferHandler bufHandler,
List<Range> ranges,
long totalSize)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |