Java Doc for DummyRequest.java in » Sevlet-Container » tomcat-catalina » org » apache » catalina » core » 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
»
Sevlet Container
»
tomcat catalina
»
org.apache.catalina.core
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
org.apache.catalina.core
.DummyRequest
DummyRequest
public
class DummyRequest implements
HttpRequest
,
HttpServletRequest
(Code)
Dummy request object, used for request dispatcher mapping, as well as JSP precompilation.
author:
Remy Maucherat
version:
$Revision: 1.10 $ $Date: 2004/02/27 14:58:42 $
Field Summary
protected
String
contextPath
protected
String
decodedURI
protected
FilterChain
filterChain
protected
String
pathInfo
protected
String
queryString
protected
String
servletPath
protected
ValveContext
valveContext
protected
Wrapper
wrapper
Constructor Summary
public
DummyRequest
()
public
DummyRequest
(
String
contextPath,
String
decodedURI,
String
queryString)
Method Summary
public
void
addCookie
(
Cookie
cookie)
public
void
addHeader
(
String
name,
String
value)
public
void
addLocale
(
Locale
locale)
public
void
addParameter
(
String
name,
String
values)
public
void
clearCookies
()
public
void
clearHeaders
()
public
void
clearLocales
()
public
void
clearParameters
()
public
ServletInputStream
createInputStream
()
public
void
finishRequest
()
public
Object
getAttribute
(
String
name)
public
Enumeration
getAttributeNames
()
public
String
getAuthType
()
public
String
getAuthorization
()
public
String
getCharacterEncoding
()
public
Connector
getConnector
()
public
int
getContentLength
()
public
String
getContentType
()
public
Context
getContext
()
public
String
getContextPath
()
public
MessageBytes
getContextPathMB
()
public
Cookie
[]
getCookies
()
public
long
getDateHeader
(
String
name)
public
String
getDecodedRequestURI
()
public
MessageBytes
getDecodedRequestURIMB
()
public
FilterChain
getFilterChain
()
public
String
getHeader
(
String
name)
public
Enumeration
getHeaderNames
()
public
Enumeration
getHeaders
(
String
name)
public
Host
getHost
()
public
String
getInfo
()
public
ServletInputStream
getInputStream
()
public
int
getIntHeader
(
String
name)
public
String
getLocalAddr
()
public
String
getLocalName
()
public
int
getLocalPort
()
public
Locale
getLocale
()
public
Enumeration
getLocales
()
public
String
getMethod
()
public
Object
getNote
(
String
name)
public
Iterator
getNoteNames
()
public
String
getParameter
(
String
name)
public
Map
getParameterMap
()
public
Enumeration
getParameterNames
()
public
String
[]
getParameterValues
(
String
name)
public
String
getPathInfo
()
public
MessageBytes
getPathInfoMB
()
public
String
getPathTranslated
()
public
String
getProtocol
()
public
String
getQueryString
()
public
BufferedReader
getReader
()
public
String
getRealPath
(
String
path)
public
String
getRemoteAddr
()
public
String
getRemoteHost
()
public
int
getRemotePort
()
public
String
getRemoteUser
()
public
ServletRequest
getRequest
()
public
RequestDispatcher
getRequestDispatcher
(
String
path)
public
MessageBytes
getRequestPathMB
()
public
String
getRequestURI
()
public
StringBuffer
getRequestURL
()
public
String
getRequestedSessionId
()
public
Response
getResponse
()
public
String
getScheme
()
public
String
getServerName
()
public
int
getServerPort
()
public
String
getServletPath
()
public
MessageBytes
getServletPathMB
()
public
HttpSession
getSession
()
public
HttpSession
getSession
(boolean create)
public
Socket
getSocket
()
public
InputStream
getStream
()
public
Principal
getUserPrincipal
()
public
ValveContext
getValveContext
()
public
Wrapper
getWrapper
()
public
boolean
isRequestedSessionIdFromCookie
()
public
boolean
isRequestedSessionIdFromURL
()
public
boolean
isRequestedSessionIdFromUrl
()
public
boolean
isRequestedSessionIdValid
()
public
boolean
isSecure
()
public
boolean
isUserInRole
(
String
role)
public
void
recycle
()
public
void
removeAttribute
(
String
name)
public
void
removeNote
(
String
name)
public
void
setAttribute
(
String
name,
Object
value)
public
void
setAuthType
(
String
authType)
public
void
setAuthorization
(
String
authorization)
public
void
setCharacterEncoding
(
String
enc)
public
void
setConnector
(
Connector
connector)
public
void
setContentLength
(int length)
public
void
setContentType
(
String
type)
public
void
setContext
(
Context
context)
public
void
setContextPath
(
String
path)
public
void
setDecodedRequestURI
(
String
uri)
public
void
setFilterChain
(
FilterChain
filterChain)
public
void
setHost
(
Host
host)
public
void
setMethod
(
String
method)
public
void
setNote
(
String
name,
Object
value)
public
void
setPathInfo
(
String
path)
public
void
setProtocol
(
String
protocol)
public
void
setQueryString
(
String
query)
public
void
setRemoteAddr
(
String
remoteAddr)
public
void
setRemoteHost
(
String
remoteHost)
public
void
setRequestURI
(
String
uri)
public
void
setRequestedSessionCookie
(boolean flag)
public
void
setRequestedSessionId
(
String
id)
public
void
setRequestedSessionURL
(boolean flag)
public
void
setResponse
(
Response
response)
public
void
setScheme
(
String
scheme)
public
void
setSecure
(boolean secure)
public
void
setServerName
(
String
name)
public
void
setServerPort
(int port)
public
void
setServletPath
(
String
path)
public
void
setSocket
(
Socket
socket)
public
void
setStream
(
InputStream
input)
public
void
setUserPrincipal
(
Principal
principal)
public
void
setValveContext
(
ValveContext
valveContext)
public
void
setWrapper
(
Wrapper
wrapper)
Field Detail
contextPath
protected
String
contextPath
(Code)
decodedURI
protected
String
decodedURI
(Code)
filterChain
protected
FilterChain
filterChain
(Code)
pathInfo
protected
String
pathInfo
(Code)
queryString
protected
String
queryString
(Code)
servletPath
protected
String
servletPath
(Code)
valveContext
protected
ValveContext
valveContext
(Code)
wrapper
protected
Wrapper
wrapper
(Code)
Constructor Detail
DummyRequest
public
DummyRequest()
(Code)
DummyRequest
public
DummyRequest(
String
contextPath,
String
decodedURI,
String
queryString)
(Code)
Method Detail
addCookie
public
void addCookie(
Cookie
cookie)
(Code)
addHeader
public
void addHeader(
String
name,
String
value)
(Code)
addLocale
public
void addLocale(
Locale
locale)
(Code)
addParameter
public
void addParameter(
String
name,
String
values)
(Code)
clearCookies
public
void clearCookies()
(Code)
clearHeaders
public
void clearHeaders()
(Code)
clearLocales
public
void clearLocales()
(Code)
clearParameters
public
void clearParameters()
(Code)
createInputStream
public
ServletInputStream
createInputStream() throws
IOException
(Code)
finishRequest
public
void finishRequest() throws
IOException
(Code)
getAttribute
public
Object
getAttribute(
String
name)
(Code)
getAttributeNames
public
Enumeration
getAttributeNames()
(Code)
getAuthType
public
String
getAuthType()
(Code)
getAuthorization
public
String
getAuthorization()
(Code)
getCharacterEncoding
public
String
getCharacterEncoding()
(Code)
getConnector
public
Connector
getConnector()
(Code)
getContentLength
public
int getContentLength()
(Code)
getContentType
public
String
getContentType()
(Code)
getContext
public
Context
getContext()
(Code)
getContextPath
public
String
getContextPath()
(Code)
getContextPathMB
public
MessageBytes getContextPathMB()
(Code)
getCookies
public
Cookie
[] getCookies()
(Code)
getDateHeader
public
long getDateHeader(
String
name)
(Code)
getDecodedRequestURI
public
String
getDecodedRequestURI()
(Code)
getDecodedRequestURIMB
public
MessageBytes getDecodedRequestURIMB()
(Code)
getFilterChain
public
FilterChain
getFilterChain()
(Code)
getHeader
public
String
getHeader(
String
name)
(Code)
getHeaderNames
public
Enumeration
getHeaderNames()
(Code)
getHeaders
public
Enumeration
getHeaders(
String
name)
(Code)
getHost
public
Host
getHost()
(Code)
getInfo
public
String
getInfo()
(Code)
getInputStream
public
ServletInputStream
getInputStream() throws
IOException
(Code)
getIntHeader
public
int getIntHeader(
String
name)
(Code)
getLocalAddr
public
String
getLocalAddr()
(Code)
getLocalName
public
String
getLocalName()
(Code)
getLocalPort
public
int getLocalPort()
(Code)
getLocale
public
Locale
getLocale()
(Code)
getLocales
public
Enumeration
getLocales()
(Code)
getMethod
public
String
getMethod()
(Code)
getNote
public
Object
getNote(
String
name)
(Code)
getNoteNames
public
Iterator
getNoteNames()
(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)
getPathInfo
public
String
getPathInfo()
(Code)
getPathInfoMB
public
MessageBytes getPathInfoMB()
(Code)
getPathTranslated
public
String
getPathTranslated()
(Code)
getProtocol
public
String
getProtocol()
(Code)
getQueryString
public
String
getQueryString()
(Code)
getReader
public
BufferedReader
getReader() throws
IOException
(Code)
getRealPath
public
String
getRealPath(
String
path)
(Code)
getRemoteAddr
public
String
getRemoteAddr()
(Code)
getRemoteHost
public
String
getRemoteHost()
(Code)
getRemotePort
public
int getRemotePort()
(Code)
getRemoteUser
public
String
getRemoteUser()
(Code)
getRequest
public
ServletRequest
getRequest()
(Code)
getRequestDispatcher
public
RequestDispatcher
getRequestDispatcher(
String
path)
(Code)
getRequestPathMB
public
MessageBytes getRequestPathMB()
(Code)
getRequestURI
public
String
getRequestURI()
(Code)
getRequestURL
public
StringBuffer
getRequestURL()
(Code)
getRequestedSessionId
public
String
getRequestedSessionId()
(Code)
getResponse
public
Response
getResponse()
(Code)
getScheme
public
String
getScheme()
(Code)
getServerName
public
String
getServerName()
(Code)
getServerPort
public
int getServerPort()
(Code)
getServletPath
public
String
getServletPath()
(Code)
getServletPathMB
public
MessageBytes getServletPathMB()
(Code)
getSession
public
HttpSession
getSession()
(Code)
getSession
public
HttpSession
getSession(boolean create)
(Code)
getSocket
public
Socket
getSocket()
(Code)
getStream
public
InputStream
getStream()
(Code)
getUserPrincipal
public
Principal
getUserPrincipal()
(Code)
getValveContext
public
ValveContext
getValveContext()
(Code)
getWrapper
public
Wrapper
getWrapper()
(Code)
isRequestedSessionIdFromCookie
public
boolean isRequestedSessionIdFromCookie()
(Code)
isRequestedSessionIdFromURL
public
boolean isRequestedSessionIdFromURL()
(Code)
isRequestedSessionIdFromUrl
public
boolean isRequestedSessionIdFromUrl()
(Code)
isRequestedSessionIdValid
public
boolean isRequestedSessionIdValid()
(Code)
isSecure
public
boolean isSecure()
(Code)
isUserInRole
public
boolean isUserInRole(
String
role)
(Code)
recycle
public
void recycle()
(Code)
removeAttribute
public
void removeAttribute(
String
name)
(Code)
removeNote
public
void removeNote(
String
name)
(Code)
setAttribute
public
void setAttribute(
String
name,
Object
value)
(Code)
setAuthType
public
void setAuthType(
String
authType)
(Code)
setAuthorization
public
void setAuthorization(
String
authorization)
(Code)
setCharacterEncoding
public
void setCharacterEncoding(
String
enc) throws
UnsupportedEncodingException
(Code)
setConnector
public
void setConnector(
Connector
connector)
(Code)
setContentLength
public
void setContentLength(int length)
(Code)
setContentType
public
void setContentType(
String
type)
(Code)
setContext
public
void setContext(
Context
context)
(Code)
setContextPath
public
void setContextPath(
String
path)
(Code)
setDecodedRequestURI
public
void setDecodedRequestURI(
String
uri)
(Code)
setFilterChain
public
void setFilterChain(
FilterChain
filterChain)
(Code)
setHost
public
void setHost(
Host
host)
(Code)
setMethod
public
void setMethod(
String
method)
(Code)
setNote
public
void setNote(
String
name,
Object
value)
(Code)
setPathInfo
public
void setPathInfo(
String
path)
(Code)
setProtocol
public
void setProtocol(
String
protocol)
(Code)
setQueryString
public
void setQueryString(
String
query)
(Code)
setRemoteAddr
public
void setRemoteAddr(
String
remoteAddr)
(Code)
setRemoteHost
public
void setRemoteHost(
String
remoteHost)
(Code)
setRequestURI
public
void setRequestURI(
String
uri)
(Code)
setRequestedSessionCookie
public
void setRequestedSessionCookie(boolean flag)
(Code)
setRequestedSessionId
public
void setRequestedSessionId(
String
id)
(Code)
setRequestedSessionURL
public
void setRequestedSessionURL(boolean flag)
(Code)
setResponse
public
void setResponse(
Response
response)
(Code)
setScheme
public
void setScheme(
String
scheme)
(Code)
setSecure
public
void setSecure(boolean secure)
(Code)
setServerName
public
void setServerName(
String
name)
(Code)
setServerPort
public
void setServerPort(int port)
(Code)
setServletPath
public
void setServletPath(
String
path)
(Code)
setSocket
public
void setSocket(
Socket
socket)
(Code)
setStream
public
void setStream(
InputStream
input)
(Code)
setUserPrincipal
public
void setUserPrincipal(
Principal
principal)
(Code)
setValveContext
public
void setValveContext(
ValveContext
valveContext)
(Code)
setWrapper
public
void setWrapper(
Wrapper
wrapper)
(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.