org.eclipse.jetty.server
类 ResourceCache.Content
java.lang.Object
org.eclipse.jetty.server.ResourceCache.Content
- 所有已实现的接口:
- HttpContent
- 包容类:
- ResourceCache
public class ResourceCache.Content
- extends Object
- implements HttpContent
MetaData associated with a context Resource.
getKey
public String getKey()
isCached
public boolean isCached()
isMiss
public boolean isMiss()
getResource
public Resource getResource()
- 指定者:
- 接口
HttpContent 中的 getResource
getETag
public Buffer getETag()
- 指定者:
- 接口
HttpContent 中的 getETag
invalidate
protected void invalidate()
getLastModified
public Buffer getLastModified()
- 指定者:
- 接口
HttpContent 中的 getLastModified
getContentType
public Buffer getContentType()
- 指定者:
- 接口
HttpContent 中的 getContentType
release
public void release()
- 指定者:
- 接口
HttpContent 中的 release
getIndirectBuffer
public Buffer getIndirectBuffer()
- 指定者:
- 接口
HttpContent 中的 getIndirectBuffer
getDirectBuffer
public Buffer getDirectBuffer()
- 指定者:
- 接口
HttpContent 中的 getDirectBuffer
getContentLength
public long getContentLength()
- 指定者:
- 接口
HttpContent 中的 getContentLength
getInputStream
public InputStream getInputStream()
throws IOException
- 指定者:
- 接口
HttpContent 中的 getInputStream
- 抛出:
IOException
toString
public String toString()
- 覆盖:
- 类
Object 中的 toString
Copyright © 2013. All Rights Reserved.