Java Doc for HTTPRequest.java in  » Portal » Open-Portal » com » sun » portal » rproxy » connectionhandler » 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 » Open Portal » com.sun.portal.rproxy.connectionhandler 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.portal.rproxy.connectionhandler.HTTPRequest

HTTPRequest
public class HTTPRequest implements Request,HttpServletRequest(Code)
This class represents a single HTTP request.
author:
   Gabriel Lawrence


Field Summary
final protected static  StringSessionInURLDelimiter
    
protected  StringencodedGatewayURL
    
protected static  booleanforceURLSession
    
protected  StringgatewayURL
    
protected static  URLhttpPlatformConfURL
    
protected static  StringhttpPlatformConfURLString
    
protected static  URLhttpsPlatformConfURL
    
protected static  StringhttpsPlatformConfURLString
    
protected  booleanisCookieSupported
    
protected  StringurlSessionInfo
    
protected static  booleanusePlatformConfURL
    

Constructor Summary
public  HTTPRequest()
    
public  HTTPRequest(String urlstr)
    
public  HTTPRequest(String protocol, int dummyPort)
    

Method Summary
public  voidaddCustomHeader(String key, String value)
    
public  voidaddHeader(String key, String value)
    
public  voidaddHeaderLine(String s)
     Method called by HTTPSession when construction the Request Object.
public  voidaddSize(int size)
    
public  booleangetArchiveTranslate()
    
public  ObjectgetAttribute(String name)
    
public  EnumerationgetAttributeNames()
    
public  StringgetAuthType()
    
public  byte[]getCertificate()
    
public  StringgetCharacterEncoding()
    
public  intgetContentLength()
    
public  BufferedInputStreamgetContentStream()
    
public  StringgetContentType()
    
public  StringgetContextPath()
    
public  Cookie[]getCookies()
    
public  longgetDateHeader(String name)
    
public  StringgetGatewayHost()
    
public  intgetGatewayPort()
    
public  StringgetGatewayProtocol()
    
public  StringgetGatewayScheme()
    
public  StringgetGatewayURL()
    
public  StringgetHTTPVersion()
    
public  StringgetHeader(String name)
    
public  ListgetHeaderAttributeList(String header)
    
public  EnumerationgetHeaderNames()
    
public  EnumerationgetHeaders(String name)
    
public  StringgetHost()
    
public  ServletInputStreamgetInputStream()
    
public  intgetIntHeader(String name)
    
public  java.util.LocalegetLocale()
    
public  EnumerationgetLocales()
    
public  StringgetMethod()
    
public  PropertiesgetNetworkInfo()
    
public  StringgetObject()
    
public  StringgetParameter(String name)
    
public  EnumerationgetParameterNames()
    
public  String[]getParameterValues(String name)
    
public  StringgetPathInfo()
    
public  StringgetPathTranslated()
    
public  StringgetPort()
    
public  StringgetPortFromCustomUrl(String knownPort)
    
public  StringgetProtocol()
    
public  StringgetProtocolFromCustomUrl(String knownProtocol)
    
public  StringgetProxyHost()
    
public  intgetProxyPort()
    
public  StringgetQueryString()
    
public  BufferedReadergetReader()
    
public  StringgetRealPath(String name)
    
public  StringgetRemoteAddr()
    
public  StringgetRemoteHost()
    
public  StringgetRemoteUser()
    
public  javax.servlet.RequestDispatchergetRequestDispatcher(String s)
    
public  StringgetRequestHeader(String header)
     Method to retrieve an arbitrary header.
public  byte[]getRequestHeaderBytes()
    
public  StringgetRequestURI()
    
public  StringgetRequestedSessionId()
    
public  StringgetScheme()
    
public  StringgetServerName()
    
public  intgetServerPort()
    
public  StringgetServletPath()
    
public  HttpSessiongetSession()
    
public  HttpSessiongetSession(boolean create)
    
public  StringgetSessionID()
    
public  intgetSize()
    
public  StringgetURI()
    
public  StringgetURL()
    
public  StringgetUnEncodedGatewayURL()
    
public  booleangetUseProxy()
    
public  java.security.PrincipalgetUserPrincipal()
    
public  booleanisCookieSupported()
    
public  booleanisForwardCookieHost()
    
public  booleanisGatewayProtocolSecure()
    
public  booleanisHeaderComplete()
    
public  booleanisRequestedSessionIdFromCookie()
    
public  booleanisRequestedSessionIdFromURL()
    
public  booleanisRequestedSessionIdFromUrl()
    
public  booleanisRequestedSessionIdValid()
    
public  booleanisSecure()
    
public  booleanisUserInRole(String s)
    
protected  voidparseUrlCookie()
    
public  voidpopulateWebProxyInfo()
    
protected  StringremoveAndGetSIDFromScheme()
    
public  voidremoveAttribute(String name)
    
public  booleanremoveHeader(String header)
    
protected  voidrequestPostReadProcessor()
    
public  voidsetArchiveTranslate(boolean t)
    
public  voidsetAttribute(String name, Object obj)
    
public  voidsetContentStream(BufferedInputStream in)
    
public  voidsetGatewayHost(String gwhost)
    
public  voidsetGatewayURL(String url)
    
public  voidsetHost(String host)
    
public  voidsetMethod(String method)
    
public  voidsetObject(String object)
    
public  voidsetPort(String port)
    
public  voidsetProtocol(String protocol)
    
public  voidsetRequestHeader(String header, String value)
    
public  voidsetSessionValue(String value)
    
public  voidsetURL(String url)
    
public  StringtoString()
    

Field Detail
SessionInURLDelimiter
final protected static String SessionInURLDelimiter(Code)



encodedGatewayURL
protected String encodedGatewayURL(Code)



forceURLSession
protected static boolean forceURLSession(Code)



gatewayURL
protected String gatewayURL(Code)



httpPlatformConfURL
protected static URL httpPlatformConfURL(Code)



httpPlatformConfURLString
protected static String httpPlatformConfURLString(Code)



httpsPlatformConfURL
protected static URL httpsPlatformConfURL(Code)



httpsPlatformConfURLString
protected static String httpsPlatformConfURLString(Code)



isCookieSupported
protected boolean isCookieSupported(Code)



urlSessionInfo
protected String urlSessionInfo(Code)



usePlatformConfURL
protected static boolean usePlatformConfURL(Code)




Constructor Detail
HTTPRequest
public HTTPRequest()(Code)



HTTPRequest
public HTTPRequest(String urlstr)(Code)



HTTPRequest
public HTTPRequest(String protocol, int dummyPort)(Code)




Method Detail
addCustomHeader
public void addCustomHeader(String key, String value)(Code)



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



addHeaderLine
public void addHeaderLine(String s)(Code)
Method called by HTTPSession when construction the Request Object.



addSize
public void addSize(int size)(Code)



getArchiveTranslate
public boolean getArchiveTranslate()(Code)



getAttribute
public Object getAttribute(String name)(Code)
Method in servlet



getAttributeNames
public Enumeration getAttributeNames()(Code)



getAuthType
public String getAuthType()(Code)



getCertificate
public byte[] getCertificate()(Code)



getCharacterEncoding
public String getCharacterEncoding()(Code)



getContentLength
public int getContentLength()(Code)



getContentStream
public BufferedInputStream getContentStream()(Code)



getContentType
public String getContentType()(Code)



getContextPath
public String getContextPath()(Code)



getCookies
public Cookie[] getCookies()(Code)



getDateHeader
public long getDateHeader(String name)(Code)



getGatewayHost
public String getGatewayHost()(Code)



getGatewayPort
public int getGatewayPort()(Code)



getGatewayProtocol
public String getGatewayProtocol()(Code)



getGatewayScheme
public String getGatewayScheme()(Code)



getGatewayURL
public String getGatewayURL()(Code)



getHTTPVersion
public String getHTTPVersion()(Code)
HTTP Version



getHeader
public String getHeader(String name)(Code)



getHeaderAttributeList
public List getHeaderAttributeList(String header)(Code)



getHeaderNames
public Enumeration getHeaderNames()(Code)



getHeaders
public Enumeration getHeaders(String name)(Code)



getHost
public String getHost()(Code)



getInputStream
public ServletInputStream getInputStream()(Code)



getIntHeader
public int getIntHeader(String name)(Code)



getLocale
public java.util.Locale getLocale()(Code)



getLocales
public Enumeration getLocales()(Code)



getMethod
public String getMethod()(Code)
Request Method



getNetworkInfo
public Properties getNetworkInfo()(Code)



getObject
public String getObject()(Code)



getParameter
public String getParameter(String name)(Code)



getParameterNames
public Enumeration getParameterNames()(Code)



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



getPathInfo
public String getPathInfo()(Code)



getPathTranslated
public String getPathTranslated()(Code)



getPort
public String getPort()(Code)



getPortFromCustomUrl
public String getPortFromCustomUrl(String knownPort)(Code)



getProtocol
public String getProtocol()(Code)



getProtocolFromCustomUrl
public String getProtocolFromCustomUrl(String knownProtocol)(Code)



getProxyHost
public String getProxyHost()(Code)



getProxyPort
public int getProxyPort()(Code)



getQueryString
public String getQueryString()(Code)



getReader
public BufferedReader getReader()(Code)



getRealPath
public String getRealPath(String name)(Code)



getRemoteAddr
public String getRemoteAddr()(Code)



getRemoteHost
public String getRemoteHost()(Code)



getRemoteUser
public String getRemoteUser()(Code)



getRequestDispatcher
public javax.servlet.RequestDispatcher getRequestDispatcher(String s)(Code)



getRequestHeader
public String getRequestHeader(String header)(Code)
Method to retrieve an arbitrary header.



getRequestHeaderBytes
public byte[] getRequestHeaderBytes()(Code)
Byte array of header suitable for sending across network



getRequestURI
public String getRequestURI()(Code)



getRequestedSessionId
public String getRequestedSessionId()(Code)



getScheme
public String getScheme()(Code)



getServerName
public String getServerName()(Code)



getServerPort
public int getServerPort()(Code)



getServletPath
public String getServletPath()(Code)



getSession
public HttpSession getSession()(Code)



getSession
public HttpSession getSession(boolean create)(Code)



getSessionID
public String getSessionID()(Code)



getSize
public int getSize()(Code)



getURI
public String getURI()(Code)



getURL
public String getURL()(Code)
request url, minus the first /



getUnEncodedGatewayURL
public String getUnEncodedGatewayURL()(Code)



getUseProxy
public boolean getUseProxy()(Code)



getUserPrincipal
public java.security.Principal getUserPrincipal()(Code)



isCookieSupported
public boolean isCookieSupported()(Code)



isForwardCookieHost
public boolean isForwardCookieHost()(Code)



isGatewayProtocolSecure
public boolean isGatewayProtocolSecure()(Code)



isHeaderComplete
public boolean isHeaderComplete()(Code)
True - valid http header parsed, false not enough info yet



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 s)(Code)



parseUrlCookie
protected void parseUrlCookie()(Code)



populateWebProxyInfo
public void populateWebProxyInfo()(Code)



removeAndGetSIDFromScheme
protected String removeAndGetSIDFromScheme()(Code)



removeAttribute
public void removeAttribute(String name)(Code)



removeHeader
public boolean removeHeader(String header)(Code)



requestPostReadProcessor
protected void requestPostReadProcessor()(Code)



setArchiveTranslate
public void setArchiveTranslate(boolean t)(Code)



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



setContentStream
public void setContentStream(BufferedInputStream in)(Code)



setGatewayHost
public void setGatewayHost(String gwhost)(Code)



setGatewayURL
public void setGatewayURL(String url)(Code)



setHost
public void setHost(String host)(Code)



setMethod
public void setMethod(String method)(Code)



setObject
public void setObject(String object)(Code)



setPort
public void setPort(String port)(Code)



setProtocol
public void setProtocol(String protocol)(Code)



setRequestHeader
public void setRequestHeader(String header, String value)(Code)



setSessionValue
public void setSessionValue(String value)(Code)



setURL
public void setURL(String url)(Code)



toString
public String toString()(Code)
Something informative to print out



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.