Java Doc for MockRequestContext.java in » Portal » jetspeed-2.1.3 » org » apache » jetspeed » mockobjects » 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.mockobjects.request
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
org.apache.jetspeed.mockobjects.request
.MockRequestContext
MockRequestContext
public
class MockRequestContext implements
RequestContext
(Code)
MockRequestContext
author:
David Sean Taylor
version:
$Id: MockRequestContext.java,v 1.1.2.1 2004/04/20 19:40:40 weaver
version:
Exp $
Constructor Summary
public
MockRequestContext
(
HttpServletRequest
request,
HttpServletResponse
response)
public
MockRequestContext
()
public
MockRequestContext
(
String
path)
Method Summary
public
PortletWindow
getActionWindow
()
public
Object
getAttribute
(
String
key)
public
CapabilityMap
getCapabilityMap
()
public
String
getCharacterEncoding
()
public
ServletConfig
getConfig
()
public
ContentDispatcher
getContentDispatcher
()
public
Locale
getLocale
()
public
String
getMediaType
()
public
String
getMimeType
()
public
NavigationalState
getNavigationalState
()
public
Map
getObjects
()
public
ContentPage
getPage
()
public
Map
getParameterMap
()
public
String
getPath
()
public
Pipeline
getPipeline
()
public
PortalURL
getPortalURL
()
public
Language
getPreferedLanguage
(PortletDefinition portlet)
public
Map
getProfileLocators
()
public
HttpServletRequest
getRequest
()
public
HttpServletRequest
getRequestForWindow
(PortletWindow window)
public
String
getRequestParameter
(
String
key)
public
HttpServletResponse
getResponse
()
public
HttpServletResponse
getResponseForWindow
(PortletWindow window)
public
Object
getSessionAttribute
(
String
key)
public
Subject
getSubject
()
public
Map
getUserInfoMap
(ObjectID oid)
public
Principal
getUserPrincipal
()
public
ContentPage
locatePage
(
Profiler
profiler,
String
nonProfiledPath)
public
Throwable
popActionFailure
(PortletWindow window)
public
void
setActionFailure
(PortletWindow window,
Throwable
actionFailure)
public
void
setActionWindow
(PortletWindow window)
public
void
setAttribute
(
String
key,
Object
value)
public
void
setCapabilityMap
(
CapabilityMap
map)
public
void
setCharacterEncoding
(
String
enc)
public
void
setContentDispatcher
(
ContentDispatcher
dispatcher)
public
void
setLocale
(
Locale
locale)
public
void
setMediaType
(
String
mediaType)
public
void
setMimeType
(
String
mimeType)
public
void
setObjects
(
Map
objects)
public
void
setPage
(
ContentPage
page)
public
void
setPath
(
String
path)
public
void
setPipeline
(
Pipeline
pipeline)
public
void
setPortalURL
(
PortalURL
url)
public
void
setProfileLocators
(
Map
locators)
public
void
setRequest
(
HttpServletRequest
request)
public
void
setResponse
(
HttpServletResponse
response)
public
void
setSessionAttribute
(
String
key,
Object
value)
public
void
setSubject
(
Subject
subject)
Constructor Detail
MockRequestContext
public
MockRequestContext(
HttpServletRequest
request,
HttpServletResponse
response)
(Code)
MockRequestContext
public
MockRequestContext()
(Code)
MockRequestContext
public
MockRequestContext(
String
path)
(Code)
Method Detail
getActionWindow
public
PortletWindow getActionWindow()
(Code)
getAttribute
public
Object
getAttribute(
String
key)
(Code)
getCapabilityMap
public
CapabilityMap
getCapabilityMap()
(Code)
getCharacterEncoding
public
String
getCharacterEncoding()
(Code)
getConfig
public
ServletConfig
getConfig()
(Code)
getContentDispatcher
public
ContentDispatcher
getContentDispatcher()
(Code)
getLocale
public
Locale
getLocale()
(Code)
getMediaType
public
String
getMediaType()
(Code)
getMimeType
public
String
getMimeType()
(Code)
getNavigationalState
public
NavigationalState
getNavigationalState()
(Code)
getObjects
public
Map
getObjects()
(Code)
getPage
public
ContentPage
getPage()
(Code)
getParameterMap
public
Map
getParameterMap()
(Code)
getPath
public
String
getPath()
(Code)
getPipeline
public
Pipeline
getPipeline()
(Code)
Get the current executing pipeline Pipeline
getPortalURL
public
PortalURL
getPortalURL()
(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)
getRequestForWindow
public
HttpServletRequest
getRequestForWindow(PortletWindow window)
(Code)
getRequestParameter
public
String
getRequestParameter(
String
key)
(Code)
getResponse
public
HttpServletResponse
getResponse()
(Code)
getResponseForWindow
public
HttpServletResponse
getResponseForWindow(PortletWindow window)
(Code)
getSessionAttribute
public
Object
getSessionAttribute(
String
key)
(Code)
getSubject
public
Subject
getSubject()
(Code)
getUserInfoMap
public
Map
getUserInfoMap(ObjectID oid)
(Code)
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 window)
(Code)
setAttribute
public
void setAttribute(
String
key,
Object
value)
(Code)
setCapabilityMap
public
void setCapabilityMap(
CapabilityMap
map)
(Code)
setCharacterEncoding
public
void setCharacterEncoding(
String
enc)
(Code)
setContentDispatcher
public
void setContentDispatcher(
ContentDispatcher
dispatcher)
(Code)
setLocale
public
void setLocale(
Locale
locale)
(Code)
setMediaType
public
void setMediaType(
String
mediaType)
(Code)
setMimeType
public
void setMimeType(
String
mimeType)
(Code)
setObjects
public
void setObjects(
Map
objects)
(Code)
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)
setProfileLocators
public
void setProfileLocators(
Map
locators)
(Code)
setRequest
public
void setRequest(
HttpServletRequest
request)
(Code)
Parameters:
request - The request to set.
setResponse
public
void setResponse(
HttpServletResponse
response)
(Code)
Parameters:
response - The request to set.
setSessionAttribute
public
void setSessionAttribute(
String
key,
Object
value)
(Code)
setSubject
public
void setSubject(
Subject
subject)
(Code)
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.