Java Doc for JetspeedRequestContext.java in  » Portal » jetspeed-2.1.3 » org » apache » jetspeed » request » 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 » Portal » jetspeed 2.1.3 » org.apache.jetspeed.request 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.jetspeed.request.JetspeedRequestContext

JetspeedRequestContext
public class JetspeedRequestContext implements RequestContext(Code)
Jetspeed Request Context is associated with each portal request. The request holds the contextual information shared amongst components in the portal, accessed through a common valve pipeline.
author:
   David Sean Taylor
version:
   $Id: JetspeedRequestContext.java,v 1.19 2004/05/25 01:37:12 taylor
version:
   Exp $



Constructor Summary
public  JetspeedRequestContext(HttpServletRequest request, HttpServletResponse response, ServletConfig config, UserInfoManager userInfoMgr)
    
public  JetspeedRequestContext(HttpServletRequest request, HttpServletResponse response, ServletConfig config, UserInfoManager userInfoMgr, Map objects)
    

Method Summary
public  PortletWindowgetActionWindow()
    
public  ObjectgetAttribute(String key)
    
public  CapabilityMapgetCapabilityMap()
    
public  StringgetCharacterEncoding()
    
public  ServletConfiggetConfig()
    
public  ContentDispatchergetContentDispatcher()
    
public  LocalegetLocale()
    
public  StringgetMediaType()
    
public  StringgetMimeType()
    
public  MapgetObjects()
    
public  ContentPagegetPage()
    
public  MapgetParameterMap()
    
public  StringgetPath()
    
public  PipelinegetPipeline()
    
public  PortalURLgetPortalURL()
    
public  PortletDefinitiongetPortletDefinition()
    
public  LanguagegetPreferedLanguage(PortletDefinition portlet)
    
public  MapgetProfileLocators()
    
public  HttpServletRequestgetRequest()
    
public  ObjectgetRequestAttribute(String key)
    
public  HttpServletRequestgetRequestForWindow(PortletWindow window)
    
public  StringgetRequestParameter(String key)
    
public  HttpServletResponsegetResponse()
    
public  HttpServletResponsegetResponseForWindow(PortletWindow window)
    
public  ObjectgetSessionAttribute(String key)
    
public  SubjectgetSubject()
    
public  MapgetUserInfoMap(ObjectID oid)
    
public  PrincipalgetUserPrincipal()
    
public  ContentPagelocatePage(Profiler profiler, String nonProfiledPath)
    
public  ThrowablepopActionFailure(PortletWindow window)
    
public  voidsetActionFailure(PortletWindow window, Throwable actionFailure)
    
public  voidsetActionWindow(PortletWindow portletWindow)
    
public  voidsetAttribute(String key, Object value)
    
public  voidsetCapabilityMap(CapabilityMap map)
     Set the capabilityMap.
public  voidsetCharacterEncoding(String enc)
    
public  voidsetContentDispatcher(ContentDispatcher dispatcher)
    
public  voidsetLocale(Locale locale)
    
public  voidsetMediaType(String mediaType)
     Set the mediaType.
public  voidsetMimeType(String mimeType)
     Set the Mimetype.
public  voidsetPage(ContentPage page)
    
public  voidsetPath(String path)
    
public  voidsetPipeline(Pipeline pipeline)
    
public  voidsetPortalURL(PortalURL url)
    
public  voidsetPortletDefinition(PortletDefinition portletDefinition)
    
public  voidsetProfileLocators(Map locators)
    
public  voidsetRequest(HttpServletRequest request)
    
public  voidsetRequestParameter(String key, String value)
    
public  voidsetResponse(HttpServletResponse response)
    
public  voidsetSessionAttribute(String key, Object value)
    
public  voidsetSubject(Subject subject)
    


Constructor Detail
JetspeedRequestContext
public JetspeedRequestContext(HttpServletRequest request, HttpServletResponse response, ServletConfig config, UserInfoManager userInfoMgr)(Code)
Create a new Request Context
Parameters:
  pc -
Parameters:
  request -
Parameters:
  response -
Parameters:
  config -



JetspeedRequestContext
public JetspeedRequestContext(HttpServletRequest request, HttpServletResponse response, ServletConfig config, UserInfoManager userInfoMgr, Map objects)(Code)




Method Detail
getActionWindow
public PortletWindow getActionWindow()(Code)
Get the target Portlet Action Window PortletWindow The target portlet window



getAttribute
public Object getAttribute(String key)(Code)

See Also:   org.apache.jetspeed.request.RequestContext.getAttribute(java.lang.String)



getCapabilityMap
public CapabilityMap getCapabilityMap()(Code)
get the Capability Map



getCharacterEncoding
public String getCharacterEncoding()(Code)
get the character encoding



getConfig
public ServletConfig getConfig()(Code)



getContentDispatcher
public ContentDispatcher getContentDispatcher()(Code)



getLocale
public Locale getLocale()(Code)

See Also:   org.apache.jetspeed.request.RequestContext.getLocale



getMediaType
public String getMediaType()(Code)
get the Media Type



getMimeType
public String getMimeType()(Code)
get the mimeType for the request



getObjects
public Map getObjects()(Code)



getPage
public ContentPage getPage()(Code)



getParameterMap
public Map getParameterMap()(Code)

See Also:   org.apache.jetspeed.request.RequestContext.getParameterMap



getPath
public String getPath()(Code)

See Also:   org.apache.jetspeed.request.RequestContext.getPath



getPipeline
public Pipeline getPipeline()(Code)
Get the current executing pipeline Pipeline



getPortalURL
public PortalURL getPortalURL()(Code)



getPortletDefinition
public PortletDefinition getPortletDefinition()(Code)



getPreferedLanguage
public Language getPreferedLanguage(PortletDefinition portlet)(Code)

getPreferedLanguage


See Also:   org.apache.jetspeed.request.RequestContext.getPreferedLanguage(org.apache.pluto.om.portlet.PortletDefinition)
Parameters:
  portlet -



getProfileLocators
public Map getProfileLocators()(Code)



getRequest
public HttpServletRequest getRequest()(Code)



getRequestAttribute
public Object getRequestAttribute(String key)(Code)

See Also:   org.apache.jetspeed.request.RequestContext.getRequestAttribute(java.lang.String)



getRequestForWindow
public HttpServletRequest getRequestForWindow(PortletWindow window)(Code)

getRequestForWindow


See Also:   org.apache.jetspeed.request.RequestContext.getRequestForWindow(org.apache.pluto.om.window.PortletWindow)
Parameters:
  window -



getRequestParameter
public String getRequestParameter(String key)(Code)

See Also:   org.apache.jetspeed.request.RequestContext.getRequestParameter(java.lang.String)



getResponse
public HttpServletResponse getResponse()(Code)



getResponseForWindow
public HttpServletResponse getResponseForWindow(PortletWindow window)(Code)

getResponseForWindow


See Also:   org.apache.jetspeed.request.RequestContext.getResponseForWindow(org.apache.pluto.om.window.PortletWindow)
Parameters:
  window -



getSessionAttribute
public Object getSessionAttribute(String key)(Code)

See Also:   org.apache.jetspeed.request.RequestContext.getSessionAttribute(java.lang.String)



getSubject
public Subject getSubject()(Code)

See Also:   org.apache.jetspeed.request.RequestContext.getSubject



getUserInfoMap
public Map getUserInfoMap(ObjectID oid)(Code)

See Also:   org.apache.jetspeed.request.RequestContext.getUserInfoMap(org.apache.pluto.om.common.ObjectID)



getUserPrincipal
public Principal getUserPrincipal()(Code)



locatePage
public ContentPage locatePage(Profiler profiler, String nonProfiledPath)(Code)



popActionFailure
public Throwable popActionFailure(PortletWindow window)(Code)



setActionFailure
public void setActionFailure(PortletWindow window, Throwable actionFailure)(Code)



setActionWindow
public void setActionWindow(PortletWindow portletWindow)(Code)
Sets the target Portlet Action Window
Parameters:
  window -



setAttribute
public void setAttribute(String key, Object value)(Code)

See Also:   org.apache.jetspeed.request.RequestContext.setAttribute(java.lang.Stringjava.lang.Object)



setCapabilityMap
public void setCapabilityMap(CapabilityMap map)(Code)
Set the capabilityMap. Used by the CapabilityValve
Parameters:
  capabilityMap -



setCharacterEncoding
public void setCharacterEncoding(String enc)(Code)
set character encoding
Parameters:
  enc -



setContentDispatcher
public void setContentDispatcher(ContentDispatcher dispatcher)(Code)



setLocale
public void setLocale(Locale locale)(Code)

See Also:   org.apache.jetspeed.request.RequestContext.setLocale(java.util.Locale)



setMediaType
public void setMediaType(String mediaType)(Code)
Set the mediaType. Used by the CapabilityValve
Parameters:
  mediaType -



setMimeType
public void setMimeType(String mimeType)(Code)
Set the Mimetype. Used by the CapabilityValve
Parameters:
  mimeType -



setPage
public void setPage(ContentPage page)(Code)



setPath
public void setPath(String path)(Code)

setPath


See Also:   org.apache.jetspeed.request.RequestContext.setPath(java.lang.String)
Parameters:
  path -



setPipeline
public void setPipeline(Pipeline pipeline)(Code)
Set the current pipeline
Parameters:
  pipeline -



setPortalURL
public void setPortalURL(PortalURL url)(Code)



setPortletDefinition
public void setPortletDefinition(PortletDefinition portletDefinition)(Code)



setProfileLocators
public void setProfileLocators(Map locators)(Code)



setRequest
public void setRequest(HttpServletRequest request)(Code)

Parameters:
  request - The request to set.



setRequestParameter
public void setRequestParameter(String key, String value)(Code)



setResponse
public void setResponse(HttpServletResponse response)(Code)

Parameters:
  response - The request to set.



setSessionAttribute
public void setSessionAttribute(String key, Object value)(Code)

See Also:   org.apache.jetspeed.request.RequestContext.setSessionAttribute(java.lang.Stringjava.lang.Object)



setSubject
public void setSubject(Subject subject)(Code)

See Also:   org.apache.jetspeed.request.RequestContext.setSubject(javax.security.auth.Subject)



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.