Java Doc for Page.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » jsp » 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 » EJB Server resin 3.1.5 » resin » com.caucho.jsp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.jsp.Page

All known Subclasses:   com.caucho.jsp.XtpPage,  com.caucho.jsp.WrapperPage,  com.caucho.jsp.StaticPage,  com.caucho.jsp.JavaPage,
Page
abstract public class Page implements Servlet,ServletConfig,CauchoPage(Code)
Represents a compiled JSP page.


Field Summary
protected  boolean_alwaysModified
    
final protected static  Logger_caucho_log
    
protected  String_contentType
    
protected  boolean_neverModified
    


Method Summary
protected  void_caucho_addCacheDepend(Path path, long lastModified, long length)
     Adds a single cache dependency.
protected  void_caucho_addDepend(Path path)
     Adds a dependency to the page.
protected  void_caucho_addDepend(PersistentDependency depend)
     Adds a dependency to the page.
protected  void_caucho_addDepend(ArrayList<PersistentDependency> dependList)
     Adds an array of dependencies to the page.
protected  void_caucho_addDepend(Path path, long lastModified, long length)
     Adds a JSP source dependency.
public  void_caucho_free()
     Marks the page as free.
public  WebApp_caucho_getApplication()
     Returns the Resin webApp.
protected  HashMap<String, Method>_caucho_getFunctionMap()
    
public  void_caucho_init(HttpServletRequest req, HttpServletResponse res)
     Initialize the response headers.
public  boolean_caucho_isModified()
     Returns true if the underlying source has been modified.
public  long_caucho_lastModified()
     The default Last-Modified time is just the most recently modified file.
protected  void_caucho_setAlwaysModified()
     When called treats the JSP page as always modified, i.e.
protected  void_caucho_setCacheable()
     Marks the page as cacheable.
 void_caucho_setCacheable(ArrayList<Path> depends)
     Adds an array of dependencies which will change the results of running the page.
 void_caucho_setContentType(String contentType)
    
protected  void_caucho_setContentType(String contentType, String encoding)
    
 void_caucho_setEntry(PageManager.Entry entry)
    
 void_caucho_setJspManager(JspManager manager)
    
protected  void_caucho_setModified()
     When called treats the JSP page as always modified, i.e.
protected  void_caucho_setNeverModified(boolean modified)
     Set if the page is never modified.
 void_caucho_setUncacheable()
     Marks the page as uncacheable.
 void_caucho_setUpdateInterval(long updateInterval)
    
 void_caucho_unload()
    
public  void_caucho_use()
     Marks the page as used.
public static  longcalculateLastModified(ArrayList<PersistentDependency> depends, ArrayList<Depend> cacheDepends)
     Calculate the last modified time for all the dependencies.
public  booleancauchoIsModified()
     Returns true if the underlying source has been modified.
public  voiddestroy()
    
 booleandisableLog()
    
 StringgetErrorPage()
    
public  StringgetInitParameter(String name)
    
public  EnumerationgetInitParameterNames()
    
public  longgetLastModified(HttpServletRequest request)
     Returns the Last-Modified time for use in caching.
public  ServletConfiggetServletConfig()
     Returns this servlet's configuration.
public  ServletContextgetServletContext()
    
public  StringgetServletInfo()
    
public  StringgetServletName()
    
public  voidinit(Path path)
    
public  voidinit(ServletConfig config)
     Initialize the servlet.
public  booleanisDead()
    
public  booleanisInit()
     Returns true if initializes.
public  voidlog(String msg)
    
public  voidlog(String msg, Throwable cause)
    
public  voidpageservice(HttpServletRequest req, HttpServletResponse res)
     The extended service method creates JavaScript global variables from a property map.

This method only makes sense for JavaScript templates.

protected  voidsetDead()
    
public  booleanstartRecompiling()
     Starts recompiling.

Field Detail
_alwaysModified
protected boolean _alwaysModified(Code)



_caucho_log
final protected static Logger _caucho_log(Code)



_contentType
protected String _contentType(Code)



_neverModified
protected boolean _neverModified(Code)





Method Detail
_caucho_addCacheDepend
protected void _caucho_addCacheDepend(Path path, long lastModified, long length)(Code)
Adds a single cache dependency. A cache dependency will cause the page to be rerun, but will not force a recompilation of the JSP.
Parameters:
  path - the path to the file
Parameters:
  lastModified - the last modified time
Parameters:
  length - the length of the file



_caucho_addDepend
protected void _caucho_addDepend(Path path)(Code)
Adds a dependency to the page.
Parameters:
  path - the file the JSP page is dependent on.



_caucho_addDepend
protected void _caucho_addDepend(PersistentDependency depend)(Code)
Adds a dependency to the page.
Parameters:
  path - the file the JSP page is dependent on.



_caucho_addDepend
protected void _caucho_addDepend(ArrayList<PersistentDependency> dependList)(Code)
Adds an array of dependencies to the page.



_caucho_addDepend
protected void _caucho_addDepend(Path path, long lastModified, long length)(Code)
Adds a JSP source dependency. If the source file changes, the JSP must be recompiled.
Parameters:
  path - the path to the file
Parameters:
  lastModified - the last modified time
Parameters:
  length - the length of the file



_caucho_free
public void _caucho_free()(Code)
Marks the page as free.



_caucho_getApplication
public WebApp _caucho_getApplication()(Code)
Returns the Resin webApp.



_caucho_getFunctionMap
protected HashMap<String, Method> _caucho_getFunctionMap()(Code)



_caucho_init
public void _caucho_init(HttpServletRequest req, HttpServletResponse res)(Code)
Initialize the response headers.



_caucho_isModified
public boolean _caucho_isModified()(Code)
Returns true if the underlying source has been modified.



_caucho_lastModified
public long _caucho_lastModified()(Code)
The default Last-Modified time is just the most recently modified file. For JSP files, this is overwritten to always return 0.



_caucho_setAlwaysModified
protected void _caucho_setAlwaysModified()(Code)
When called treats the JSP page as always modified, i.e. always forcing recompilation.



_caucho_setCacheable
protected void _caucho_setCacheable()(Code)
Marks the page as cacheable.



_caucho_setCacheable
void _caucho_setCacheable(ArrayList<Path> depends)(Code)
Adds an array of dependencies which will change the results of running the page.
Parameters:
  depends - an array list of Depend



_caucho_setContentType
void _caucho_setContentType(String contentType)(Code)



_caucho_setContentType
protected void _caucho_setContentType(String contentType, String encoding)(Code)



_caucho_setEntry
void _caucho_setEntry(PageManager.Entry entry)(Code)



_caucho_setJspManager
void _caucho_setJspManager(JspManager manager)(Code)



_caucho_setModified
protected void _caucho_setModified()(Code)
When called treats the JSP page as always modified, i.e. always forcing recompilation.



_caucho_setNeverModified
protected void _caucho_setNeverModified(boolean modified)(Code)
Set if the page is never modified. Some users want to deploy the JSP classes without the JSP source.



_caucho_setUncacheable
void _caucho_setUncacheable()(Code)
Marks the page as uncacheable.



_caucho_setUpdateInterval
void _caucho_setUpdateInterval(long updateInterval)(Code)



_caucho_unload
void _caucho_unload()(Code)



_caucho_use
public void _caucho_use()(Code)
Marks the page as used.



calculateLastModified
public static long calculateLastModified(ArrayList<PersistentDependency> depends, ArrayList<Depend> cacheDepends)(Code)
Calculate the last modified time for all the dependencies. The last modified time is the time of the most recently changed cache or source file.
Parameters:
  depends - list of the source file dependencies
Parameters:
  cacheDepends - list of the cache dependencies the last modified time in milliseconds



cauchoIsModified
public boolean cauchoIsModified()(Code)
Returns true if the underlying source has been modified.



destroy
public void destroy()(Code)



disableLog
boolean disableLog()(Code)



getErrorPage
String getErrorPage()(Code)



getInitParameter
public String getInitParameter(String name)(Code)



getInitParameterNames
public Enumeration getInitParameterNames()(Code)



getLastModified
public long getLastModified(HttpServletRequest request)(Code)
Returns the Last-Modified time for use in caching. If the result is <= 0, last-modified caching is disabled. the last modified time.



getServletConfig
public ServletConfig getServletConfig()(Code)
Returns this servlet's configuration.



getServletContext
public ServletContext getServletContext()(Code)



getServletInfo
public String getServletInfo()(Code)



getServletName
public String getServletName()(Code)



init
public void init(Path path) throws ServletException(Code)



init
public void init(ServletConfig config) throws ServletException(Code)
Initialize the servlet.



isDead
public boolean isDead()(Code)



isInit
public boolean isInit()(Code)
Returns true if initializes.



log
public void log(String msg)(Code)



log
public void log(String msg, Throwable cause)(Code)



pageservice
public void pageservice(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException(Code)
The extended service method creates JavaScript global variables from a property map.

This method only makes sense for JavaScript templates. To pass variables to Java templates, use the setAttribute() method of the request.
Parameters:
  properties - hashmap of objects to create as JavaScript globals.




setDead
protected void setDead()(Code)



startRecompiling
public boolean startRecompiling()(Code)
Starts recompiling. Returns false if the recompiling has already started or if the page has already been destroyed.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.