public final class SmallResource extends Resource
Constructor and Description |
---|
SmallResource(byte[] data) |
Modifier and Type | Method and Description |
---|---|
boolean |
isUnchanged(long lastModified) |
void |
send(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
SmallResource |
setCharacterEncoding(String enc) |
SmallResource |
setContentType(String contentType) |
SmallResource |
setLastModified(long when) |
int |
weigh() |
public SmallResource setLastModified(long when)
public SmallResource setContentType(String contentType)
public SmallResource setCharacterEncoding(String enc)
public void send(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws IOException
send
in class Resource
IOException
public boolean isUnchanged(long lastModified)
isUnchanged
in class Resource