Java Doc for PushEntityCachedResource.java in  » Web-Server » Jigsaw » org » w3c » www » protocol » http » cache » push » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Server » Jigsaw » org.w3c.www.protocol.http.cache.push 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.w3c.www.protocol.http.cache.CachedResource
   org.w3c.www.protocol.http.cache.EntityCachedResource
      org.w3c.www.protocol.http.cache.push.PushEntityCachedResource

PushEntityCachedResource
public class PushEntityCachedResource extends EntityCachedResource (Code)
PushEntityCachedResource EntityCachedResource that reads data from the file rather than attempting to use ActiveStream to tee output to a client that is not there.
author:
   Paul Henshaw, The Fantastic Corporation, Paul.Henshaw@fantastic.com
version:
   $Revision: 1.1 $
version:
   $Id: PushEntityCachedResource.java,v 1.1 2001/10/03 15:00:46 ylafon Exp $



Constructor Summary
public  PushEntityCachedResource()
    
protected  PushEntityCachedResource(PushCacheFilter filter, Request req, PushReply rep)
     Construct a PushEntityCachedResource Used by the PushCacheManager to actually store a PUSH resource. Note PushEntityCachedResource are used only when saving resources.



Constructor Detail
PushEntityCachedResource
public PushEntityCachedResource()(Code)
This constructor required to handle startup when cache already contains PushEntityCachedResources



PushEntityCachedResource
protected PushEntityCachedResource(PushCacheFilter filter, Request req, PushReply rep)(Code)
Construct a PushEntityCachedResource Used by the PushCacheManager to actually store a PUSH resource. Note PushEntityCachedResource are used only when saving resources. When extracting resources from the cache, EntityCachedResources are used.
Parameters:
  filter - the PushCacheFilter that in fact has not done anything yet, but which knows how to handle a PUSHed resource
Parameters:
  req - the forged request for a URL
Parameters:
  rep - the forged reply for the URL




Fields inherited from org.w3c.www.protocol.http.cache.EntityCachedResource
protected static int ATTR_CONTENT_TYPE(Code)(Java Doc)
protected static int ATTR_FRESHNESS_LIFETIME(Code)(Java Doc)
protected static int ATTR_INITIAL_AGE(Code)(Java Doc)
protected static int ATTR_LOAD_STATE(Code)(Java Doc)
protected static int ATTR_RESPONSE_TIME(Code)(Java Doc)
protected static int ATTR_REVALIDATE(Code)(Java Doc)
final public static int COND_FAILED(Code)(Java Doc)
final public static int COND_OK(Code)(Java Doc)
final public static int COND_WEAK(Code)(Java Doc)
protected CacheFilter filter(Code)(Java Doc)
protected boolean hasEntity(Code)(Java Doc)
protected int oldsize(Code)(Java Doc)
protected boolean regetting(Code)(Java Doc)
protected boolean revalidating(Code)(Java Doc)
protected int wantedsize(Code)(Java Doc)

Methods inherited from org.w3c.www.protocol.http.cache.EntityCachedResource
public int checkIfMatch(Request request)(Code)(Java Doc)
public int checkIfModifiedSince(Request request)(Code)(Java Doc)
public int checkIfNoneMatch(Request request)(Code)(Java Doc)
public int checkIfUnmodifiedSince(Request request)(Code)(Java Doc)
public int checkValidators(Request request)(Code)(Java Doc)
protected synchronized void cleanUpload()(Code)(Java Doc)
public MimeType getContentType()(Code)(Java Doc)
public int getCurrentAge()(Code)(Java Doc)
public int getFreshnessLifetime()(Code)(Java Doc)
public HttpEntityTag getHETag()(Code)(Java Doc)
public int getInitialAge()(Code)(Java Doc)
public synchronized InputStream getInputStream() throws IOException(Code)(Java Doc)
public long getResponseTime()(Code)(Java Doc)
public boolean getRevalidate()(Code)(Java Doc)
protected Reply handleRangeRequest(Request request, HttpRange r)(Code)(Java Doc)
public void initialize(Object values)(Code)(Java Doc)
public void notifyTeeFailure(int size)(Code)(Java Doc)
public synchronized void notifyTeeSuccess(int size)(Code)(Java Doc)
public Reply perform(Request request) throws HttpException(Code)(Java Doc)
public void setContentType(MimeType type)(Code)(Java Doc)
public void setFreshnessLifetime(int freshnessLifetime)(Code)(Java Doc)
public void setInitialAge(int initage)(Code)(Java Doc)
protected Reply setReplyHeaders(Reply reply)(Code)(Java Doc)
public Request setRequestRevalidation(Request request)(Code)(Java Doc)
public void setResponseTime(long responsetime)(Code)(Java Doc)
public void setRevalidate(boolean validate)(Code)(Java Doc)
public synchronized InputStream tryActiveCacheContent(InputStream in) throws IOException(Code)(Java Doc)
protected void updateInfo(Request request, Reply rep)(Code)(Java Doc)
final protected synchronized void waitUpload()(Code)(Java Doc)

Fields inherited from org.w3c.www.protocol.http.cache.CachedResource
protected static int ATTR_CONNEG_HEADERS(Code)(Java Doc)
protected static int ATTR_CONTENT_ENCODING(Code)(Java Doc)
protected static int ATTR_CONTENT_LANGUAGE(Code)(Java Doc)
protected static int ATTR_CONTENT_LENGTH(Code)(Java Doc)
protected static int ATTR_CONTENT_MD5(Code)(Java Doc)
protected static int ATTR_CURRENT_LENGTH(Code)(Java Doc)
protected static int ATTR_DATE(Code)(Java Doc)
protected static String ATTR_DESCR(Code)(Java Doc)
protected static int ATTR_ETAG(Code)(Java Doc)
protected static int ATTR_EXTRA_HEADERS(Code)(Java Doc)
protected static int ATTR_FILE(Code)(Java Doc)
protected static int ATTR_IDENTIFIER(Code)(Java Doc)
protected static int ATTR_LOAD_STATE(Code)(Java Doc)
protected static int ATTR_LOCATION(Code)(Java Doc)
protected static int ATTR_REPLY_LAST_MODIFIED(Code)(Java Doc)
protected static int ATTR_STATUS(Code)(Java Doc)
protected static int ATTR_VARY(Code)(Java Doc)
final public static int COND_FAILED(Code)(Java Doc)
final public static int COND_OK(Code)(Java Doc)
final protected static String NAME_CONTENT_LENGTH(Code)(Java Doc)
final protected static String NAME_CURRENT_LENGTH(Code)(Java Doc)
final protected static String NAME_FILE(Code)(Java Doc)
final protected static String NAME_IDENTIFIER(Code)(Java Doc)
final public static int STATE_LOAD_COMPLETE(Code)(Java Doc)
final public static int STATE_LOAD_ERROR(Code)(Java Doc)
final public static int STATE_LOAD_PARTIAL(Code)(Java Doc)
final public static int STATE_LOAD_UNKNOWN(Code)(Java Doc)
final public static int STATE_NOT_LOADED(Code)(Java Doc)
protected ArrayDictionary a(Code)(Java Doc)
protected CacheFilter filter(Code)(Java Doc)
protected CacheGeneration generation(Code)(Java Doc)
protected boolean invalidated(Code)(Java Doc)
protected LRUAble next(Code)(Java Doc)
protected LRUAble prev(Code)(Java Doc)
protected boolean uploading(Code)(Java Doc)

Methods inherited from org.w3c.www.protocol.http.cache.CachedResource
public long delete()(Code)(Java Doc)
public ArrayDictionary getConnegHeaders()(Code)(Java Doc)
public String[] getContentEncoding()(Code)(Java Doc)
public String[] getContentLanguage()(Code)(Java Doc)
public int getContentLength()(Code)(Java Doc)
public String getContentMD5()(Code)(Java Doc)
abstract public MimeType getContentType()(Code)(Java Doc)
abstract public int getCurrentAge()(Code)(Java Doc)
public int getCurrentLength()(Code)(Java Doc)
public long getDate()(Code)(Java Doc)
public String getETag()(Code)(Java Doc)
public ArrayDictionary getExtraHeaders()(Code)(Java Doc)
public File getFile()(Code)(Java Doc)
abstract public int getFreshnessLifetime()(Code)(Java Doc)
public String getIdentifier()(Code)(Java Doc)
public long getLastModified()(Code)(Java Doc)
public int getLoadState()(Code)(Java Doc)
public LRUAble getNext()(Code)(Java Doc)
public LRUAble getPrev()(Code)(Java Doc)
public int getStatus()(Code)(Java Doc)
public String[] getVary()(Code)(Java Doc)
public boolean getWillRevalidate()(Code)(Java Doc)
public CachedResource lookupResource(Request request)(Code)(Java Doc)
public void notifyTeeFailure(int size)(Code)(Java Doc)
public void notifyTeeSuccess(int size)(Code)(Java Doc)
abstract public Reply perform(Request request) throws HttpException(Code)(Java Doc)
public void setConnegHeaders(ArrayDictionary a)(Code)(Java Doc)
public void setContentEncoding(String[] sum)(Code)(Java Doc)
public void setContentLanguage(String[] language)(Code)(Java Doc)
public void setContentLength(int length)(Code)(Java Doc)
public void setContentMD5(String sum)(Code)(Java Doc)
abstract public void setContentType(MimeType type)(Code)(Java Doc)
public void setCurrentLength(int length)(Code)(Java Doc)
public void setDate(long date)(Code)(Java Doc)
public void setETag(String etag)(Code)(Java Doc)
public void setExtraHeaders(ArrayDictionary a)(Code)(Java Doc)
public void setFile(File file)(Code)(Java Doc)
public void setLastModified(long lastmodified)(Code)(Java Doc)
public void setLoadState(int state)(Code)(Java Doc)
public synchronized void setNext(LRUAble next)(Code)(Java Doc)
public synchronized void setPrev(LRUAble prev)(Code)(Java Doc)
abstract public Request setRequestRevalidation(Request request)(Code)(Java Doc)
public void setStatus(int status)(Code)(Java Doc)
public void setValue(int idx, Object value)(Code)(Java Doc)
public void setVary(String[] vary)(Code)(Java Doc)
public void setWillRevalidate(boolean invalidated)(Code)(Java Doc)

w_ww_.__j_a___v___a2s_.__c__o__m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.