Java Doc for WebConnector.java in  » EJB-Server-geronimo » management » org » apache » geronimo » management » geronimo » 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 » EJB Server geronimo » management » org.apache.geronimo.management.geronimo 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.geronimo.management.geronimo.WebConnector

WebConnector
public interface WebConnector extends NetworkConnector(Code)
The common configuration settings for a web container network connector -- that is, the protocol and network settings used to connect to the web container (with a variety of tuning arguments as well). http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html http://mortbay.org/javadoc/org/mortbay/http/SocketListener.html
version:
   $Rev: 592536 $ $Date: 2007-11-06 12:06:33 -0800 (Tue, 06 Nov 2007) $




Method Summary
public  intgetAcceptQueueSize()
     Gets the maximum number of connections that may be queued while all threads are busy.
public  intgetBufferSizeBytes()
     Gets the size of the buffer used to handle network data for this connector.
public  StringgetConnectUrl()
     Gets a URL used to connect to the web server via this connector. This is not guaranteed to work (for example, if the server is located behind a proxy), but it should give a reasonable value if possible.
public  intgetHeaderBufferSizeBytes()
     Gets the size of the header buffer used to handle network data for this connector.
public  intgetLingerMillis()
     Gets the amount of time the socket used by this connector will linger after being closed.
public  intgetMaxThreads()
     Gets the maximum number of threads used to service connections from this connector.
public  intgetRedirectPort()
     Gets the network port to which traffic will be redirected if this connector handles insecure traffic and the request requires a secure connection.
public  booleanisTcpNoDelay()
     Gets whether the TCP_NODELAY flag is set for the sockets used by this connector.
public  voidsetAcceptQueueSize(int size)
     Sets the maximum number of connections that may be queued while all threads are busy.
public  voidsetBufferSizeBytes(int bytes)
     Gets the size of the buffer used to handle network data for this connector.
public  voidsetHeaderBufferSizeBytes(int bytes)
     Sets the size of the Header buffer used to handle network data for this connector.
public  voidsetLingerMillis(int millis)
     Sets the amount of time the socket used by this connector will linger after being closed.
public  voidsetMaxThreads(int threads)
     Sets the maximum number of threads used to service connections from this connector.
public  voidsetRedirectPort(int port)
     Gets the network port to which traffic will be redirected if this connector handles insecure traffic and the request requires a secure connection.
public  voidsetTcpNoDelay(boolean enable)
     Sets whether the TCP_NODELAY flag is set for the sockets used by this connector.



Method Detail
getAcceptQueueSize
public int getAcceptQueueSize()(Code)
Gets the maximum number of connections that may be queued while all threads are busy. Any requests received while the queue is full will be rejected.



getBufferSizeBytes
public int getBufferSizeBytes()(Code)
Gets the size of the buffer used to handle network data for this connector.



getConnectUrl
public String getConnectUrl()(Code)
Gets a URL used to connect to the web server via this connector. This is not guaranteed to work (for example, if the server is located behind a proxy), but it should give a reasonable value if possible. The form of the returned String should be http://hostname or http://hostname:port (in other words, suitable for appending a context path).



getHeaderBufferSizeBytes
public int getHeaderBufferSizeBytes()(Code)
Gets the size of the header buffer used to handle network data for this connector.



getLingerMillis
public int getLingerMillis()(Code)
Gets the amount of time the socket used by this connector will linger after being closed. -1 indicates that socket linger is disabled.



getMaxThreads
public int getMaxThreads()(Code)
Gets the maximum number of threads used to service connections from this connector.



getRedirectPort
public int getRedirectPort()(Code)
Gets the network port to which traffic will be redirected if this connector handles insecure traffic and the request requires a secure connection. Needless to say, this should point to another connector configured for SSL.



isTcpNoDelay
public boolean isTcpNoDelay()(Code)
Gets whether the TCP_NODELAY flag is set for the sockets used by this connector. This usually enhances performance, so it should typically be set.



setAcceptQueueSize
public void setAcceptQueueSize(int size)(Code)
Sets the maximum number of connections that may be queued while all threads are busy. Any requests received while the queue is full will be rejected.



setBufferSizeBytes
public void setBufferSizeBytes(int bytes)(Code)
Gets the size of the buffer used to handle network data for this connector.



setHeaderBufferSizeBytes
public void setHeaderBufferSizeBytes(int bytes)(Code)
Sets the size of the Header buffer used to handle network data for this connector.



setLingerMillis
public void setLingerMillis(int millis)(Code)
Sets the amount of time the socket used by this connector will linger after being closed. Use -1 to disable socket linger.



setMaxThreads
public void setMaxThreads(int threads)(Code)
Sets the maximum number of threads used to service connections from this connector.



setRedirectPort
public void setRedirectPort(int port)(Code)
Gets the network port to which traffic will be redirected if this connector handles insecure traffic and the request requires a secure connection. Needless to say, this should point to another connector configured for SSL. If no SSL connector is available, any port can be used as they all fail equally well. :)



setTcpNoDelay
public void setTcpNoDelay(boolean enable)(Code)
Sets whether the TCP_NODELAY flag is set for the sockets used by this connector. This usually enhances performance, so it should typically be set.



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