Java Doc for PageFlowRequestWrapper.java in  » Library » Apache-beehive-1.0.2-src » org » apache » beehive » netui » pageflow » internal » 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 » Library » Apache beehive 1.0.2 src » org.apache.beehive.netui.pageflow.internal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.servlet.ServletRequestWrapper
      javax.servlet.http.HttpServletRequestWrapper
         org.apache.beehive.netui.pageflow.internal.PageFlowRequestWrapper

PageFlowRequestWrapper
final public class PageFlowRequestWrapper extends HttpServletRequestWrapper (Code)
Request wrapper that contains request-scoped values that our runtime uses. This is faster than sticking everything into attributes on the request.



Constructor Summary
public  PageFlowRequestWrapper(HttpServletRequest delegate)
    

Method Summary
public static  PageFlowRequestWrapperget(ServletRequest servletRequest)
    
public  StringgetCharacterEncoding()
     This override returns "utf-8" if the character encoding in the request is null.
public  FlowControllergetCurrentFlowController()
    
public  ThrowablegetExceptionBeingHandled()
    
public  intgetForwardedRequestCount()
    
public  HttpServletRequestgetHttpRequest()
    
public  MultipartRequestWrappergetMultipartRequestWrapper()
    
public  StringgetOriginalServletPath()
    
public  StringgetPageFlowScopedFormName()
    
public  PreviousPageInfogetPreviousPageInfo(boolean remove)
    
public  ViewRenderergetViewRenderer()
    
public  voidinitFrom(PageFlowRequestWrapper wrapper)
    
public  booleanisForwardedByButton()
    
public  booleanisForwardedRequest()
    
public  booleanisProcessPopulateAlreadyCalled()
    
public  booleanisReturningFromActionIntercept()
    
public  booleanisReturningFromNesting()
    
public  booleanisScopedLookup()
    
public  booleanisStayInCurrentModule()
    
public  voidsetCurrentFlowController(FlowController currentFlowController)
    
public  voidsetExceptionBeingHandled(Throwable th)
    
public  voidsetForwardedByButton(boolean forwardedByButton)
    
public  voidsetForwardedRequestCount(int count)
    
public  voidsetMultipartRequestWrapper(MultipartRequestWrapper multipartRequestWrapper)
    
public  voidsetOriginalServletPath(String originalServletPath)
    
public  voidsetPageFlowScopedFormName(String pageFlowScopedFormName)
    
public  voidsetPreviousPageInfo(PreviousPageInfo previousPageInfo)
    
public  voidsetProcessPopulateAlreadyCalled(boolean processPopulateAlreadyCalled)
    
public  voidsetReturningFromActionIntercept(boolean returningFromActionIntercept)
    
public  voidsetReturningFromNesting(boolean returningFromNesting)
    
public  voidsetScopedLookup(boolean scopedLookup)
    
public  voidsetStayInCurrentModule(boolean stayInCurrentModule)
    
public  voidsetViewRenderer(ViewRenderer viewRenderer)
    
public static  PageFlowRequestWrapperunwrap(ServletRequest servletRequest)
     Unwrap to find the PageFlowRequestWrapper.
public static  PageFlowRequestWrapperwrapRequest(HttpServletRequest req)
    


Constructor Detail
PageFlowRequestWrapper
public PageFlowRequestWrapper(HttpServletRequest delegate)(Code)




Method Detail
get
public static PageFlowRequestWrapper get(ServletRequest servletRequest)(Code)



getCharacterEncoding
public String getCharacterEncoding()(Code)
This override returns "utf-8" if the character encoding in the request is null. It works around a Struts issue (http://issues.apache.org/bugzilla/show_bug.cgi?id=29668), where CommonsMultipartRequestHandler uses the character encoding from the request, which causes problems if the encoding wasn't specified in the request (as it usually never is). This is tracked in Beehive's JIRA as http://issues.apache.org/jira/browse/BEEHIVE-803 .



getCurrentFlowController
public FlowController getCurrentFlowController()(Code)



getExceptionBeingHandled
public Throwable getExceptionBeingHandled()(Code)



getForwardedRequestCount
public int getForwardedRequestCount()(Code)



getHttpRequest
public HttpServletRequest getHttpRequest()(Code)



getMultipartRequestWrapper
public MultipartRequestWrapper getMultipartRequestWrapper()(Code)



getOriginalServletPath
public String getOriginalServletPath()(Code)



getPageFlowScopedFormName
public String getPageFlowScopedFormName()(Code)



getPreviousPageInfo
public PreviousPageInfo getPreviousPageInfo(boolean remove)(Code)



getViewRenderer
public ViewRenderer getViewRenderer()(Code)



initFrom
public void initFrom(PageFlowRequestWrapper wrapper)(Code)



isForwardedByButton
public boolean isForwardedByButton()(Code)



isForwardedRequest
public boolean isForwardedRequest()(Code)



isProcessPopulateAlreadyCalled
public boolean isProcessPopulateAlreadyCalled()(Code)



isReturningFromActionIntercept
public boolean isReturningFromActionIntercept()(Code)



isReturningFromNesting
public boolean isReturningFromNesting()(Code)



isScopedLookup
public boolean isScopedLookup()(Code)



isStayInCurrentModule
public boolean isStayInCurrentModule()(Code)



setCurrentFlowController
public void setCurrentFlowController(FlowController currentFlowController)(Code)



setExceptionBeingHandled
public void setExceptionBeingHandled(Throwable th)(Code)



setForwardedByButton
public void setForwardedByButton(boolean forwardedByButton)(Code)



setForwardedRequestCount
public void setForwardedRequestCount(int count)(Code)



setMultipartRequestWrapper
public void setMultipartRequestWrapper(MultipartRequestWrapper multipartRequestWrapper)(Code)



setOriginalServletPath
public void setOriginalServletPath(String originalServletPath)(Code)



setPageFlowScopedFormName
public void setPageFlowScopedFormName(String pageFlowScopedFormName)(Code)



setPreviousPageInfo
public void setPreviousPageInfo(PreviousPageInfo previousPageInfo)(Code)



setProcessPopulateAlreadyCalled
public void setProcessPopulateAlreadyCalled(boolean processPopulateAlreadyCalled)(Code)



setReturningFromActionIntercept
public void setReturningFromActionIntercept(boolean returningFromActionIntercept)(Code)



setReturningFromNesting
public void setReturningFromNesting(boolean returningFromNesting)(Code)



setScopedLookup
public void setScopedLookup(boolean scopedLookup)(Code)



setStayInCurrentModule
public void setStayInCurrentModule(boolean stayInCurrentModule)(Code)



setViewRenderer
public void setViewRenderer(ViewRenderer viewRenderer)(Code)



unwrap
public static PageFlowRequestWrapper unwrap(ServletRequest servletRequest)(Code)
Unwrap to find the PageFlowRequestWrapper. This method may return null.



wrapRequest
public static PageFlowRequestWrapper wrapRequest(HttpServletRequest req)(Code)



Methods inherited from javax.servlet.http.HttpServletRequestWrapper
public String getAuthType()(Code)(Java Doc)
public String getContextPath()(Code)(Java Doc)
public Cookie[] getCookies()(Code)(Java Doc)
public long getDateHeader(String name)(Code)(Java Doc)
public String getHeader(String name)(Code)(Java Doc)
public Enumeration getHeaderNames()(Code)(Java Doc)
public Enumeration getHeaders(String name)(Code)(Java Doc)
public int getIntHeader(String name)(Code)(Java Doc)
public String getMethod()(Code)(Java Doc)
public String getPathInfo()(Code)(Java Doc)
public String getPathTranslated()(Code)(Java Doc)
public String getQueryString()(Code)(Java Doc)
public String getRemoteUser()(Code)(Java Doc)
public String getRequestURI()(Code)(Java Doc)
public StringBuffer getRequestURL()(Code)(Java Doc)
public String getRequestedSessionId()(Code)(Java Doc)
public String getServletPath()(Code)(Java Doc)
public HttpSession getSession(boolean create)(Code)(Java Doc)
public HttpSession getSession()(Code)(Java Doc)
public java.security.Principal getUserPrincipal()(Code)(Java Doc)
public boolean isRequestedSessionIdFromCookie()(Code)(Java Doc)
public boolean isRequestedSessionIdFromURL()(Code)(Java Doc)
public boolean isRequestedSessionIdFromUrl()(Code)(Java Doc)
public boolean isRequestedSessionIdValid()(Code)(Java Doc)
public boolean isUserInRole(String role)(Code)(Java Doc)

Methods inherited from javax.servlet.ServletRequestWrapper
public Object getAttribute(String name)(Code)(Java Doc)
public Enumeration getAttributeNames()(Code)(Java Doc)
public String getCharacterEncoding()(Code)(Java Doc)
public int getContentLength()(Code)(Java Doc)
public String getContentType()(Code)(Java Doc)
public ServletInputStream getInputStream() throws IOException(Code)(Java Doc)
public String getLocalAddr()(Code)(Java Doc)
public String getLocalName()(Code)(Java Doc)
public int getLocalPort()(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public Enumeration getLocales()(Code)(Java Doc)
public String getParameter(String name)(Code)(Java Doc)
public Map getParameterMap()(Code)(Java Doc)
public Enumeration getParameterNames()(Code)(Java Doc)
public String[] getParameterValues(String name)(Code)(Java Doc)
public String getProtocol()(Code)(Java Doc)
public BufferedReader getReader() throws IOException(Code)(Java Doc)
public String getRealPath(String path)(Code)(Java Doc)
public String getRemoteAddr()(Code)(Java Doc)
public String getRemoteHost()(Code)(Java Doc)
public int getRemotePort()(Code)(Java Doc)
public ServletRequest getRequest()(Code)(Java Doc)
public RequestDispatcher getRequestDispatcher(String path)(Code)(Java Doc)
public String getScheme()(Code)(Java Doc)
public String getServerName()(Code)(Java Doc)
public int getServerPort()(Code)(Java Doc)
public boolean isSecure()(Code)(Java Doc)
public void removeAttribute(String name)(Code)(Java Doc)
public void setAttribute(String name, Object o)(Code)(Java Doc)
public void setCharacterEncoding(String enc) throws java.io.UnsupportedEncodingException(Code)(Java Doc)
public void setRequest(ServletRequest request)(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.