Java Doc for WebRequestCycle.java in  » J2EE » wicket » wicket » protocol » http » 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 » J2EE » wicket » wicket.protocol.http 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   wicket.RequestCycle
      wicket.protocol.http.WebRequestCycle

WebRequestCycle
public class WebRequestCycle extends RequestCycle (Code)
RequestCycle implementation for HTTP protocol. Holds the application, session, request and response objects for a given HTTP request. Contains methods (urlFor*) which yield a URL for bookmarkable pages as well as non-bookmarkable component interfaces. The protected handleRender method is the internal entrypoint which takes care of the details of rendering a response to an HTTP request.
See Also:   RequestCycle
author:
   Jonathan Locke
author:
   Johan Compagner
author:
   Gili Tzabari
author:
   Eelco Hillenius



Constructor Summary
public  WebRequestCycle(WebSession session, WebRequest request, Response response)
     Constructor which simply passes arguments to superclass for storage there.

Method Summary
public  IRequestCycleProcessorgetProcessor()
     By default returns the WebApplication's default request cycle processor.
final public  booleangetRedirect()
     If it's an ajax request we always redirects.
public  WebRequestgetWebRequest()
    
public  WebResponsegetWebResponse()
    
public  WebSessiongetWebSession()
    
protected  ClientInfonewClientInfo()
    
final public  voidredirectTo(Page page)
     Redirects browser to the given page.


Constructor Detail
WebRequestCycle
public WebRequestCycle(WebSession session, WebRequest request, Response response)(Code)
Constructor which simply passes arguments to superclass for storage there.
Parameters:
  session - The session
Parameters:
  request - The request
Parameters:
  response - The response




Method Detail
getProcessor
public IRequestCycleProcessor getProcessor()(Code)
By default returns the WebApplication's default request cycle processor. Typically, you don't override this method but instead override WebApplication.getRequestCycleProcessor .

if you decide to override this method to provide a custom processor per request cycle, any mounts done via WebApplication will not work and and WebRequestCycle.onRuntimeException(Page,RuntimeException) is not called unless you deliberately put effort in it to make it work.


See Also:   wicket.RequestCycle.getProcessor



getRedirect
final public boolean getRedirect()(Code)
If it's an ajax request we always redirects.
See Also:   wicket.RequestCycle.getRedirect



getWebRequest
public WebRequest getWebRequest()(Code)
Request as a WebRequest



getWebResponse
public WebResponse getWebResponse()(Code)
Response as a WebResponse



getWebSession
public WebSession getWebSession()(Code)
Session as a WebSession



newClientInfo
protected ClientInfo newClientInfo()(Code)

See Also:   wicket.RequestCycle.newClientInfo



redirectTo
final public void redirectTo(Page page)(Code)
Redirects browser to the given page. NOTE: Usually, you should never call this method directly, but work with setResponsePage instead. This method is part of Wicket's internal behavior and should only be used when you want to circumvent the normal framework behavior and issue the redirect directly.
Parameters:
  page - The page to redirect to



Fields inherited from wicket.RequestCycle
final protected Application application(Code)(Java Doc)
final protected IRequestCycleProcessor processor(Code)(Java Doc)
protected Request request(Code)(Java Doc)
protected Response response(Code)(Java Doc)
final protected Session session(Code)(Java Doc)

Methods inherited from wicket.RequestCycle
final public static RequestCycle get()(Code)(Java Doc)
final public Application getApplication()(Code)(Java Doc)
final public ClientInfo getClientInfo()(Code)(Java Doc)
final public Response getOriginalResponse()(Code)(Java Doc)
abstract public IRequestCycleProcessor getProcessor()(Code)(Java Doc)
public boolean getRedirect()(Code)(Java Doc)
final public Request getRequest()(Code)(Java Doc)
final public IRequestTarget getRequestTarget()(Code)(Java Doc)
final public Response getResponse()(Code)(Java Doc)
final public Page getResponsePage()(Code)(Java Doc)
final public Class getResponsePageClass()(Code)(Java Doc)
final public Session getSession()(Code)(Java Doc)
final public long getStartTime()(Code)(Java Doc)
abstract protected ClientInfo newClientInfo()(Code)(Java Doc)
protected void onBeginRequest()(Code)(Java Doc)
protected void onEndRequest()(Code)(Java Doc)
public Page onRuntimeException(Page page, RuntimeException e)(Code)(Java Doc)
abstract public void redirectTo(Page page)(Code)(Java Doc)
final public void request()(Code)(Java Doc)
final public void request(Component component)(Code)(Java Doc)
final public void request(IRequestTarget target)(Code)(Java Doc)
final public void setRedirect(boolean redirect)(Code)(Java Doc)
final public void setRequest(Request request)(Code)(Java Doc)
final public void setRequestTarget(IRequestTarget requestTarget)(Code)(Java Doc)
final public Response setResponse(Response response)(Code)(Java Doc)
final public void setResponsePage(Class pageClass)(Code)(Java Doc)
final public void setResponsePage(Class pageClass, PageParameters pageParameters)(Code)(Java Doc)
final public void setResponsePage(Page page)(Code)(Java Doc)
public void setUpdateSession(boolean updateCluster)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final public CharSequence urlFor(Component component, RequestListenerInterface listener)(Code)(Java Doc)
final public CharSequence urlFor(IRequestTarget requestTarget)(Code)(Java Doc)
final public CharSequence urlFor(Page page)(Code)(Java Doc)
final public CharSequence urlFor(PageMap pageMap, Class pageClass, PageParameters parameters)(Code)(Java Doc)
final public CharSequence urlFor(ResourceReference resourceReference)(Code)(Java Doc)
final public CharSequence urlFor(ResourceReference resourceReference, ValueMap parameters)(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.