Java Doc for AbstractPageContextWrapper.java in  » Testing » jakarta-cactus » org » apache » cactus » server » 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 » Testing » jakarta cactus » org.apache.cactus.server 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.servlet.jsp.PageContext
   org.apache.cactus.server.AbstractPageContextWrapper

All known Subclasses:   org.apache.cactus.server.AbstractPageContextWrapper23,
AbstractPageContextWrapper
abstract public class AbstractPageContextWrapper extends PageContext (Code)
Abstract wrapper around PageContext. This class provides a common implementation of the wrapper for the different servlet API.
version:
   $Id: AbstractPageContextWrapper.java 239136 2005-02-01 08:54:44Z vmassol $


Field Summary
protected  PageContextoriginalPageContext
    
protected  ServletURLurl
    

Constructor Summary
public  AbstractPageContextWrapper(PageContext theOriginalPageContext, ServletURL theURL)
     Construct an PageContext instance that delegates it's method calls to the page context object passed as parameter and that uses the URL passed as parameter to simulate a URL from which the request would come from.

Method Summary
public  ObjectfindAttribute(String theName)
    
public  voidforward(String theRelativeURLPath)
    
public  ObjectgetAttribute(String theName)
    
public  ObjectgetAttribute(String theName, int theScope)
    
public  EnumerationgetAttributeNamesInScope(int theScope)
    
public  intgetAttributesScope(String theName)
    
public  ExceptiongetException()
    
public  PageContextgetOriginalPageContext()
    
public  JspWritergetOut()
    
public  ObjectgetPage()
    
public  ServletRequestgetRequest()
    
public  ServletResponsegetResponse()
    
public  ServletConfiggetServletConfig()
    
public  ServletContextgetServletContext()
    
public  HttpSessiongetSession()
    
public  voidhandlePageException(Exception theException)
    
public  voidinclude(String theRelativeURLPath)
    
public  voidinitialize(Servlet theServlet, ServletRequest theRequest, ServletResponse theResponse, String theErrorPageURL, boolean isSessionNeeded, int theBufferSize, boolean isAutoFlush)
    
public  JspWriterpopBody()
    
public  BodyContentpushBody()
    
public  voidrelease()
    
public  voidremoveAttribute(String theName)
    
public  voidremoveAttribute(String theName, int theScope)
    
public  voidsetAttribute(String theName, Object theAttribute)
    
public  voidsetAttribute(String theName, Object theAttribute, int theScope)
    

Field Detail
originalPageContext
protected PageContext originalPageContext(Code)
The real page context



url
protected ServletURL url(Code)
The URL to simulate




Constructor Detail
AbstractPageContextWrapper
public AbstractPageContextWrapper(PageContext theOriginalPageContext, ServletURL theURL)(Code)
Construct an PageContext instance that delegates it's method calls to the page context object passed as parameter and that uses the URL passed as parameter to simulate a URL from which the request would come from.
Parameters:
  theOriginalPageContext - the real page context
Parameters:
  theURL - the URL to simulate or null if none




Method Detail
findAttribute
public Object findAttribute(String theName)(Code)

See Also:   PageContext.findAttribute(String)



forward
public void forward(String theRelativeURLPath) throws ServletException, IOException(Code)

See Also:   PageContext.forward(String)



getAttribute
public Object getAttribute(String theName)(Code)

See Also:   PageContext.getAttribute(String)



getAttribute
public Object getAttribute(String theName, int theScope)(Code)

See Also:   PageContext.getAttribute(Stringint)



getAttributeNamesInScope
public Enumeration getAttributeNamesInScope(int theScope)(Code)

See Also:   PageContext.getAttributeNamesInScope(int)



getAttributesScope
public int getAttributesScope(String theName)(Code)

See Also:   PageContext.getAttributesScope(String)



getException
public Exception getException()(Code)

See Also:   PageContext.getException



getOriginalPageContext
public PageContext getOriginalPageContext()(Code)
the original page context
since:
   1.7



getOut
public JspWriter getOut()(Code)

See Also:   PageContext.getOut



getPage
public Object getPage()(Code)

See Also:   PageContext.getPage



getRequest
public ServletRequest getRequest()(Code)
the Cactus wrapped servlet request that knows about thesimulated URL



getResponse
public ServletResponse getResponse()(Code)

See Also:   PageContext.getResponse



getServletConfig
public ServletConfig getServletConfig()(Code)
the Cactus wrapped servlet config



getServletContext
public ServletContext getServletContext()(Code)
the Cactus wrapped servlet context



getSession
public HttpSession getSession()(Code)

See Also:   PageContext.getSession



handlePageException
public void handlePageException(Exception theException) throws ServletException, IOException(Code)

See Also:   PageContext.handlePageException(Exception)



include
public void include(String theRelativeURLPath) throws ServletException, IOException(Code)

See Also:   PageContext.include(String)



initialize
public void initialize(Servlet theServlet, ServletRequest theRequest, ServletResponse theResponse, String theErrorPageURL, boolean isSessionNeeded, int theBufferSize, boolean isAutoFlush) throws IOException, IllegalStateException, IllegalArgumentException(Code)

See Also:   PageContext.initialize



popBody
public JspWriter popBody()(Code)

See Also:   PageContext.popBody



pushBody
public BodyContent pushBody()(Code)

See Also:   PageContext.pushBody



release
public void release()(Code)

See Also:   PageContext.release



removeAttribute
public void removeAttribute(String theName)(Code)

See Also:   PageContext.removeAttribute(String)



removeAttribute
public void removeAttribute(String theName, int theScope)(Code)

See Also:   PageContext.removeAttribute(Stringint)



setAttribute
public void setAttribute(String theName, Object theAttribute)(Code)

See Also:   PageContext.setAttribute(StringObject)



setAttribute
public void setAttribute(String theName, Object theAttribute, int theScope)(Code)

See Also:   PageContext.setAttribute(StringObject)



Fields inherited from javax.servlet.jsp.PageContext
final public static String APPLICATION(Code)(Java Doc)
final public static int APPLICATION_SCOPE(Code)(Java Doc)
final public static String CONFIG(Code)(Java Doc)
final public static String EXCEPTION(Code)(Java Doc)
final public static String OUT(Code)(Java Doc)
final public static String PAGE(Code)(Java Doc)
final public static String PAGECONTEXT(Code)(Java Doc)
final public static int PAGE_SCOPE(Code)(Java Doc)
final public static String REQUEST(Code)(Java Doc)
final public static int REQUEST_SCOPE(Code)(Java Doc)
final public static String RESPONSE(Code)(Java Doc)
final public static String SESSION(Code)(Java Doc)
final public static int SESSION_SCOPE(Code)(Java Doc)

Methods inherited from javax.servlet.jsp.PageContext
abstract public void forward(String relativeUrlPath) throws ServletException, IOException(Code)(Java Doc)
public ErrorData getErrorData()(Code)(Java Doc)
abstract public Exception getException()(Code)(Java Doc)
abstract public Object getPage()(Code)(Java Doc)
abstract public ServletRequest getRequest()(Code)(Java Doc)
abstract public ServletResponse getResponse()(Code)(Java Doc)
abstract public ServletConfig getServletConfig()(Code)(Java Doc)
abstract public ServletContext getServletContext()(Code)(Java Doc)
abstract public HttpSession getSession()(Code)(Java Doc)
abstract public void handlePageException(Exception e) throws ServletException, IOException(Code)(Java Doc)
abstract public void handlePageException(Throwable t) throws ServletException, IOException(Code)(Java Doc)
abstract public void include(String relativeUrlPath) throws ServletException, IOException(Code)(Java Doc)
abstract public void include(String relativeUrlPath, boolean flush) throws ServletException, IOException(Code)(Java Doc)
abstract public void initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) throws IOException, IllegalStateException, IllegalArgumentException(Code)(Java Doc)
public BodyContent pushBody()(Code)(Java Doc)
abstract public void release()(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.