Java Doc for Http11AprProtocol.java in  » Sevlet-Container » apache-tomcat-6.0.14 » org » apache » coyote » http11 » 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 » Sevlet Container » apache tomcat 6.0.14 » org.apache.coyote.http11 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.coyote.http11.Http11AprProtocol

Http11AprProtocol
public class Http11AprProtocol implements ProtocolHandler,MBeanRegistration(Code)
Abstract the protocol implementation, including threading, etc. Processor is single threaded and specific to stream-based protocols, will not fit Jk protocols like JNI.
author:
   Remy Maucherat
author:
   Costin Manolache

Inner Class :static class Http11ConnectionHandler implements Handler

Field Summary
protected  Adapteradapter
     The adapter, used to call the connector.
protected  HashMap<String, Object>attributes
    
protected  StringcompressableMimeTypes
    
protected  Stringcompression
     Integrated compression support.
protected  intcompressionMinSize
    
protected  booleandisableUploadTimeout
     If true, the regular socket timeout will be used for the full duration of the connection.
protected  Stringdomain
    
protected  AprEndpointendpoint
    
protected static  org.apache.juli.logging.Loglog
    
protected  intmaxHttpHeaderSize
     Maximum size of the HTTP message header.
protected  intmaxKeepAliveRequests
     Maximum number of requests which can be performed over a keepalive connection.
protected  intmaxSavePostSize
     Maximum size of the post which will be saved when processing certain requests, such as a POST.
protected  MBeanServermserver
    
protected  StringnoCompressionUserAgents
    
protected  ObjectNameoname
    
protected  intprocessorCache
     Processor cache.
protected  StringrestrictedUserAgents
     User agents regular expressions which should be restricted to HTTP/1.0 support.
 ObjectNamergOname
    
protected  booleansecure
     This field indicates if the protocol is secure from the perspective of the client (= https is used).
protected  Stringserver
     Server header.
protected static  StringManagersm
     The string manager for this package.
protected  intsocketBuffer
    
protected  inttimeout
     This timeout represents the socket timeout which will be used while the adapter execution is in progress, unless disableUploadTimeout is set to true.
 ObjectNametpOname
    

Constructor Summary
public  Http11AprProtocol()
    

Method Summary
public  voiddestroy()
    
public  AdaptergetAdapter()
    
public  InetAddressgetAddress()
    
public  ObjectgetAttribute(String key)
    
public  IteratorgetAttributeNames()
    
public  intgetBacklog()
    
public  StringgetCompressableMimeType()
    
public  StringgetCompression()
    
public  intgetCompressionMinSize()
    
public  booleangetDisableUploadTimeout()
    
public  StringgetDomain()
    
public  ExecutorgetExecutor()
    
public  booleangetKeepAlive()
     Return the Keep-Alive policy for the connection.
public  intgetKeepAliveTimeout()
     The number of seconds Tomcat will wait for a subsequent request before closing the connection.
public  intgetMaxHttpHeaderSize()
    
public  intgetMaxKeepAliveRequests()
    
public  intgetMaxSavePostSize()
    
public  intgetMaxThreads()
    
public  StringgetName()
    
public  StringgetNoCompressionUserAgents()
    
public  ObjectNamegetObjectName()
    
public  intgetPollTime()
    
public  intgetPollerSize()
    
public  intgetPort()
    
public  intgetProcessorCache()
    
public  StringgetProperty(String name)
    
public  StringgetProtocol()
    
public  StringgetRestrictedUserAgents()
    
public  StringgetSSLCACertificateFile()
     SSL CA certificate file.
public  StringgetSSLCACertificatePath()
     SSL CA certificate path.
public  StringgetSSLCARevocationFile()
     SSL CA revocation file.
public  StringgetSSLCARevocationPath()
     SSL CA revocation path.
public  StringgetSSLCertificateChainFile()
     SSL certificate chain file.
public  StringgetSSLCertificateFile()
     SSL certificate file.
public  StringgetSSLCertificateKeyFile()
     SSL certificate key file.
public  StringgetSSLCipherSuite()
     SSL cipher suite.
public  StringgetSSLPassword()
     SSL password (if a cert is encrypted, and no password has been provided, a callback will ask for a password).
public  StringgetSSLProtocol()
     SSL protocol.
public  StringgetSSLVerifyClient()
     SSL verify client.
public  intgetSSLVerifyDepth()
     SSL verify depth.
public  booleangetSecure()
    
public  intgetSendfileSize()
    
public  StringgetServer()
    
public  intgetSoLinger()
    
public  intgetSoTimeout()
    
public  intgetSocketBuffer()
    
public  booleangetTcpNoDelay()
    
public  intgetThreadPriority()
    
public  intgetTimeout()
    
public  booleangetUseSendfile()
    
public  voidinit()
    
public  booleanisSSLEnabled()
     SSL engine.
public  voidpause()
    
public  voidpostDeregister()
    
public  voidpostRegister(Boolean registrationDone)
    
public  voidpreDeregister()
    
public  ObjectNamepreRegister(MBeanServer server, ObjectName name)
    
public  voidresume()
    
public  voidsetAdapter(Adapter adapter)
    
public  voidsetAddress(InetAddress ia)
    
public  voidsetAttribute(String name, Object value)
    
public  voidsetBacklog(int backlog)
    
public  voidsetCompressableMimeType(String valueS)
    
public  voidsetCompression(String valueS)
    
public  voidsetCompressionMinSize(int valueI)
    
public  voidsetDisableUploadTimeout(boolean isDisabled)
    
public  voidsetExecutor(Executor executor)
    
public  voidsetKeepAlive(boolean keepAlive)
     Set the keep-alive policy for this connection.
public  voidsetKeepAliveTimeout(int timeout)
    
public  voidsetMaxHttpHeaderSize(int valueI)
    
public  voidsetMaxKeepAliveRequests(int mkar)
    
public  voidsetMaxSavePostSize(int valueI)
    
public  voidsetMaxThreads(int maxThreads)
    
public  voidsetNoCompressionUserAgents(String valueS)
    
public  voidsetPollTime(int pollTime)
    
public  voidsetPollerSize(int pollerSize)
    
public  voidsetPort(int port)
    
public  voidsetProcessorCache(int processorCache)
    
public  voidsetProperty(String name, String value)
     Set a property.
public  voidsetProtocol(String k)
    
public  voidsetRestrictedUserAgents(String valueS)
    
public  voidsetSSLCACertificateFile(String SSLCACertificateFile)
    
public  voidsetSSLCACertificatePath(String SSLCACertificatePath)
    
public  voidsetSSLCARevocationFile(String SSLCARevocationFile)
    
public  voidsetSSLCARevocationPath(String SSLCARevocationPath)
    
public  voidsetSSLCertificateChainFile(String SSLCertificateChainFile)
    
public  voidsetSSLCertificateFile(String SSLCertificateFile)
    
public  voidsetSSLCertificateKeyFile(String SSLCertificateKeyFile)
    
public  voidsetSSLCipherSuite(String SSLCipherSuite)
    
public  voidsetSSLEnabled(boolean SSLEnabled)
    
public  voidsetSSLPassword(String SSLPassword)
    
public  voidsetSSLProtocol(String SSLProtocol)
    
public  voidsetSSLVerifyClient(String SSLVerifyClient)
    
public  voidsetSSLVerifyDepth(int SSLVerifyDepth)
    
public  voidsetSecure(boolean b)
    
public  voidsetSendfileSize(int sendfileSize)
    
public  voidsetServer(String server)
    
public  voidsetSoLinger(int soLinger)
    
public  voidsetSoTimeout(int soTimeout)
    
public  voidsetSocketBuffer(int socketBuffer)
    
public  voidsetTcpNoDelay(boolean tcpNoDelay)
    
public  voidsetThreadPriority(int threadPriority)
    
public  voidsetTimeout(int timeout)
    
public  voidsetUseSendfile(boolean useSendfile)
    
public  voidstart()
    

Field Detail
adapter
protected Adapter adapter(Code)
The adapter, used to call the connector.



attributes
protected HashMap<String, Object> attributes(Code)



compressableMimeTypes
protected String compressableMimeTypes(Code)



compression
protected String compression(Code)
Integrated compression support.



compressionMinSize
protected int compressionMinSize(Code)



disableUploadTimeout
protected boolean disableUploadTimeout(Code)
If true, the regular socket timeout will be used for the full duration of the connection.



domain
protected String domain(Code)



endpoint
protected AprEndpoint endpoint(Code)



log
protected static org.apache.juli.logging.Log log(Code)



maxHttpHeaderSize
protected int maxHttpHeaderSize(Code)
Maximum size of the HTTP message header.



maxKeepAliveRequests
protected int maxKeepAliveRequests(Code)
Maximum number of requests which can be performed over a keepalive connection. The default is the same as for Apache HTTP Server.



maxSavePostSize
protected int maxSavePostSize(Code)
Maximum size of the post which will be saved when processing certain requests, such as a POST.



mserver
protected MBeanServer mserver(Code)



noCompressionUserAgents
protected String noCompressionUserAgents(Code)



oname
protected ObjectName oname(Code)



processorCache
protected int processorCache(Code)
Processor cache.



restrictedUserAgents
protected String restrictedUserAgents(Code)
User agents regular expressions which should be restricted to HTTP/1.0 support.



rgOname
ObjectName rgOname(Code)



secure
protected boolean secure(Code)
This field indicates if the protocol is secure from the perspective of the client (= https is used).



server
protected String server(Code)
Server header.



sm
protected static StringManager sm(Code)
The string manager for this package.



socketBuffer
protected int socketBuffer(Code)



timeout
protected int timeout(Code)
This timeout represents the socket timeout which will be used while the adapter execution is in progress, unless disableUploadTimeout is set to true. The default is the same as for Apache HTTP Server (300 000 milliseconds).



tpOname
ObjectName tpOname(Code)




Constructor Detail
Http11AprProtocol
public Http11AprProtocol()(Code)




Method Detail
destroy
public void destroy() throws Exception(Code)



getAdapter
public Adapter getAdapter()(Code)



getAddress
public InetAddress getAddress()(Code)



getAttribute
public Object getAttribute(String key)(Code)



getAttributeNames
public Iterator getAttributeNames()(Code)



getBacklog
public int getBacklog()(Code)



getCompressableMimeType
public String getCompressableMimeType()(Code)



getCompression
public String getCompression()(Code)



getCompressionMinSize
public int getCompressionMinSize()(Code)



getDisableUploadTimeout
public boolean getDisableUploadTimeout()(Code)



getDomain
public String getDomain()(Code)



getExecutor
public Executor getExecutor()(Code)



getKeepAlive
public boolean getKeepAlive()(Code)
Return the Keep-Alive policy for the connection.



getKeepAliveTimeout
public int getKeepAliveTimeout()(Code)
The number of seconds Tomcat will wait for a subsequent request before closing the connection.



getMaxHttpHeaderSize
public int getMaxHttpHeaderSize()(Code)



getMaxKeepAliveRequests
public int getMaxKeepAliveRequests()(Code)



getMaxSavePostSize
public int getMaxSavePostSize()(Code)



getMaxThreads
public int getMaxThreads()(Code)



getName
public String getName()(Code)



getNoCompressionUserAgents
public String getNoCompressionUserAgents()(Code)



getObjectName
public ObjectName getObjectName()(Code)



getPollTime
public int getPollTime()(Code)



getPollerSize
public int getPollerSize()(Code)



getPort
public int getPort()(Code)



getProcessorCache
public int getProcessorCache()(Code)



getProperty
public String getProperty(String name)(Code)
Get a property



getProtocol
public String getProtocol()(Code)



getRestrictedUserAgents
public String getRestrictedUserAgents()(Code)



getSSLCACertificateFile
public String getSSLCACertificateFile()(Code)
SSL CA certificate file.



getSSLCACertificatePath
public String getSSLCACertificatePath()(Code)
SSL CA certificate path.



getSSLCARevocationFile
public String getSSLCARevocationFile()(Code)
SSL CA revocation file.



getSSLCARevocationPath
public String getSSLCARevocationPath()(Code)
SSL CA revocation path.



getSSLCertificateChainFile
public String getSSLCertificateChainFile()(Code)
SSL certificate chain file.



getSSLCertificateFile
public String getSSLCertificateFile()(Code)
SSL certificate file.



getSSLCertificateKeyFile
public String getSSLCertificateKeyFile()(Code)
SSL certificate key file.



getSSLCipherSuite
public String getSSLCipherSuite()(Code)
SSL cipher suite.



getSSLPassword
public String getSSLPassword()(Code)
SSL password (if a cert is encrypted, and no password has been provided, a callback will ask for a password).



getSSLProtocol
public String getSSLProtocol()(Code)
SSL protocol.



getSSLVerifyClient
public String getSSLVerifyClient()(Code)
SSL verify client.



getSSLVerifyDepth
public int getSSLVerifyDepth()(Code)
SSL verify depth.



getSecure
public boolean getSecure()(Code)



getSendfileSize
public int getSendfileSize()(Code)



getServer
public String getServer()(Code)



getSoLinger
public int getSoLinger()(Code)



getSoTimeout
public int getSoTimeout()(Code)



getSocketBuffer
public int getSocketBuffer()(Code)



getTcpNoDelay
public boolean getTcpNoDelay()(Code)



getThreadPriority
public int getThreadPriority()(Code)



getTimeout
public int getTimeout()(Code)



getUseSendfile
public boolean getUseSendfile()(Code)



init
public void init() throws Exception(Code)
Start the protocol



isSSLEnabled
public boolean isSSLEnabled()(Code)
SSL engine.



pause
public void pause() throws Exception(Code)



postDeregister
public void postDeregister()(Code)



postRegister
public void postRegister(Boolean registrationDone)(Code)



preDeregister
public void preDeregister() throws Exception(Code)



preRegister
public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception(Code)



resume
public void resume() throws Exception(Code)



setAdapter
public void setAdapter(Adapter adapter)(Code)



setAddress
public void setAddress(InetAddress ia)(Code)



setAttribute
public void setAttribute(String name, Object value)(Code)
Pass config info



setBacklog
public void setBacklog(int backlog)(Code)



setCompressableMimeType
public void setCompressableMimeType(String valueS)(Code)



setCompression
public void setCompression(String valueS)(Code)



setCompressionMinSize
public void setCompressionMinSize(int valueI)(Code)



setDisableUploadTimeout
public void setDisableUploadTimeout(boolean isDisabled)(Code)



setExecutor
public void setExecutor(Executor executor)(Code)



setKeepAlive
public void setKeepAlive(boolean keepAlive)(Code)
Set the keep-alive policy for this connection.



setKeepAliveTimeout
public void setKeepAliveTimeout(int timeout)(Code)



setMaxHttpHeaderSize
public void setMaxHttpHeaderSize(int valueI)(Code)



setMaxKeepAliveRequests
public void setMaxKeepAliveRequests(int mkar)(Code)



setMaxSavePostSize
public void setMaxSavePostSize(int valueI)(Code)



setMaxThreads
public void setMaxThreads(int maxThreads)(Code)



setNoCompressionUserAgents
public void setNoCompressionUserAgents(String valueS)(Code)



setPollTime
public void setPollTime(int pollTime)(Code)



setPollerSize
public void setPollerSize(int pollerSize)(Code)



setPort
public void setPort(int port)(Code)



setProcessorCache
public void setProcessorCache(int processorCache)(Code)



setProperty
public void setProperty(String name, String value)(Code)
Set a property.



setProtocol
public void setProtocol(String k)(Code)



setRestrictedUserAgents
public void setRestrictedUserAgents(String valueS)(Code)



setSSLCACertificateFile
public void setSSLCACertificateFile(String SSLCACertificateFile)(Code)



setSSLCACertificatePath
public void setSSLCACertificatePath(String SSLCACertificatePath)(Code)



setSSLCARevocationFile
public void setSSLCARevocationFile(String SSLCARevocationFile)(Code)



setSSLCARevocationPath
public void setSSLCARevocationPath(String SSLCARevocationPath)(Code)



setSSLCertificateChainFile
public void setSSLCertificateChainFile(String SSLCertificateChainFile)(Code)



setSSLCertificateFile
public void setSSLCertificateFile(String SSLCertificateFile)(Code)



setSSLCertificateKeyFile
public void setSSLCertificateKeyFile(String SSLCertificateKeyFile)(Code)



setSSLCipherSuite
public void setSSLCipherSuite(String SSLCipherSuite)(Code)



setSSLEnabled
public void setSSLEnabled(boolean SSLEnabled)(Code)



setSSLPassword
public void setSSLPassword(String SSLPassword)(Code)



setSSLProtocol
public void setSSLProtocol(String SSLProtocol)(Code)



setSSLVerifyClient
public void setSSLVerifyClient(String SSLVerifyClient)(Code)



setSSLVerifyDepth
public void setSSLVerifyDepth(int SSLVerifyDepth)(Code)



setSecure
public void setSecure(boolean b)(Code)



setSendfileSize
public void setSendfileSize(int sendfileSize)(Code)



setServer
public void setServer(String server)(Code)



setSoLinger
public void setSoLinger(int soLinger)(Code)



setSoTimeout
public void setSoTimeout(int soTimeout)(Code)



setSocketBuffer
public void setSocketBuffer(int socketBuffer)(Code)



setTcpNoDelay
public void setTcpNoDelay(boolean tcpNoDelay)(Code)



setThreadPriority
public void setThreadPriority(int threadPriority)(Code)



setTimeout
public void setTimeout(int timeout)(Code)



setUseSendfile
public void setUseSendfile(boolean useSendfile)(Code)



start
public void start() throws Exception(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.