org.mortbay.jetty
public class ResourceCache.Content extends Object implements HttpContent
Modifier and Type | Method and Description |
---|---|
Buffer |
getBuffer() |
long |
getContentLength() |
Buffer |
getContentType() |
InputStream |
getInputStream() |
String |
getKey() |
Buffer |
getLastModified() |
Resource |
getResource() |
void |
invalidate() |
boolean |
isCached() |
void |
release() |
void |
setBuffer(Buffer buffer) |
void |
setContentType(Buffer type) |
public String getKey()
public boolean isCached()
public Resource getResource()
getResource
in interface HttpContent
public void invalidate()
public Buffer getLastModified()
getLastModified
in interface HttpContent
public Buffer getContentType()
getContentType
in interface HttpContent
public void setContentType(Buffer type)
public void release()
release
in interface HttpContent
public Buffer getBuffer()
getBuffer
in interface HttpContent
public void setBuffer(Buffer buffer)
public long getContentLength()
getContentLength
in interface HttpContent
public InputStream getInputStream() throws IOException
getInputStream
in interface HttpContent
IOException
Copyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.