Java Doc for Session.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.Session

All known Subclasses:   com.sun.portal.rproxy.connectionhandler.HTTPSession,
Session
abstract public class Session (Code)
This class processes the next request and sends a response back to the client.
author:
   Gabriel Lawrence


Field Summary
final public static  intGRACE_PERIOD
    
final public static  StringPDC_CERT_INFO
    
final public static  longTHREAD_SLEEP_TIME
    
protected  String_gwport
    
protected  String_gwprotocol
    
protected static  String_hpport
    
protected  Integer_logId
    
protected  boolean_moreElements
    
public static  int_numBytesRead
    
public static  int_numBytesSent
    
protected static  String_platformloginURL
    
protected static  String_platformlogoutURL
    
protected  Socket_theSocket
    
protected static  boolean_useHTTPProxy
    
final static  StringaccessDeniedErrorMessage
    
final static  StringauthCookieName
    
final static  StringdefDomain
    
final static  StringdefaultLocale
    
protected static  StringdefaultOrg
    
public static  booleandoingPDC
     Changes to accomodate DSAME pdc support.
final static  StringexceptionErrorMessage
    
static  ListexpandedSessionServersList
    
protected static  StringfaviconLocation
    
final static  StringhostConnectErrorMessage
    
final static  StringinvalidGatewayHostNameErrorMessage
    
protected  booleaninvalidateSSL
    
final public static  longmaxTimeOutSetting
    
final static  StringnotificationErrorMessage
    
final public static  StringnotificationURL
    
final static  StringpdcCookieName
    
protected  booleanpdcCookiePresent
    
protected  intport
    
final public static  booleanprocessKeepAliveConnections
    
final protected  intreadTimeout
    
protected static  Stringrphost
     Changes to accomodate DSAME pdc support.
final static  intsessionCookieLen
    
final static  StringsessionCookieName
    
protected static  ListsrapGateway_certificateEnabledList_lc
    
protected  intthis_req
    
protected  booleanthisreqKeepAlive
    
final static  StringwebProxErrorMessage
    

Constructor Summary
public  Session(Socket s)
    
public  Session(Socket s, String ip)
    

Method Summary
public  voidaddClientIP(Request req)
    
public  voidaddCustomHeaders(Request req)
    
public  voidaddGatewayInfo(Request req)
    
public  voidaddNetletCustomHeader(Request req)
    
public  voidaddPDCInfo(Request req)
    
public  voidclose()
     Close the session.
 SSLSocketgetActualSocket()
    
protected  StringgetDefaultOrg(String gwhost)
    
abstract public  RequestgetRequest()
    
 ResponsehandleRedirectRequest(Request req, String destinationHost)
    
public  booleanisStillActive()
    
final public  voidprocessNextRequest()
     Process next request, gets the request by calling getRequest, Checks Authorization for object, Retrieves it, translates it, and sends it back to the client.
public  ResponseprocessNotificationRequest(Request req)
    
 ResponseretrieveResponse(Request req, String destinationHost, Retriever retr, SSOToken token)
    
public  voidsetStillActive(boolean v)
    
protected  voidtranslateSpecificHeader(String headerName, Request req, HTTPResponse resp, boolean isExternal)
    
protected  voidtranslateWebDAVHeaders(Request req, HTTPResponse resp, boolean isExternal)
    

Field Detail
GRACE_PERIOD
final public static int GRACE_PERIOD(Code)



PDC_CERT_INFO
final public static String PDC_CERT_INFO(Code)



THREAD_SLEEP_TIME
final public static long THREAD_SLEEP_TIME(Code)



_gwport
protected String _gwport(Code)



_gwprotocol
protected String _gwprotocol(Code)



_hpport
protected static String _hpport(Code)



_logId
protected Integer _logId(Code)



_moreElements
protected boolean _moreElements(Code)



_numBytesRead
public static int _numBytesRead(Code)



_numBytesSent
public static int _numBytesSent(Code)



_platformloginURL
protected static String _platformloginURL(Code)



_platformlogoutURL
protected static String _platformlogoutURL(Code)



_theSocket
protected Socket _theSocket(Code)



_useHTTPProxy
protected static boolean _useHTTPProxy(Code)



accessDeniedErrorMessage
final static String accessDeniedErrorMessage(Code)



authCookieName
final static String authCookieName(Code)



defDomain
final static String defDomain(Code)



defaultLocale
final static String defaultLocale(Code)



defaultOrg
protected static String defaultOrg(Code)
Bug 4696175



doingPDC
public static boolean doingPDC(Code)
Changes to accomodate DSAME pdc support. Bug : 4670649



exceptionErrorMessage
final static String exceptionErrorMessage(Code)



expandedSessionServersList
static List expandedSessionServersList(Code)



faviconLocation
protected static String faviconLocation(Code)



hostConnectErrorMessage
final static String hostConnectErrorMessage(Code)



invalidGatewayHostNameErrorMessage
final static String invalidGatewayHostNameErrorMessage(Code)



invalidateSSL
protected boolean invalidateSSL(Code)



maxTimeOutSetting
final public static long maxTimeOutSetting(Code)



notificationErrorMessage
final static String notificationErrorMessage(Code)



notificationURL
final public static String notificationURL(Code)



pdcCookieName
final static String pdcCookieName(Code)



pdcCookiePresent
protected boolean pdcCookiePresent(Code)



port
protected int port(Code)



processKeepAliveConnections
final public static boolean processKeepAliveConnections(Code)



readTimeout
final protected int readTimeout(Code)



rphost
protected static String rphost(Code)
Changes to accomodate DSAME pdc support. Bug : 4670649



sessionCookieLen
final static int sessionCookieLen(Code)



sessionCookieName
final static String sessionCookieName(Code)



srapGateway_certificateEnabledList_lc
protected static List srapGateway_certificateEnabledList_lc(Code)



this_req
protected int this_req(Code)



thisreqKeepAlive
protected boolean thisreqKeepAlive(Code)



webProxErrorMessage
final static String webProxErrorMessage(Code)




Constructor Detail
Session
public Session(Socket s)(Code)
Create a Session from a socket



Session
public Session(Socket s, String ip)(Code)




Method Detail
addClientIP
public void addClientIP(Request req)(Code)



addCustomHeaders
public void addCustomHeaders(Request req)(Code)



addGatewayInfo
public void addGatewayInfo(Request req)(Code)



addNetletCustomHeader
public void addNetletCustomHeader(Request req)(Code)



addPDCInfo
public void addPDCInfo(Request req)(Code)



close
public void close()(Code)
Close the session.



getActualSocket
SSLSocket getActualSocket()(Code)



getDefaultOrg
protected String getDefaultOrg(String gwhost)(Code)



getRequest
abstract public Request getRequest()(Code)
Method subclasses override to return a request class for a specific Session type



handleRedirectRequest
Response handleRedirectRequest(Request req, String destinationHost)(Code)



isStillActive
public boolean isStillActive()(Code)
Check to see if a session is still active



processNextRequest
final public void processNextRequest()(Code)
Process next request, gets the request by calling getRequest, Checks Authorization for object, Retrieves it, translates it, and sends it back to the client.



processNotificationRequest
public Response processNotificationRequest(Request req)(Code)



retrieveResponse
Response retrieveResponse(Request req, String destinationHost, Retriever retr, SSOToken token)(Code)



setStillActive
public void setStillActive(boolean v)(Code)
Set Active state of a session



translateSpecificHeader
protected void translateSpecificHeader(String headerName, Request req, HTTPResponse resp, boolean isExternal)(Code)



translateWebDAVHeaders
protected void translateWebDAVHeaders(Request req, HTTPResponse resp, boolean isExternal)(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.