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


java.lang.Object
   org.apache.coyote.tomcat5.CoyoteConnector

CoyoteConnector
public class CoyoteConnector implements Connector,Lifecycle,MBeanRegistration(Code)
Implementation of a Coyote connector for Tomcat 5.x.
author:
   Craig R. McClanahan
author:
   Remy Maucherat
version:
   $Revision: 1.43 $ $Date: 2004/05/27 16:09:48 $


Field Summary
protected  Containercontainer
     The Container used for processing requests received by this Connector.
 ObjectNamecontroller
    
protected  Stringdomain
    
protected  LifecycleSupportlifecycle
     The lifecycle event support for this component.
protected  intminProcessors
     The minimum number of processors to start at initialization time.
protected  MBeanServermserver
    
protected  ObjectNameoname
    


Method Summary
public  voidaddLifecycleListener(LifecycleListener listener)
     Add a lifecycle event listener to this component.
public  RequestcreateRequest()
     Create (or allocate) and return a Request object suitable for specifying the contents of a Request to the responsible Container.
public  ResponsecreateResponse()
     Create (or allocate) and return a Response object suitable for receiving the contents of a Response from the responsible Container.
public  voiddestroy()
    
public  LifecycleListener[]findLifecycleListeners()
     Get the lifecycle listeners associated with this lifecycle.
public  intgetAcceptCount()
     Return the accept count for this Connector.
public  StringgetAddress()
     Return the bind IP address for this Connector.
public  booleangetAllowTrace()
     True if the TRACE method is allowed.
public  intgetBufferSize()
     Return the input buffer size for this Connector.
public  StringgetCiphers()
    
public  StringgetClientAuth()
    
public  StringgetCompression()
     Get the value of compression.
public  intgetConnectionLinger()
     Return the connection linger for this Connector.
public  intgetConnectionTimeout()
     Return the connection timeout for this Connector.
public  intgetConnectionUploadTimeout()
     Return the connection upload timeout for this Connector.
public  ContainergetContainer()
     Return the Container used for processing requests received by this Connector.
public  ObjectNamegetController()
    
public  intgetDebug()
     Return the debugging detail level for this component.
public  booleangetDisableUploadTimeout()
     Return the flag that specifies upload time-out behavior.
public  StringgetDomain()
    
public  booleangetEnableLookups()
     Return the "enable DNS lookups" flag.
public  ServerSocketFactorygetFactory()
     Return the server socket factory used by this Container.
public  StringgetInfo()
     Return descriptive information about this Connector implementation.
public  booleangetKeepAlive()
     Return the Keep-Alive policy for the connection.
public  StringgetKeyAlias()
     Gets the alias name of the keypair and supporting certificate chain used by this Connector to authenticate itself to SSL clients.
public  StringgetKeystoreFile()
    
public  StringgetKeystorePass()
    
public  MappergetMapper()
     Return the mapper.
public  intgetMaxHttpHeaderSize()
     Return the maximum HTTP header size.
public  intgetMaxKeepAliveRequests()
     Return the maximum number of Keep-Alive requests to honor per connection.
public  intgetMaxPostSize()
     Return the maximum size of a POST which will be automatically parsed by the container.
public  intgetMaxProcessors()
     Return the maximum number of processors allowed, or <0 for unlimited.
public  intgetMinProcessors()
     Return the minimum number of processors to start at initialization.
public  ObjectNamegetObjectName()
    
public  intgetPort()
     Return the port number on which we listen for requests.
public  ObjectgetProperty(String name)
     Return a configured property.
public  StringgetProtocol()
     Return the Coyote protocol handler in use.
public  ProtocolHandlergetProtocolHandler()
     Return the protocol handler associated with the connector.
public  StringgetProtocolHandlerClassName()
     Return the class name of the Coyote protocol handler in use.
public  StringgetProxyName()
     Return the proxy server name for this Connector.
public  intgetProxyPort()
     Return the proxy server port for this Connector.
public  intgetRedirectPort()
     Return the port number to which a request should be redirected if it comes in on a non-SSL port and is subject to a security constraint with a transport guarantee that requires SSL.
public  StringgetScheme()
     Return the scheme that will be assigned to requests received through this connector.
public  booleangetSecure()
     Return the secure connection flag that will be assigned to requests received through this connector.
public  intgetServerSocketTimeout()
     Return the server socket timeout for this Connector.
public  ServicegetService()
     Return the Service with which we are associated (if any).
public  StringgetSslProtocol()
     Gets the SSL protocol variant to be used.
public  StringgetSslProtocols()
     Gets the SSL protocol variants to be enabled.
public  booleangetTcpNoDelay()
     Return the TCP no delay flag value.
public  intgetThreadPriority()
     Return the processor thread priority.
public  booleangetTomcatAuthentication()
    
public  StringgetURIEncoding()
     Return the character encoding to be used for the URI.
public  booleangetUseBodyEncodingForURI()
     Return the true if the entity body encoding should be used for the URI.
public  voidinit()
    
public  voidinitialize()
    
public  booleanisAvailable()
    
public  booleanisXpoweredBy()
     Indicates whether the generation of an X-Powered-By response header for servlet-generated responses is enabled or disabled for this Connector.
public  voidpause()
     Pause the connector.
public  voidpostDeregister()
    
public  voidpostRegister(Boolean registrationDone)
    
public  voidpreDeregister()
    
public  ObjectNamepreRegister(MBeanServer server, ObjectName name)
    
public  voidremoveLifecycleListener(LifecycleListener listener)
     Remove a lifecycle event listener from this component.
public  voidremoveProperty(String name)
     remove a configured property.
public  voidresume()
     Pause the connector.
public  voidsetAcceptCount(int count)
     Set the accept count for this Connector.
public  voidsetAddress(String address)
     Set the bind IP address for this Connector.
public  voidsetAllowTrace(boolean allowTrace)
     Set the allowTrace flag, to disable or enable the TRACE HTTP method.
public  voidsetBufferSize(int bufferSize)
     Set the input buffer size for this Connector.
public  voidsetCiphers(String ciphers)
     Sets the SSL cipher suites that are to be enabled.
public  voidsetClientAuth(String clientAuth)
    
public  voidsetCompression(String compression)
     Set the value of compression.
public  voidsetConnectionLinger(int connectionLinger)
     Set the connection linger for this Connector.
public  voidsetConnectionTimeout(int connectionTimeout)
     Set the connection timeout for this Connector.
public  voidsetConnectionUploadTimeout(int connectionUploadTimeout)
     Set the connection upload timeout for this Connector.
public  voidsetContainer(Container container)
     Set the Container used for processing requests received by this Connector.
public  voidsetController(ObjectName controller)
    
public  voidsetDebug(int debug)
     Set the debugging detail level for this component.
public  voidsetDisableUploadTimeout(boolean isDisabled)
     Set the flag to specify upload time-out behavior.
Parameters:
  isDisabled - If true, then the timeoutparameter is ignored.
public  voidsetEnableLookups(boolean enableLookups)
     Set the "enable DNS lookups" flag.
public  voidsetFactory(ServerSocketFactory factory)
     Set the server socket factory used by this Container.
public  voidsetKeepAlive(boolean keepAlive)
     Set the keep-alive policy for this connection.
public  voidsetKeyAlias(String alias)
     Sets the alias name of the keypair and supporting certificate chain used by this Connector to authenticate itself to SSL clients.
public  voidsetKeystoreFile(String keystoreFile)
    
public  voidsetKeystorePass(String keystorePass)
    
public  voidsetMaxHttpHeaderSize(int size)
     Set the maximum HTTP header size.
public  voidsetMaxKeepAliveRequests(int mkar)
     Set the maximum number of Keep-Alive requests to honor per connection.
public  voidsetMaxPostSize(int maxPostSize)
     Set the maximum size of a POST which will be automatically parsed by the container.
public  voidsetMaxProcessors(int maxProcessors)
     Set the maximum number of processors allowed, or <0 for unlimited.
public  voidsetMinProcessors(int minProcessors)
     Set the minimum number of processors to start at initialization.
public  voidsetPort(int port)
     Set the port number on which we listen for requests.
public  voidsetProperty(String name, Object value)
     Set a configured property.
public  voidsetProtocol(String protocol)
     Set the Coyote protocol which will be used by the connector.
public  voidsetProtocolHandlerClassName(String protocolHandlerClassName)
     Set the class name of the Coyote protocol handler which will be used by the connector.
public  voidsetProxyName(String proxyName)
     Set the proxy server name for this Connector.
public  voidsetProxyPort(int proxyPort)
     Set the proxy server port for this Connector.
public  voidsetRedirectPort(int redirectPort)
     Set the redirect port number.
public  voidsetScheme(String scheme)
     Set the scheme that will be assigned to requests received through this connector.
public  voidsetSecure(boolean secure)
     Set the secure connection flag that will be assigned to requests received through this connector.
public  voidsetServerSocketTimeout(int serverSocketTimeout)
     Set the server socket timeout for this Connector.
public  voidsetService(Service service)
     Set the Service with which we are associated (if any).
public  voidsetSslProtocol(String sslProtocol)
     Sets the SSL protocol variant to be used.
public  voidsetSslProtocols(String sslProtocols)
     Sets the SSL protocol variants to be enabled.
public  voidsetTcpNoDelay(boolean tcpNoDelay)
     Set the TCP no delay flag which will be set on the socket after accepting a connection.
public  voidsetThreadPriority(int threadPriority)
     Sets the processor thread priority.
public  voidsetTomcatAuthentication(boolean tomcatAuthentication)
    
public  voidsetURIEncoding(String URIEncoding)
     Set the URI encoding to be used for the URI.
public  voidsetUseBodyEncodingForURI(boolean useBodyEncodingForURI)
     Set if the entity body encoding should be used for the URI.
public  voidsetXpoweredBy(boolean xpoweredBy)
     Enables or disables the generation of an X-Powered-By header (with value Servlet/2.4) for all servlet-generated responses returned by this Connector.
public  voidstart()
     Begin processing requests via this Connector.
public  voidstop()
     Terminate processing requests via this Connector.

Field Detail
container
protected Container container(Code)
The Container used for processing requests received by this Connector.



controller
ObjectName controller(Code)



domain
protected String domain(Code)



lifecycle
protected LifecycleSupport lifecycle(Code)
The lifecycle event support for this component.



minProcessors
protected int minProcessors(Code)
The minimum number of processors to start at initialization time.



mserver
protected MBeanServer mserver(Code)



oname
protected ObjectName oname(Code)





Method Detail
addLifecycleListener
public void addLifecycleListener(LifecycleListener listener)(Code)
Add a lifecycle event listener to this component.
Parameters:
  listener - The listener to add



createRequest
public Request createRequest()(Code)
Create (or allocate) and return a Request object suitable for specifying the contents of a Request to the responsible Container.



createResponse
public Response createResponse()(Code)
Create (or allocate) and return a Response object suitable for receiving the contents of a Response from the responsible Container.



destroy
public void destroy() throws Exception(Code)



findLifecycleListeners
public LifecycleListener[] findLifecycleListeners()(Code)
Get the lifecycle listeners associated with this lifecycle. If this Lifecycle has no listeners registered, a zero-length array is returned.



getAcceptCount
public int getAcceptCount()(Code)
Return the accept count for this Connector.



getAddress
public String getAddress()(Code)
Return the bind IP address for this Connector.



getAllowTrace
public boolean getAllowTrace()(Code)
True if the TRACE method is allowed. Default value is "false".



getBufferSize
public int getBufferSize()(Code)
Return the input buffer size for this Connector.



getCiphers
public String getCiphers()(Code)
Gets the list of SSL cipher suites that are to be enabled Comma-separated list of SSL cipher suites, or null if allcipher suites supported by the underlying SSL implementation are beingenabled



getClientAuth
public String getClientAuth()(Code)



getCompression
public String getCompression()(Code)
Get the value of compression.



getConnectionLinger
public int getConnectionLinger()(Code)
Return the connection linger for this Connector.



getConnectionTimeout
public int getConnectionTimeout()(Code)
Return the connection timeout for this Connector.



getConnectionUploadTimeout
public int getConnectionUploadTimeout()(Code)
Return the connection upload timeout for this Connector.



getContainer
public Container getContainer()(Code)
Return the Container used for processing requests received by this Connector.



getController
public ObjectName getController()(Code)



getDebug
public int getDebug()(Code)
Return the debugging detail level for this component.



getDisableUploadTimeout
public boolean getDisableUploadTimeout()(Code)
Return the flag that specifies upload time-out behavior.



getDomain
public String getDomain()(Code)



getEnableLookups
public boolean getEnableLookups()(Code)
Return the "enable DNS lookups" flag.



getFactory
public ServerSocketFactory getFactory()(Code)
Return the server socket factory used by this Container.



getInfo
public String getInfo()(Code)
Return descriptive information about this Connector implementation.



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



getKeyAlias
public String getKeyAlias()(Code)
Gets the alias name of the keypair and supporting certificate chain used by this Connector to authenticate itself to SSL clients. The alias name of the keypair and supporting certificate chain



getKeystoreFile
public String getKeystoreFile()(Code)



getKeystorePass
public String getKeystorePass()(Code)
Return keystorePass



getMapper
public Mapper getMapper()(Code)
Return the mapper.



getMaxHttpHeaderSize
public int getMaxHttpHeaderSize()(Code)
Return the maximum HTTP header size.



getMaxKeepAliveRequests
public int getMaxKeepAliveRequests()(Code)
Return the maximum number of Keep-Alive requests to honor per connection.



getMaxPostSize
public int getMaxPostSize()(Code)
Return the maximum size of a POST which will be automatically parsed by the container.



getMaxProcessors
public int getMaxProcessors()(Code)
Return the maximum number of processors allowed, or <0 for unlimited.



getMinProcessors
public int getMinProcessors()(Code)
Return the minimum number of processors to start at initialization.



getObjectName
public ObjectName getObjectName()(Code)



getPort
public int getPort()(Code)
Return the port number on which we listen for requests.



getProperty
public Object getProperty(String name)(Code)
Return a configured property.



getProtocol
public String getProtocol()(Code)
Return the Coyote protocol handler in use.



getProtocolHandler
public ProtocolHandler getProtocolHandler()(Code)
Return the protocol handler associated with the connector.



getProtocolHandlerClassName
public String getProtocolHandlerClassName()(Code)
Return the class name of the Coyote protocol handler in use.



getProxyName
public String getProxyName()(Code)
Return the proxy server name for this Connector.



getProxyPort
public int getProxyPort()(Code)
Return the proxy server port for this Connector.



getRedirectPort
public int getRedirectPort()(Code)
Return the port number to which a request should be redirected if it comes in on a non-SSL port and is subject to a security constraint with a transport guarantee that requires SSL.



getScheme
public String getScheme()(Code)
Return the scheme that will be assigned to requests received through this connector. Default value is "http".



getSecure
public boolean getSecure()(Code)
Return the secure connection flag that will be assigned to requests received through this connector. Default value is "false".



getServerSocketTimeout
public int getServerSocketTimeout()(Code)
Return the server socket timeout for this Connector.



getService
public Service getService()(Code)
Return the Service with which we are associated (if any).



getSslProtocol
public String getSslProtocol()(Code)
Gets the SSL protocol variant to be used. SSL protocol variant



getSslProtocols
public String getSslProtocols()(Code)
Gets the SSL protocol variants to be enabled. Comma-separated list of SSL protocol variants



getTcpNoDelay
public boolean getTcpNoDelay()(Code)
Return the TCP no delay flag value.



getThreadPriority
public int getThreadPriority()(Code)
Return the processor thread priority. int



getTomcatAuthentication
public boolean getTomcatAuthentication()(Code)



getURIEncoding
public String getURIEncoding()(Code)
Return the character encoding to be used for the URI.



getUseBodyEncodingForURI
public boolean getUseBodyEncodingForURI()(Code)
Return the true if the entity body encoding should be used for the URI.



init
public void init() throws Exception(Code)



initialize
public void initialize() throws LifecycleException(Code)
Initialize this connector (create ServerSocket here!)



isAvailable
public boolean isAvailable()(Code)
Is this connector available for processing requests?



isXpoweredBy
public boolean isXpoweredBy()(Code)
Indicates whether the generation of an X-Powered-By response header for servlet-generated responses is enabled or disabled for this Connector. true if generation of X-Powered-By response header is enabled,false otherwise



pause
public void pause() throws LifecycleException(Code)
Pause the connector.



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)



removeLifecycleListener
public void removeLifecycleListener(LifecycleListener listener)(Code)
Remove a lifecycle event listener from this component.
Parameters:
  listener - The listener to add



removeProperty
public void removeProperty(String name)(Code)
remove a configured property.



resume
public void resume() throws LifecycleException(Code)
Pause the connector.



setAcceptCount
public void setAcceptCount(int count)(Code)
Set the accept count for this Connector.
Parameters:
  count - The new accept count



setAddress
public void setAddress(String address)(Code)
Set the bind IP address for this Connector.
Parameters:
  address - The bind IP address



setAllowTrace
public void setAllowTrace(boolean allowTrace)(Code)
Set the allowTrace flag, to disable or enable the TRACE HTTP method.
Parameters:
  allowTrace - The new allowTrace flag



setBufferSize
public void setBufferSize(int bufferSize)(Code)
Set the input buffer size for this Connector.
Parameters:
  bufferSize - The new input buffer size.



setCiphers
public void setCiphers(String ciphers)(Code)
Sets the SSL cipher suites that are to be enabled. Only those SSL cipher suites that are actually supported by the underlying SSL implementation will be enabled.
Parameters:
  ciphers - Comma-separated list of SSL cipher suites



setClientAuth
public void setClientAuth(String clientAuth)(Code)



setCompression
public void setCompression(String compression)(Code)
Set the value of compression.
Parameters:
  compression - The new compression value, which can be "on", "off"or "force"



setConnectionLinger
public void setConnectionLinger(int connectionLinger)(Code)
Set the connection linger for this Connector.
Parameters:
  count - The new connection linge



setConnectionTimeout
public void setConnectionTimeout(int connectionTimeout)(Code)
Set the connection timeout for this Connector.
Parameters:
  count - The new connection timeout



setConnectionUploadTimeout
public void setConnectionUploadTimeout(int connectionUploadTimeout)(Code)
Set the connection upload timeout for this Connector.
Parameters:
  connectionUploadTimeout - The new connection upload timeout



setContainer
public void setContainer(Container container)(Code)
Set the Container used for processing requests received by this Connector.
Parameters:
  container - The new Container to use



setController
public void setController(ObjectName controller)(Code)



setDebug
public void setDebug(int debug)(Code)
Set the debugging detail level for this component.
Parameters:
  debug - The new debugging detail level



setDisableUploadTimeout
public void setDisableUploadTimeout(boolean isDisabled)(Code)
Set the flag to specify upload time-out behavior.
Parameters:
  isDisabled - If true, then the timeoutparameter is ignored. If false, then thetimeout parameter is used to control uploads.



setEnableLookups
public void setEnableLookups(boolean enableLookups)(Code)
Set the "enable DNS lookups" flag.
Parameters:
  enableLookups - The new "enable DNS lookups" flag value



setFactory
public void setFactory(ServerSocketFactory factory)(Code)
Set the server socket factory used by this Container.
Parameters:
  factory - The new server socket factory



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



setKeyAlias
public void setKeyAlias(String alias)(Code)
Sets the alias name of the keypair and supporting certificate chain used by this Connector to authenticate itself to SSL clients.
Parameters:
  alias - The alias name of the keypair and supporting certificatechain



setKeystoreFile
public void setKeystoreFile(String keystoreFile)(Code)



setKeystorePass
public void setKeystorePass(String keystorePass)(Code)
Set keystorePass



setMaxHttpHeaderSize
public void setMaxHttpHeaderSize(int size)(Code)
Set the maximum HTTP header size.



setMaxKeepAliveRequests
public void setMaxKeepAliveRequests(int mkar)(Code)
Set the maximum number of Keep-Alive requests to honor per connection.



setMaxPostSize
public void setMaxPostSize(int maxPostSize)(Code)
Set the maximum size of a POST which will be automatically parsed by the container.
Parameters:
  maxPostSize - The new maximum size in bytes of a POST which will be automatically parsed by the container



setMaxProcessors
public void setMaxProcessors(int maxProcessors)(Code)
Set the maximum number of processors allowed, or <0 for unlimited.
Parameters:
  maxProcessors - The new maximum processors



setMinProcessors
public void setMinProcessors(int minProcessors)(Code)
Set the minimum number of processors to start at initialization.
Parameters:
  minProcessors - The new minimum processors



setPort
public void setPort(int port)(Code)
Set the port number on which we listen for requests.
Parameters:
  port - The new port number



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



setProtocol
public void setProtocol(String protocol)(Code)
Set the Coyote protocol which will be used by the connector.
Parameters:
  protocol - The Coyote protocol name



setProtocolHandlerClassName
public void setProtocolHandlerClassName(String protocolHandlerClassName)(Code)
Set the class name of the Coyote protocol handler which will be used by the connector.
Parameters:
  protocolHandlerClassName - The new class name



setProxyName
public void setProxyName(String proxyName)(Code)
Set the proxy server name for this Connector.
Parameters:
  proxyName - The new proxy server name



setProxyPort
public void setProxyPort(int proxyPort)(Code)
Set the proxy server port for this Connector.
Parameters:
  proxyPort - The new proxy server port



setRedirectPort
public void setRedirectPort(int redirectPort)(Code)
Set the redirect port number.
Parameters:
  redirectPort - The redirect port number (non-SSL to SSL)



setScheme
public void setScheme(String scheme)(Code)
Set the scheme that will be assigned to requests received through this connector.
Parameters:
  scheme - The new scheme



setSecure
public void setSecure(boolean secure)(Code)
Set the secure connection flag that will be assigned to requests received through this connector.
Parameters:
  secure - The new secure connection flag



setServerSocketTimeout
public void setServerSocketTimeout(int serverSocketTimeout)(Code)
Set the server socket timeout for this Connector.
Parameters:
  connectionUploadTimeout - The new server socket timeout



setService
public void setService(Service service)(Code)
Set the Service with which we are associated (if any).
Parameters:
  service - The service that owns this Engine



setSslProtocol
public void setSslProtocol(String sslProtocol)(Code)
Sets the SSL protocol variant to be used.
Parameters:
  sslProtocol - SSL protocol variant



setSslProtocols
public void setSslProtocols(String sslProtocols)(Code)
Sets the SSL protocol variants to be enabled.
Parameters:
  sslProtocols - Comma-separated list of SSL protocol variants



setTcpNoDelay
public void setTcpNoDelay(boolean tcpNoDelay)(Code)
Set the TCP no delay flag which will be set on the socket after accepting a connection.
Parameters:
  tcpNoDelay - The new TCP no delay flag



setThreadPriority
public void setThreadPriority(int threadPriority)(Code)
Sets the processor thread priority.
Parameters:
  threadPriority - The new priority level



setTomcatAuthentication
public void setTomcatAuthentication(boolean tomcatAuthentication)(Code)



setURIEncoding
public void setURIEncoding(String URIEncoding)(Code)
Set the URI encoding to be used for the URI.
Parameters:
  URIEncoding - The new URI character encoding.



setUseBodyEncodingForURI
public void setUseBodyEncodingForURI(boolean useBodyEncodingForURI)(Code)
Set if the entity body encoding should be used for the URI.
Parameters:
  useBodyEncodingForURI - The new value for the flag.



setXpoweredBy
public void setXpoweredBy(boolean xpoweredBy)(Code)
Enables or disables the generation of an X-Powered-By header (with value Servlet/2.4) for all servlet-generated responses returned by this Connector.
Parameters:
  xpoweredBy - true if generation of X-Powered-By response header isto be enabled, false otherwise



start
public void start() throws LifecycleException(Code)
Begin processing requests via this Connector.
exception:
  LifecycleException - if a fatal startup error occurs



stop
public void stop() throws LifecycleException(Code)
Terminate processing requests via this Connector.
exception:
  LifecycleException - if a fatal shutdown error occurs



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.