Java Doc for Request.java in  » Web-Framework » rife-1.6.1 » com » uwyn » rife » engine » 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 » Web Framework » rife 1.6.1 » com.uwyn.rife.engine 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.uwyn.rife.engine.Request

All known Subclasses:   com.uwyn.rife.servlet.HttpRequest,  com.uwyn.rife.test.MockRequest,
Request
public interface Request (Code)
This interface contains all the methods that the web engine needs to be able to correctly handle incoming requests.
author:
   Geert Bevin (gbevin[remove] at uwyn dot com)
version:
   $Revision: 3634 $
since:
   1.1




Method Summary
public  ObjectgetAttribute(String name)
     See HttpServletRequest.getAttribute(String) .
public  EnumerationgetAttributeNames()
     See HttpServletRequest.getAttributeNames .
public  StringgetCharacterEncoding()
     See HttpServletRequest.getCharacterEncoding .
public  StringgetContentType()
     See HttpServletRequest.getContentType .
public  StringgetContextPath()
     See HttpServletRequest.getContextPath .
public  CookiegetCookie(String name)
     Retrieves a cookie.
Parameters:
  name - the name of the cookie.
public  Cookie[]getCookies()
     See HttpServletRequest.getCookies .
public  longgetDateHeader(String name)
     See HttpServletRequest.getDateHeader(String) .
public  UploadedFilegetFile(String name)
     Retrieves an uploaded file.
public  Map<String, UploadedFile[]>getFiles()
     Retrieves the files that were uploaded in this request.
public  UploadedFile[]getFiles(String name)
     Retrieves all files that have been uploaded for a particular name.
public  StringgetHeader(String name)
     See HttpServletRequest.getHeader(String) .
public  EnumerationgetHeaderNames()
     See HttpServletRequest.getHeaderNames .
public  EnumerationgetHeaders(String name)
     See HttpServletRequest.getHeaders(String) .
public  HttpServletRequestgetHttpServletRequest()
     Retrieves the underlying HttpServletRequest .
public  intgetIntHeader(String name)
     See HttpServletRequest.getIntHeader(String) .
public  LocalegetLocale()
     See HttpServletRequest.getLocale .
public  EnumerationgetLocales()
     See HttpServletRequest.getLocales .
public  RequestMethodgetMethod()
     See HttpServletRequest.getMethod .
public  Map<String, String[]>getParameters()
     Retrieves the parameters that were sent in this request.
public  StringgetProtocol()
     See HttpServletRequest.getProtocol .
public  StringgetRemoteAddr()
     See HttpServletRequest.getRemoteAddr .
public  StringgetRemoteHost()
     See HttpServletRequest.getRemoteHost .
public  StringgetRemoteUser()
     See HttpServletRequest.getRemoteUser .
public  RequestDispatchergetRequestDispatcher(String url)
     See HttpServletRequest.getRequestDispatcher(String) .
public  StringgetScheme()
     See HttpServletRequest.getScheme .
public  StringgetServerName()
     See HttpServletRequest.getServerName .
public  intgetServerPort()
     See HttpServletRequest.getServerPort .
public  StringgetServerRootUrl(int port)
     Returns the root URL of the server that is running this web applications.
public  HttpSessiongetSession()
     See HttpServletRequest.getSession .
public  HttpSessiongetSession(boolean create)
     See HttpServletRequest.getSession(boolean) .
public  booleanhasAttribute(String name)
     Checks if a request attribute exists.
public  booleanhasCookie(String name)
     Checks whether a cookie is present.
public  booleanhasFile(String name)
     Checks if a particular file has been uploaded in this request.
public  voidinit(StateStore stateStore)
     Initialize the state of this request from a StateStore.
public  booleanisSecure()
     See HttpServletRequest.isSecure .
public  voidremoveAttribute(String name)
     See HttpServletRequest.removeAttribute(String) .
public  voidsetAttribute(String name, Object object)
     See HttpServletRequest.setAttribute(StringObject) .



Method Detail
getAttribute
public Object getAttribute(String name)(Code)
See HttpServletRequest.getAttribute(String) .
since:
   1.1



getAttributeNames
public Enumeration getAttributeNames()(Code)
See HttpServletRequest.getAttributeNames .
since:
   1.1



getCharacterEncoding
public String getCharacterEncoding()(Code)
See HttpServletRequest.getCharacterEncoding .
since:
   1.1



getContentType
public String getContentType()(Code)
See HttpServletRequest.getContentType .
since:
   1.1



getContextPath
public String getContextPath()(Code)
See HttpServletRequest.getContextPath .
since:
   1.1



getCookie
public Cookie getCookie(String name)(Code)
Retrieves a cookie.
Parameters:
  name - the name of the cookie. the instance of the cookie; or

null if no such cookie is present
See Also:   Request.hasCookie(String)
See Also:   Request.getCookies()
since:
   1.1




getCookies
public Cookie[] getCookies()(Code)
See HttpServletRequest.getCookies .
since:
   1.1



getDateHeader
public long getDateHeader(String name)(Code)
See HttpServletRequest.getDateHeader(String) .
since:
   1.1



getFile
public UploadedFile getFile(String name)(Code)
Retrieves an uploaded file.
Parameters:
  name - the name of the file, as declared in the submission the uploaded file; or

null if no file was uploaded
See Also:   Request.getFiles()
See Also:   Request.hasFile(String)
See Also:   Request.getFiles(String)
since:
   1.1




getFiles
public Map<String, UploadedFile[]> getFiles()(Code)
Retrieves the files that were uploaded in this request. a Map with all the uploaded files
See Also:   Request.hasFile(String)
See Also:   Request.getFile(String)
See Also:   Request.getFiles(String)
since:
   1.1



getFiles
public UploadedFile[] getFiles(String name)(Code)
Retrieves all files that have been uploaded for a particular name.
Parameters:
  name - the name of the file, as declared in the submission the uploaded files; or

null if no files were uploaded for that name
See Also:   Request.getFiles()
See Also:   Request.hasFile(String)
See Also:   Request.getFile(String)
since:
   1.1




getHeader
public String getHeader(String name)(Code)
See HttpServletRequest.getHeader(String) .
since:
   1.1



getHeaderNames
public Enumeration getHeaderNames()(Code)
See HttpServletRequest.getHeaderNames .
since:
   1.1



getHeaders
public Enumeration getHeaders(String name)(Code)
See HttpServletRequest.getHeaders(String) .
since:
   1.1



getHttpServletRequest
public HttpServletRequest getHttpServletRequest()(Code)
Retrieves the underlying HttpServletRequest . the underlying HttpServletRequest instance; or

null if this request isn't backed byHttpServletRequest
since:
   1.1




getIntHeader
public int getIntHeader(String name)(Code)
See HttpServletRequest.getIntHeader(String) .
since:
   1.1



getLocale
public Locale getLocale()(Code)
See HttpServletRequest.getLocale .
since:
   1.1



getLocales
public Enumeration getLocales()(Code)
See HttpServletRequest.getLocales .
since:
   1.1



getMethod
public RequestMethod getMethod()(Code)
See HttpServletRequest.getMethod .
since:
   1.1



getParameters
public Map<String, String[]> getParameters()(Code)
Retrieves the parameters that were sent in this request. a Map with all the parameter names and values
since:
   1.1



getProtocol
public String getProtocol()(Code)
See HttpServletRequest.getProtocol .
since:
   1.1



getRemoteAddr
public String getRemoteAddr()(Code)
See HttpServletRequest.getRemoteAddr .
since:
   1.1



getRemoteHost
public String getRemoteHost()(Code)
See HttpServletRequest.getRemoteHost .
since:
   1.1



getRemoteUser
public String getRemoteUser()(Code)
See HttpServletRequest.getRemoteUser .
since:
   1.1



getRequestDispatcher
public RequestDispatcher getRequestDispatcher(String url)(Code)
See HttpServletRequest.getRequestDispatcher(String) .
since:
   1.1



getScheme
public String getScheme()(Code)
See HttpServletRequest.getScheme .
since:
   1.1



getServerName
public String getServerName()(Code)
See HttpServletRequest.getServerName .
since:
   1.1



getServerPort
public int getServerPort()(Code)
See HttpServletRequest.getServerPort .
since:
   1.1



getServerRootUrl
public String getServerRootUrl(int port)(Code)
Returns the root URL of the server that is running this web applications.

This includes the protocol, the server name and the server port, for example: http://www.somehost.com:8080. the server's root url
since:
   1.1




getSession
public HttpSession getSession()(Code)
See HttpServletRequest.getSession .
since:
   1.1



getSession
public HttpSession getSession(boolean create)(Code)
See HttpServletRequest.getSession(boolean) .
since:
   1.1



hasAttribute
public boolean hasAttribute(String name)(Code)
Checks if a request attribute exists.
Parameters:
  name - a String specifying the name of the attribute

false otherwise
since:
   1.1




hasCookie
public boolean hasCookie(String name)(Code)
Checks whether a cookie is present.
Parameters:
  name - the name of the cookie true if the cookie was present; or

false otherwise
See Also:   Request.getCookie(String)
See Also:   Request.getCookies()
since:
   1.1




hasFile
public boolean hasFile(String name)(Code)
Checks if a particular file has been uploaded in this request.
Parameters:
  name - the name of the file, as declared in the submission true if the file was uploaded; or

false otherwise
See Also:   Request.getFiles()
See Also:   Request.getFile(String)
See Also:   Request.getFiles(String)
since:
   1.1




init
public void init(StateStore stateStore)(Code)
Initialize the state of this request from a StateStore.

This method is only there to be used by the web engine, it should never be called manually.
Parameters:
  stateStore - the StateStore that will be used toinitialize the request
since:
   1.1




isSecure
public boolean isSecure()(Code)
See HttpServletRequest.isSecure .
since:
   1.1



removeAttribute
public void removeAttribute(String name)(Code)
See HttpServletRequest.removeAttribute(String) .
since:
   1.1



setAttribute
public void setAttribute(String name, Object object)(Code)
See HttpServletRequest.setAttribute(StringObject) .
since:
   1.1



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