Java Doc for Http11Protocol.java in » Sevlet-Container » tomcat-connectors » 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
»
tomcat connectors
»
org.apache.coyote.http11
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
org.apache.coyote.http11
.Http11Protocol
Http11Protocol
public
class Http11Protocol 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 MXPoolListener implements
ThreadPool.ThreadPoolListener
Inner Class :static class Http11ConnectionHandler implements
TcpConnectionHandler
Field Summary
final
public
static int
THREAD_DATA_OBJECT_NAME
final
public
static int
THREAD_DATA_PROCESSOR
protected
Hashtable
attributes
protected
String
domain
protected
PoolTcpEndpoint
ep
protected
static org.apache.commons.logging.Log
log
protected
MBeanServer
mserver
protected
ObjectName
oname
ObjectName
rgOname
protected
boolean
secure
protected
static
StringManager
sm
The string manager for this package.
protected
ServerSocketFactory
socketFactory
protected
String
socketFactoryName
protected
SSLImplementation
sslImplementation
protected
String
sslImplementationName
protected
ThreadPool
tp
ObjectName
tpOname
Constructor Summary
public
Http11Protocol
()
Method Summary
public
void
destroy
()
public
Adapter
getAdapter
()
public
InetAddress
getAddress
()
public
String
getAlgorithm
()
public
Object
getAttribute
(
String
key)
public
int
getBacklog
()
public
String
getCiphers
()
public
String
getClientauth
()
public
String
getCompressableMimeType
()
public
String
getCompression
()
public
int
getCompressionMinSize
()
public
boolean
getDisableUploadTimeout
()
public
String
getDomain
()
public
String
getKeyAlias
()
public
String
getKeypass
()
public
String
getKeystore
()
public
String
getKeytype
()
public
int
getMaxHttpHeaderSize
()
public
int
getMaxKeepAliveRequests
()
public
int
getMaxPostSize
()
public
int
getMaxSpareThreads
()
public
int
getMaxThreads
()
public
int
getMinSpareThreads
()
public
String
getName
()
public
String
getNoCompressionUserAgents
()
public
ObjectName
getObjectName
()
public
boolean
getPools
()
public
int
getPort
()
public
String
getProperty
(
String
name)
public
String
getProtocol
()
public
String
getProtocols
()
public
String
getReportedname
()
public
String
getRestrictedUserAgents
()
public
String
getSSLImplementation
()
public
boolean
getSecure
()
public
int
getServerSoTimeout
()
public
int
getSoLinger
()
public
int
getSoTimeout
()
public
int
getSocketBuffer
()
public
int
getSocketCloseDelay
()
public
String
getSocketFactory
()
public
boolean
getTcpNoDelay
()
public
int
getThreadPriority
()
public
int
getTimeout
()
public
void
init
()
public
void
pause
()
public
void
postDeregister
()
public
void
postRegister
(
Boolean
registrationDone)
public
void
preDeregister
()
public
ObjectName
preRegister
(
MBeanServer
server,
ObjectName
name)
public
void
resume
()
public
void
setAdapter
(
Adapter
adapter)
public
void
setAddress
(
InetAddress
ia)
public
void
setAlgorithm
(
String
k)
public
void
setAttribute
(
String
name,
Object
value)
public
void
setBacklog
(int i)
public
void
setCiphers
(
String
ciphers)
public
void
setClientauth
(
String
k)
public
void
setCompressableMimeType
(
String
valueS)
public
void
setCompression
(
String
valueS)
public
void
setCompressionMinSize
(int valueI)
public
void
setDisableUploadTimeout
(boolean isDisabled)
public
void
setKeyAlias
(
String
keyAlias)
public
void
setKeypass
(
String
k)
public
void
setKeystore
(
String
k)
public
void
setKeytype
(
String
k)
public
void
setMaxHttpHeaderSize
(int valueI)
public
void
setMaxKeepAliveRequests
(int mkar)
Set the maximum number of Keep-Alive requests that we will honor.
public
void
setMaxPostSize
(int valueI)
public
void
setMaxSpareThreads
(int maxThreads)
public
void
setMaxThreads
(int maxThreads)
public
void
setMinSpareThreads
(int minSpareThreads)
public
void
setNoCompressionUserAgents
(
String
valueS)
public
void
setPools
(boolean t)
public
void
setPort
(int port)
public
void
setProperty
(
String
name,
String
value)
Set a property.
public
void
setProtocol
(
String
k)
public
void
setProtocols
(
String
k)
public
void
setReportedname
(
String
reportedName)
public
void
setRestrictedUserAgents
(
String
valueS)
public
void
setSSLImplementation
(
String
valueS)
public
void
setSecure
(boolean b)
public
void
setServerSoTimeout
(int i)
public
void
setSoLinger
(int i)
public
void
setSoTimeout
(int i)
public
void
setSocketBuffer
(int valueI)
public
void
setSocketCloseDelay
(int d)
public
void
setSocketFactory
(
String
valueS)
public
void
setTcpNoDelay
(boolean b)
public
void
setThreadPriority
(int threadPriority)
public
void
setTimeout
(int timeouts)
public
void
start
()
Field Detail
THREAD_DATA_OBJECT_NAME
final
public
static int THREAD_DATA_OBJECT_NAME
(Code)
THREAD_DATA_PROCESSOR
final
public
static int THREAD_DATA_PROCESSOR
(Code)
attributes
protected
Hashtable
attributes
(Code)
domain
protected
String
domain
(Code)
ep
protected
PoolTcpEndpoint
ep
(Code)
log
protected
static org.apache.commons.logging.Log log
(Code)
mserver
protected
MBeanServer
mserver
(Code)
oname
protected
ObjectName
oname
(Code)
rgOname
ObjectName
rgOname
(Code)
secure
protected
boolean secure
(Code)
sm
protected
static
StringManager
sm
(Code)
The string manager for this package.
socketFactory
protected
ServerSocketFactory
socketFactory
(Code)
socketFactoryName
protected
String
socketFactoryName
(Code)
sslImplementation
protected
SSLImplementation
sslImplementation
(Code)
sslImplementationName
protected
String
sslImplementationName
(Code)
tp
protected
ThreadPool
tp
(Code)
tpOname
ObjectName
tpOname
(Code)
Constructor Detail
Http11Protocol
public
Http11Protocol()
(Code)
Method Detail
destroy
public
void destroy() throws
Exception
(Code)
getAdapter
public
Adapter
getAdapter()
(Code)
getAddress
public
InetAddress
getAddress()
(Code)
getAlgorithm
public
String
getAlgorithm()
(Code)
getAttribute
public
Object
getAttribute(
String
key)
(Code)
getBacklog
public
int getBacklog()
(Code)
getCiphers
public
String
getCiphers()
(Code)
getClientauth
public
String
getClientauth()
(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)
getKeyAlias
public
String
getKeyAlias()
(Code)
getKeypass
public
String
getKeypass()
(Code)
getKeystore
public
String
getKeystore()
(Code)
getKeytype
public
String
getKeytype()
(Code)
getMaxHttpHeaderSize
public
int getMaxHttpHeaderSize()
(Code)
getMaxKeepAliveRequests
public
int getMaxKeepAliveRequests()
(Code)
getMaxPostSize
public
int getMaxPostSize()
(Code)
getMaxSpareThreads
public
int getMaxSpareThreads()
(Code)
getMaxThreads
public
int getMaxThreads()
(Code)
getMinSpareThreads
public
int getMinSpareThreads()
(Code)
getName
public
String
getName()
(Code)
getNoCompressionUserAgents
public
String
getNoCompressionUserAgents()
(Code)
getObjectName
public
ObjectName
getObjectName()
(Code)
getPools
public
boolean getPools()
(Code)
getPort
public
int getPort()
(Code)
getProperty
public
String
getProperty(
String
name)
(Code)
Get a property
getProtocol
public
String
getProtocol()
(Code)
getProtocols
public
String
getProtocols()
(Code)
getReportedname
public
String
getReportedname()
(Code)
getRestrictedUserAgents
public
String
getRestrictedUserAgents()
(Code)
getSSLImplementation
public
String
getSSLImplementation()
(Code)
getSecure
public
boolean getSecure()
(Code)
getServerSoTimeout
public
int getServerSoTimeout()
(Code)
getSoLinger
public
int getSoLinger()
(Code)
getSoTimeout
public
int getSoTimeout()
(Code)
getSocketBuffer
public
int getSocketBuffer()
(Code)
getSocketCloseDelay
public
int getSocketCloseDelay()
(Code)
getSocketFactory
public
String
getSocketFactory()
(Code)
getTcpNoDelay
public
boolean getTcpNoDelay()
(Code)
getThreadPriority
public
int getThreadPriority()
(Code)
getTimeout
public
int getTimeout()
(Code)
init
public
void init() throws
Exception
(Code)
Start the protocol
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)
The adapter, used to call the connector
setAddress
public
void setAddress(
InetAddress
ia)
(Code)
setAlgorithm
public
void setAlgorithm(
String
k)
(Code)
setAttribute
public
void setAttribute(
String
name,
Object
value)
(Code)
Pass config info
setBacklog
public
void setBacklog(int i)
(Code)
setCiphers
public
void setCiphers(
String
ciphers)
(Code)
setClientauth
public
void setClientauth(
String
k)
(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)
setKeyAlias
public
void setKeyAlias(
String
keyAlias)
(Code)
setKeypass
public
void setKeypass(
String
k)
(Code)
setKeystore
public
void setKeystore(
String
k)
(Code)
setKeytype
public
void setKeytype(
String
k)
(Code)
setMaxHttpHeaderSize
public
void setMaxHttpHeaderSize(int valueI)
(Code)
setMaxKeepAliveRequests
public
void setMaxKeepAliveRequests(int mkar)
(Code)
Set the maximum number of Keep-Alive requests that we will honor.
setMaxPostSize
public
void setMaxPostSize(int valueI)
(Code)
setMaxSpareThreads
public
void setMaxSpareThreads(int maxThreads)
(Code)
setMaxThreads
public
void setMaxThreads(int maxThreads)
(Code)
setMinSpareThreads
public
void setMinSpareThreads(int minSpareThreads)
(Code)
setNoCompressionUserAgents
public
void setNoCompressionUserAgents(
String
valueS)
(Code)
setPools
public
void setPools(boolean t)
(Code)
setPort
public
void setPort(int port)
(Code)
setProperty
public
void setProperty(
String
name,
String
value)
(Code)
Set a property.
setProtocol
public
void setProtocol(
String
k)
(Code)
setProtocols
public
void setProtocols(
String
k)
(Code)
setReportedname
public
void setReportedname(
String
reportedName)
(Code)
setRestrictedUserAgents
public
void setRestrictedUserAgents(
String
valueS)
(Code)
setSSLImplementation
public
void setSSLImplementation(
String
valueS)
(Code)
setSecure
public
void setSecure(boolean b)
(Code)
setServerSoTimeout
public
void setServerSoTimeout(int i)
(Code)
setSoLinger
public
void setSoLinger(int i)
(Code)
setSoTimeout
public
void setSoTimeout(int i)
(Code)
setSocketBuffer
public
void setSocketBuffer(int valueI)
(Code)
setSocketCloseDelay
public
void setSocketCloseDelay(int d)
(Code)
setSocketFactory
public
void setSocketFactory(
String
valueS)
(Code)
setTcpNoDelay
public
void setTcpNoDelay(boolean b)
(Code)
setThreadPriority
public
void setThreadPriority(int threadPriority)
(Code)
setTimeout
public
void setTimeout(int timeouts)
(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.