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


java.lang.Object
   com.sun.portal.proxylet.client.common.Param

Param
public class Param (Code)
Param This class manages all the configuration parameters of the applet. Some of them are got from Applet < PARAM > tag, while others are set during initialization of the applet.


Field Summary
static  booleanlogLevelConsole
    
static  booleanlogLevelUI
    


Method Summary
public static  voidcleanupPreviousSessionsProxyletFiles()
    
public static  StringgetBindIP()
    
public static  intgetBindPort()
    
public static  BrowserTypegetBrowserType()
    
public static  StringgetClientPACContent()
    
public static  StringgetClientProxyHost()
    
public static  StringgetClientProxyHostFTP()
    
public static  StringgetClientProxyHostGopher()
    
public static  StringgetClientProxyHostHTTP()
    
public static  StringgetClientProxyHostSSL()
    
public static  intgetClientProxyPort()
     getClientProxyPort - Call this function to find out the enterprise proxy port that should be used for the current configuration of gateway (HTTP or SSL ).
public static  intgetClientProxyPortFTP()
    
public static  intgetClientProxyPortGopher()
    
public static  intgetClientProxyPortHTTP()
    
public static  intgetClientProxyPortSSL()
    
public static  CookiegetCookie()
    
public static  StringgetDownloadMgrPort()
    
public static  StringgetGatewayHost()
    
public static  StringgetGatewayMode()
    
public static  intgetGatewayPort()
    
public static  StringgetGatewayURL()
    
public static  StringgetLang()
    
public static  StringgetNewPACContent()
    
public static  StringgetOS()
    
public static  byte[]getPacfileContent()
    
public static  StringgetPacfileLocation()
    
public static  StringgetPlatformLoginURL()
    
public static  StringgetPropertyFile()
    
public static  StringgetProxyMethod()
    
public static  StringgetRawCookie()
    
public static  StringgetRules()
    
public static  StringgetSSLProvider()
    
public static  StringgetServletURL()
    
public static  StringgetSessionId()
    
public static  StringgetSessionIdleTimeout()
    
public static  StringgetSource()
    
public static  StringgetString(String key, String def)
    
public static  StringgetTempDirectory()
    
public static  booleangetUseClientProxy()
     getUseClientProxy This function based on the gatewayMode and client proxy settings returns true or false.
public static  StringgetVMVersion()
    
public static  StringgetVendor()
    
public static  intgetWindowHeight()
    
public static  intgetWindowWidth()
    
public static  booleanisPacfileNeedToStore()
    
public static  booleanisProxyletRunning()
    
public static  voidloadPacContent()
    
public static  voidloadResourceBundle(boolean displayUI)
     loadResourceBundle displaying UI Reads the default and custom resource bundle Using sockets rather than URLconnection.
public static  booleanmaybeProxied(String host)
    
public static  voidnullifyResource()
    
public static  voidreadParameters(Applet appletContext)
    
public static  voidsendMsgToSelf(String port, String command, String param)
    
public static  byte[]sendMsgtoServlet(String command, boolean displayProgressbar, boolean postdataavailable, byte[] data)
    
public static  voidsetBindIP(String ip)
    
public static  voidsetBindPort(String port)
    
public static  voidsetBrowserType(BrowserType b)
    
public static  voidsetByPassList(String bypasslist)
     setBypassList Parses the list of address and stores them in a Vector.
public static  voidsetClientPACContent(String pacContent)
    
public static  voidsetClientProxy(String host, String port)
    
public static  voidsetClientProxyHTTP(String host, String port)
    
public static  voidsetClientProxyInfo(String mode, String proxyModedata)
     setClientProxyInfo This function parses the proxy server value based on the proxy type and sets the clientproxyhost and clientproxyport fields. If mode is MANUAL, the proxyserver would be in the format http://host:port;https://host:port;ftp://....etc.
public static  voidsetClientProxyList(Vector pl)
    
public static  voidsetClientProxySSL(String host, String port)
    
public static  voidsetCookie(Cookie rcookie)
    
public static  voidsetGatewayHost(String host)
    
public static  voidsetGatewayMode(String mode)
    
public static  voidsetGatewayPort(String port)
    
public static  voidsetGatewayUrl(String g)
    
public static  voidsetNewPACContent(String pacContent)
    
public static  voidsetPacfileLoc()
    
public static  voidsetPacfileLocation(String pacLocation)
    
public static  voidsetPlatformLoginURL(String url)
    
public static  voidsetPropertyFile(String propertyf)
    
public static  voidsetProxyMethod(String method)
    
public static  voidsetProxyletFilesForCleanup()
    
public static  voidsetRawCookie(String rc)
    
public static  voidsetRules(String r)
    
public static  voidsetSSLProvider()
    
public static  voidsetServletUrl(String s)
    
public static  voidsetSessionIdleTimeout(String session)
    
public static  voidsetSource(String src)
    
public static  voidsetVMVersion()
    
public static  voidsetVendor()
    
public static  voidsetWindowDimension(int width, int height)
    

Field Detail
logLevelConsole
static boolean logLevelConsole(Code)



logLevelUI
static boolean logLevelUI(Code)





Method Detail
cleanupPreviousSessionsProxyletFiles
public static void cleanupPreviousSessionsProxyletFiles()(Code)



getBindIP
public static String getBindIP()(Code)



getBindPort
public static int getBindPort()(Code)



getBrowserType
public static BrowserType getBrowserType()(Code)



getClientPACContent
public static String getClientPACContent()(Code)



getClientProxyHost
public static String getClientProxyHost()(Code)
getClientProxyHost - Call this function to find out the enterprise proxy host and port that should be used for the current configuration of gateway ( HTTP or SSL )



getClientProxyHostFTP
public static String getClientProxyHostFTP()(Code)



getClientProxyHostGopher
public static String getClientProxyHostGopher()(Code)



getClientProxyHostHTTP
public static String getClientProxyHostHTTP()(Code)



getClientProxyHostSSL
public static String getClientProxyHostSSL()(Code)



getClientProxyPort
public static int getClientProxyPort()(Code)
getClientProxyPort - Call this function to find out the enterprise proxy port that should be used for the current configuration of gateway (HTTP or SSL ). If the port value is missing, the default values ( 443 or 80 ) would be returned



getClientProxyPortFTP
public static int getClientProxyPortFTP()(Code)



getClientProxyPortGopher
public static int getClientProxyPortGopher()(Code)



getClientProxyPortHTTP
public static int getClientProxyPortHTTP()(Code)



getClientProxyPortSSL
public static int getClientProxyPortSSL()(Code)



getCookie
public static Cookie getCookie()(Code)



getDownloadMgrPort
public static String getDownloadMgrPort()(Code)



getGatewayHost
public static String getGatewayHost()(Code)



getGatewayMode
public static String getGatewayMode()(Code)



getGatewayPort
public static int getGatewayPort()(Code)



getGatewayURL
public static String getGatewayURL()(Code)



getLang
public static String getLang()(Code)



getNewPACContent
public static String getNewPACContent()(Code)



getOS
public static String getOS()(Code)



getPacfileContent
public static byte[] getPacfileContent()(Code)



getPacfileLocation
public static String getPacfileLocation()(Code)



getPlatformLoginURL
public static String getPlatformLoginURL()(Code)



getPropertyFile
public static String getPropertyFile()(Code)



getProxyMethod
public static String getProxyMethod()(Code)
Getter Functions



getRawCookie
public static String getRawCookie()(Code)



getRules
public static String getRules()(Code)



getSSLProvider
public static String getSSLProvider()(Code)



getServletURL
public static String getServletURL()(Code)



getSessionId
public static String getSessionId()(Code)



getSessionIdleTimeout
public static String getSessionIdleTimeout()(Code)



getSource
public static String getSource()(Code)



getString
public static String getString(String key, String def)(Code)



getTempDirectory
public static String getTempDirectory()(Code)



getUseClientProxy
public static boolean getUseClientProxy()(Code)
getUseClientProxy This function based on the gatewayMode and client proxy settings returns true or false. If gatewayMode is SSL, it means that proxylet would establish a secure channel with the gateway In that case, we need to look up clientProxyHostSSL to determine if we need to use proxy server for SSL based transactions.



getVMVersion
public static String getVMVersion()(Code)



getVendor
public static String getVendor()(Code)



getWindowHeight
public static int getWindowHeight()(Code)



getWindowWidth
public static int getWindowWidth()(Code)



isPacfileNeedToStore
public static boolean isPacfileNeedToStore()(Code)



isProxyletRunning
public static boolean isProxyletRunning()(Code)



loadPacContent
public static void loadPacContent()(Code)



loadResourceBundle
public static void loadResourceBundle(boolean displayUI) throws Exception(Code)
loadResourceBundle displaying UI Reads the default and custom resource bundle Using sockets rather than URLconnection. Reason: Cookie value that is being set as a part of the connection object gets URL encoded. The corresponding URL decoding does not happen at the gateway.



maybeProxied
public static boolean maybeProxied(String host)(Code)



nullifyResource
public static void nullifyResource()(Code)



readParameters
public static void readParameters(Applet appletContext)(Code)



sendMsgToSelf
public static void sendMsgToSelf(String port, String command, String param)(Code)
sendMsgToSelf sends a message to the local server
Parameters:
  port - The port on which the server is listening on local machine
Parameters:
  command - Msg to be sent



sendMsgtoServlet
public static byte[] sendMsgtoServlet(String command, boolean displayProgressbar, boolean postdataavailable, byte[] data) throws Exception(Code)



setBindIP
public static void setBindIP(String ip)(Code)



setBindPort
public static void setBindPort(String port)(Code)
Setter Functions



setBrowserType
public static void setBrowserType(BrowserType b)(Code)



setByPassList
public static void setByPassList(String bypasslist)(Code)
setBypassList Parses the list of address and stores them in a Vector.
Parameters:
  bypasslist - list of hosts ( address seperated by a comma )that shouldbe left out from being proxied



setClientPACContent
public static void setClientPACContent(String pacContent)(Code)



setClientProxy
public static void setClientProxy(String host, String port)(Code)
setClientProxy This function sets the host and port value of the enterprise proxy based on the current configuration of gateway ( HTTP or SSL )



setClientProxyHTTP
public static void setClientProxyHTTP(String host, String port)(Code)
setClientProxyHTTP sets the enterprise proxy host and port to be used for all HTTP transfers



setClientProxyInfo
public static void setClientProxyInfo(String mode, String proxyModedata)(Code)
setClientProxyInfo This function parses the proxy server value based on the proxy type and sets the clientproxyhost and clientproxyport fields. If mode is MANUAL, the proxyserver would be in the format http://host:port;https://host:port;ftp://....etc. If mode is DIRECT, do not use any proxy
Parameters:
  mode - DIRECT or MANUAL
Parameters:
  proxyModedata -



setClientProxyList
public static void setClientProxyList(Vector pl)(Code)



setClientProxySSL
public static void setClientProxySSL(String host, String port)(Code)
setClientProxySSL sets the enterprise proxy host and port to be used for all SSL transfers



setCookie
public static void setCookie(Cookie rcookie)(Code)



setGatewayHost
public static void setGatewayHost(String host)(Code)



setGatewayMode
public static void setGatewayMode(String mode)(Code)



setGatewayPort
public static void setGatewayPort(String port)(Code)



setGatewayUrl
public static void setGatewayUrl(String g)(Code)



setNewPACContent
public static void setNewPACContent(String pacContent)(Code)



setPacfileLoc
public static void setPacfileLoc()(Code)



setPacfileLocation
public static void setPacfileLocation(String pacLocation)(Code)



setPlatformLoginURL
public static void setPlatformLoginURL(String url)(Code)



setPropertyFile
public static void setPropertyFile(String propertyf)(Code)



setProxyMethod
public static void setProxyMethod(String method)(Code)



setProxyletFilesForCleanup
public static void setProxyletFilesForCleanup()(Code)



setRawCookie
public static void setRawCookie(String rc)(Code)



setRules
public static void setRules(String r)(Code)



setSSLProvider
public static void setSSLProvider()(Code)



setServletUrl
public static void setServletUrl(String s)(Code)



setSessionIdleTimeout
public static void setSessionIdleTimeout(String session)(Code)



setSource
public static void setSource(String src)(Code)



setVMVersion
public static void setVMVersion()(Code)



setVendor
public static void setVendor()(Code)



setWindowDimension
public static void setWindowDimension(int width, int height)(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.