Class Resource
- java.lang.Object
-
- com.google.gerrit.httpd.resources.Resource
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SmallResource
public abstract class Resource extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Resource()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract boolean
isUnchanged(long latestModifiedDate)
abstract void
send(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
abstract int
weigh()
-
-
-
Field Detail
-
NOT_FOUND
public static final Resource NOT_FOUND
-
-
Method Detail
-
isUnchanged
public abstract boolean isUnchanged(long latestModifiedDate)
-
weigh
public abstract int weigh()
-
send
public abstract void send(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws IOException
- Throws:
IOException
-
-