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.


嵌套类摘要
 
从接口 org.eclipse.jetty.http.HttpContent 继承的嵌套类/接口
HttpContent.ResourceAsHttpContent
 
方法摘要
 long getContentLength()
           
 Buffer getContentType()
           
 Buffer getDirectBuffer()
           
 Buffer getETag()
           
 Buffer getIndirectBuffer()
           
 InputStream getInputStream()
           
 String getKey()
           
 Buffer getLastModified()
           
 Resource getResource()
           
protected  void invalidate()
           
 boolean isCached()
           
 boolean isMiss()
           
 void release()
           
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

方法详细信息

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.