rabbit.proxy
Class SCC
java.lang.Object
rabbit.proxy.SCC
public class SCC
- extends Object
A class that tries to setup a resource from the cache
- Author:
- Robert Olofsson
Constructor Summary |
SCC(Connection con,
HttpHeader header,
rabbit.proxy.RequestHandler rh)
Create a new SCC, a helper that sets up resources from the cache. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCC
public SCC(Connection con,
HttpHeader header,
rabbit.proxy.RequestHandler rh)
- Create a new SCC, a helper that sets up resources from the cache.
- Parameters:
con
- the Connection handling the requestheader
- the request headerrh
- the RequestHandler that will be filled in.
establish
public HttpHeader establish()
throws IOException
- Returns:
- null if everything looks ok, non-null on an errornous request.
- Throws:
IOException
- if the cached resource can not be read