getProxyName() Return the proxy server name for this Connector.
public int
getProxyPort() Return the proxy server port for this Connector.
public int
getRedirectPort() 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.
getURIEncoding() Return the character encoding to be used for the URI.
public boolean
getUseBodyEncodingForURI() Return the true if the entity body encoding should be used for the URI.
public boolean
getUseIPVHosts() Test if IP-based virtual hosting is enabled.
public boolean
getXpoweredBy() Indicates whether the generation of an X-Powered-By response header for
servlet-generated responses is enabled or disabled for this Connector.
setUseBodyEncodingForURI(boolean useBodyEncodingForURI) Set if the entity body encoding should be used for the URI.
public void
setUseIPVHosts(boolean useIPVHosts) Enable the use of IP-based virtual hosting.
public void
setXpoweredBy(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 void
start() Begin processing requests via this Connector.
public void
stop() Terminate processing requests via this Connector.
The server name to which we should pretend requests to this Connector
were directed. This is useful when operating Tomcat behind a proxy
server, so that redirects get constructed accurately. If not specified,
the server name included in the Host header is used.
The server port to which we should pretent requests to this Connector
were directed. This is useful when operating Tomcat behind a proxy
server, so that redirects get constructed accurately. If not specified,
the port number specified by the port property is used.
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.
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
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 willbe automatically parsed by the container
setMaxSavePostSize
public void setMaxSavePostSize(int maxSavePostSize)(Code)
Set the maximum size of a POST which will be saved by the container
during authentication.
Parameters: maxSavePostSize - The new maximum size in bytes of a POST which willbe saved by the container during authentication.
Set the Service with which we are associated (if any).
Parameters: service - The service that owns this Engine
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.
setUseIPVHosts
public void setUseIPVHosts(boolean useIPVHosts)(Code)
Enable the use of IP-based virtual hosting.
Parameters: useIPVHosts - true if Hosts are identified by IP,false/code> if Hosts are identified by name.
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