Java Doc for PortletRequestImpl.java in  » Portal » Pluto » org » apache » pluto » internal » impl » 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 » Pluto » org.apache.pluto.internal.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.servlet.http.HttpServletRequestWrapper
   org.apache.pluto.internal.impl.PortletRequestImpl

All known Subclasses:   org.apache.pluto.internal.impl.ActionRequestImpl,  org.apache.pluto.internal.impl.RenderRequestImpl,
PortletRequestImpl
abstract public class PortletRequestImpl extends HttpServletRequestWrapper implements PortletRequest,InternalPortletRequest(Code)
Abstract javax.portlet.PortletRequest implementation. This class also implements InternalPortletRequest.



Constructor Summary
public  PortletRequestImpl(InternalPortletRequest internalPortletRequest)
    
public  PortletRequestImpl(PortletContainer container, InternalPortletWindow internalPortletWindow, HttpServletRequest servletRequest)
     Creates a PortletRequestImpl instance.

Method Summary
protected  MapbaseGetParameterMap()
     The base method that returns the parameter map in this portlet request. All parameter-related methods call this base method.
public  MapcreateUserInfoMap()
    
public  ObjectgetAttribute(String name)
    
public  EnumerationgetAttributeNames()
    
public  StringgetAuthType()
    
public  StringgetContextPath()
    
public  HttpServletRequestgetHttpServletRequest()
    
public  ServletInputStreamgetInputStream()
    
public  InternalPortletWindowgetInternalPortletWindow()
    
public  LocalegetLocale()
    
public  EnumerationgetLocales()
    
public  StringgetParameter(String name)
    
public  MapgetParameterMap()
    
public  EnumerationgetParameterNames()
    
public  String[]getParameterValues(String name)
    
public  PortalContextgetPortalContext()
    
public  PortletContainergetPortletContainer()
    
public  PortletModegetPortletMode()
    
public  PortletSessiongetPortletSession()
    
public  PortletSessiongetPortletSession(boolean create)
     Returns the portlet session.
public  EnumerationgetProperties(String name)
    
public  StringgetProperty(String name)
    
public  EnumerationgetPropertyNames()
    
public  BufferedReadergetReader()
    
public  StringgetRemoteUser()
    
public  RequestDispatchergetRequestDispatcher(String path)
    
public  StringgetRequestedSessionId()
    
public  StringgetResponseContentType()
    
public  EnumerationgetResponseContentTypes()
    
public  StringgetScheme()
    
public  StringgetServerName()
    
public  intgetServerPort()
    
public  PrincipalgetUserPrincipal()
    
public  WindowStategetWindowState()
    
public  voidinit(PortletContext portletContext, HttpServletRequest req)
    
public  booleanisPortletModeAllowed(PortletMode mode)
    
public  booleanisRequestedSessionIdValid()
    
public  booleanisSecure()
    
public  booleanisUserInRole(String roleName)
     Determines whether a user is mapped to the specified role.
public  booleanisWindowStateAllowed(WindowState state)
     Determine whether or not the specified WindowState is allowed for this portlet.
public  voidrelease()
     TODO: Implement this properly.
public  voidremoveAttribute(String name)
    
public  voidsetAttribute(String name, Object value)
    
protected  voidsetBodyAccessed()
    
public  voidsetCharacterEncoding(String encoding)
    


Constructor Detail
PortletRequestImpl
public PortletRequestImpl(InternalPortletRequest internalPortletRequest)(Code)



PortletRequestImpl
public PortletRequestImpl(PortletContainer container, InternalPortletWindow internalPortletWindow, HttpServletRequest servletRequest)(Code)
Creates a PortletRequestImpl instance.
Parameters:
  container - the portlet container.
Parameters:
  internalPortletWindow - the internal portlet window.
Parameters:
  servletRequest - the underlying servlet request.




Method Detail
baseGetParameterMap
protected Map baseGetParameterMap()(Code)
The base method that returns the parameter map in this portlet request. All parameter-related methods call this base method. Subclasses may just overwrite this protected method to change behavior of all parameter- related methods. the base parameter map from which parameters are retrieved.



createUserInfoMap
public Map createUserInfoMap()(Code)



getAttribute
public Object getAttribute(String name)(Code)



getAttributeNames
public Enumeration getAttributeNames()(Code)



getAuthType
public String getAuthType()(Code)



getContextPath
public String getContextPath()(Code)



getHttpServletRequest
public HttpServletRequest getHttpServletRequest()(Code)



getInputStream
public ServletInputStream getInputStream() throws IOException(Code)



getInternalPortletWindow
public InternalPortletWindow getInternalPortletWindow()(Code)



getLocale
public Locale getLocale()(Code)



getLocales
public Enumeration getLocales()(Code)



getParameter
public String getParameter(String name)(Code)



getParameterMap
public Map getParameterMap()(Code)



getParameterNames
public Enumeration getParameterNames()(Code)



getParameterValues
public String[] getParameterValues(String name)(Code)



getPortalContext
public PortalContext getPortalContext()(Code)



getPortletContainer
public PortletContainer getPortletContainer()(Code)



getPortletMode
public PortletMode getPortletMode()(Code)



getPortletSession
public PortletSession getPortletSession()(Code)



getPortletSession
public PortletSession getPortletSession(boolean create)(Code)
Returns the portlet session.

Note that since portlet request instance is created everytime the portlet container receives an incoming request, the portlet session instance held by the request instance is also re-created for each incoming request.




getProperties
public Enumeration getProperties(String name)(Code)



getProperty
public String getProperty(String name) throws IllegalArgumentException(Code)



getPropertyNames
public Enumeration getPropertyNames()(Code)



getReader
public BufferedReader getReader() throws UnsupportedEncodingException, IOException(Code)



getRemoteUser
public String getRemoteUser()(Code)



getRequestDispatcher
public RequestDispatcher getRequestDispatcher(String path)(Code)



getRequestedSessionId
public String getRequestedSessionId()(Code)



getResponseContentType
public String getResponseContentType()(Code)



getResponseContentTypes
public Enumeration getResponseContentTypes()(Code)



getScheme
public String getScheme()(Code)



getServerName
public String getServerName()(Code)



getServerPort
public int getServerPort()(Code)



getUserPrincipal
public Principal getUserPrincipal()(Code)



getWindowState
public WindowState getWindowState()(Code)



init
public void init(PortletContext portletContext, HttpServletRequest req)(Code)



isPortletModeAllowed
public boolean isPortletModeAllowed(PortletMode mode)(Code)



isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()(Code)



isSecure
public boolean isSecure()(Code)



isUserInRole
public boolean isUserInRole(String roleName)(Code)
Determines whether a user is mapped to the specified role. As specified in PLT-20-3, we must reference the <security-role-ref> mappings within the deployment descriptor. If no mapping is available, then, and only then, do we check use the actual role name specified against the web application deployment descriptor.
Parameters:
  roleName - the name of the role true if it is determined the user has the given role.



isWindowStateAllowed
public boolean isWindowStateAllowed(WindowState state)(Code)
Determine whether or not the specified WindowState is allowed for this portlet.
Parameters:
  state - the state in question true if the state is allowed.



release
public void release()(Code)
TODO: Implement this properly. Not required now



removeAttribute
public void removeAttribute(String name)(Code)



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



setBodyAccessed
protected void setBodyAccessed()(Code)



setCharacterEncoding
public void setCharacterEncoding(String encoding) throws UnsupportedEncodingException(Code)
TODO: why check bodyAccessed?



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)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.