Java Doc for ResponderCompile.java in  » Ajax » Laszlo-4.0.10 » org » openlaszlo » servlets » responders » 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 » Ajax » Laszlo 4.0.10 » org.openlaszlo.servlets.responders 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.openlaszlo.servlets.responders.Responder
      org.openlaszlo.servlets.responders.ResponderCompile

All known Subclasses:   org.openlaszlo.servlets.responders.ResponderAPP_CONSOLE,  org.openlaszlo.servlets.responders.ResponderSWF,  org.openlaszlo.servlets.responders.ResponderConnection,  org.openlaszlo.servlets.responders.ResponderSOURCE,  org.openlaszlo.servlets.responders.TemplateResponder,  org.openlaszlo.servlets.responders.ResponderFILTER,  org.openlaszlo.servlets.responders.ResponderCANVAS,  org.openlaszlo.servlets.responders.ResponderJSCRIPT,  org.openlaszlo.servlets.responders.ResponderXML,  org.openlaszlo.servlets.responders.ResponderOBJECT,  org.openlaszlo.servlets.responders.ResponderHTML,  org.openlaszlo.servlets.responders.ResponderINFO_XML,  org.openlaszlo.servlets.responders.ResponderWINDOW,
ResponderCompile
abstract public class ResponderCompile extends Responder (Code)


Field Summary
protected static  CompilationManagermCompMgr
    
protected static  ScriptCompilermScriptCache
    


Method Summary
protected  CanvasgetCanvas(String fileName, HttpServletRequest req)
     Return the canvas for the given LZX file.
public static  CompilationManagergetCompilationManager()
    
protected  longgetLastModified(String fileName, HttpServletRequest req)
    
protected  voidhandleCompilationError(CompilationError e, HttpServletRequest req, HttpServletResponse res)
    
public synchronized  voidinit(String reqName, ServletConfig config, Properties prop)
    
protected static  PropertiesinitCMgrProperties(HttpServletRequest req)
    
abstract protected  voidrespondImpl(String fileName, HttpServletRequest req, HttpServletResponse res)
    
Parameters:
  filename - path of the actual file to be compiled -- happens whenwe're compiling JSPs.
final protected  voidrespondImpl(HttpServletRequest req, HttpServletResponse res)
    

Field Detail
mCompMgr
protected static CompilationManager mCompMgr(Code)



mScriptCache
protected static ScriptCompiler mScriptCache(Code)





Method Detail
getCanvas
protected Canvas getCanvas(String fileName, HttpServletRequest req) throws CompilationError, IOException(Code)
Return the canvas for the given LZX file.
Parameters:
  fileName - pathname of file the canvas



getCompilationManager
public static CompilationManager getCompilationManager()(Code)



getLastModified
protected long getLastModified(String fileName, HttpServletRequest req) throws CompilationError, IOException(Code)
Return the last modified time for this source file (and its dependencies)
Parameters:
  fileName - name of file to compile the canvas



handleCompilationError
protected void handleCompilationError(CompilationError e, HttpServletRequest req, HttpServletResponse res) throws IOException(Code)



init
public synchronized void init(String reqName, ServletConfig config, Properties prop) throws ServletException, IOException(Code)



initCMgrProperties
protected static Properties initCMgrProperties(HttpServletRequest req)(Code)
Sets up various parameters for the CompilationManager, using data from the HttpServletRequest
Parameters:
  req - Looks for these properties:
  • "debug"
  • "logdebug"
  • "lzbacktrace"
  • "profile"
  • "sourcelocators"
  • "lzr" (swf version := swf5 | swf6)
  • "lzproxied" true|false
  • "lzscript" true|false -- emit javascript, not object file
  • "cssfile"
      also grabs the request URL.



respondImpl
abstract protected void respondImpl(String fileName, HttpServletRequest req, HttpServletResponse res) throws IOException(Code)

Parameters:
  filename - path of the actual file to be compiled -- happens whenwe're compiling JSPs.



respondImpl
final protected void respondImpl(HttpServletRequest req, HttpServletResponse res) throws IOException(Code)
This method should be called by subclasses in respondImpl(req, res);



Fields inherited from org.openlaszlo.servlets.responders.Responder
final public static String LZCOOKIE(Code)(Java Doc)
final public static int MIME_TYPE_HTML(Code)(Java Doc)
final public static int MIME_TYPE_SVG(Code)(Java Doc)
final public static int MIME_TYPE_SWF(Code)(Java Doc)
final public static int MIME_TYPE_XML(Code)(Java Doc)
final public static int MIME_TYPE_XMLDATA(Code)(Java Doc)
protected String mAllowRequestDefaultProperty(Code)(Java Doc)
protected static boolean mCollectStat(Code)(Java Doc)
public static Class mCompilerClass(Code)(Java Doc)
protected static ServletContext mContext(Code)(Java Doc)
public static Class mSTAT_adminClass(Code)(Java Doc)
public static LoadCount mSTAT_allLoadCount(Code)(Java Doc)
public static Class mSTAT_compileClass(Code)(Java Doc)
public static LoadCount mSTAT_compileLoadCount(Code)(Java Doc)
public static Class mSTAT_connectClass(Code)(Java Doc)
public static Class mSTAT_dataClass(Code)(Java Doc)
public static LoadCount mSTAT_dataLoadCount(Code)(Java Doc)
public static Class mSTAT_mediaClass(Code)(Java Doc)
public static LoadCount mSTAT_mediaLoadCount(Code)(Java Doc)
public static LoadCount mSTAT_otherLoadCount(Code)(Java Doc)
public static Date mSTAT_startDate(Code)(Java Doc)
protected int mSWFVersionNum(Code)(Java Doc)

Methods inherited from org.openlaszlo.servlets.responders.Responder
protected File checkDirectory(String cacheDir) throws IOException(Code)(Java Doc)
protected static void clearErrorSWFCount()(Code)(Java Doc)
protected static int getErrorSWFCount()(Code)(Java Doc)
public int getMimeType()(Code)(Java Doc)
public int getMimeType(HttpServletRequest req)(Code)(Java Doc)
public synchronized void init(String reqName, ServletConfig config, Properties prop) throws ServletException, IOException(Code)(Java Doc)
public void respond(HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc)
abstract protected void respondImpl(HttpServletRequest req, HttpServletResponse res) throws IOException(Code)(Java Doc)
protected void respondWithError(HttpServletResponse res, String m, int status)(Code)(Java Doc)
public static void respondWithErrorHTML(HttpServletResponse res, String s)(Code)(Java Doc)
protected void respondWithErrorSWF(HttpServletResponse res, String s)(Code)(Java Doc)
protected void respondWithErrorXML(HttpServletResponse res, String s)(Code)(Java Doc)
protected void respondWithErrorXML(HttpServletResponse res, String s, boolean escape)(Code)(Java Doc)
protected void respondWithException(HttpServletResponse res, Throwable e)(Code)(Java Doc)
protected void respondWithExceptionSWF(HttpServletResponse res, Throwable e)(Code)(Java Doc)
public void respondWithMessage(HttpServletRequest req, HttpServletResponse res, String msg) throws IOException(Code)(Java Doc)
public void respondWithMessage(HttpServletResponse res, String msg) throws IOException(Code)(Java Doc)
public static void respondWithMessageSWF(HttpServletResponse res, String s)(Code)(Java Doc)
void respondWithOverLimitMessage(HttpServletRequest req, HttpServletResponse res) throws IOException(Code)(Java Doc)
protected void respondWithStatusSWF(HttpServletResponse res, int status, String mesg, int serial)(Code)(Java Doc)
protected void respondWithStatusSWF(HttpServletResponse res, int status, String mesg, String xmlBody, int serial)(Code)(Java Doc)
protected void respondWithXML(HttpServletResponse res, String xml) throws IOException(Code)(Java Doc)
protected static void writeFooter(ServletOutputStream out) throws IOException(Code)(Java Doc)
protected static void writeHeader(ServletOutputStream out, Canvas c) throws IOException(Code)(Java Doc)
protected String xmlErrorMsg(int status, String msg)(Code)(Java Doc)

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.