HTTP Connector : Attributes
The HTTP Connector is a connector component supporing HTTP/1.1 protocol. It also enables catalina which functions as web server and also executes servlets and JSP pages. It listens to TCP ports on the server. It can alos be configured as single service which forward it to Engine to perform request process and create response. In case of connections to web servers through AJP protocol, it is used as follows :
Connector will create request numbers that process threads. Each incoming request will need a thread for dutation of request. In case more request are sent, it can be handlged by more threads and additional threads will be created to the maximum configuration.
All Connector support the following :
allowTrace : It can disable or enable TRACE HTTP. It is not specified, attribute is set to false.
emptySessionPath : If set to True, paths for session is set to /. This is basically used for portlet specifications. It is not specified, attribute is set to false.
enableLookups : If set to True, in case of request.getRemoteHost() to check DNS lookups in order check hostname of remote client. DNS lookup is enabled as default.
maxPostSize : Maximum POST Size in bytes and is handles by container FORM URL parameter parsing.
maxSavePostSize : Maximum POST size which is saved by a container.
protocol : Attribute Value - HTTP/1.1 which is used by HTTP handler and is default.
proxyName : Configure attribute to the server name in order for calls to request.getServerName()
proxyPort : Proxy Port Configuration
redirectPort : In case of non-SSL request, Catalina redirects request to port number.
scheme : Attribute to name of protocol by cales to request.getScheme()
secure : If set to true, calls to request.isSecure() to return true for request received by Connector. As default, it is false.
URIEncoding : Character encoding which is users to decode URI bytes.
useBodyEncodingForURI : It specifies if encoding in contenType used for URI query parameters. Default value is false.
useIPVHosts : Attribute uses IP address that are received. The default is false.
xpoweredBy : Advertise support for Servlet using header recommended. The default is false.
|