public class FastCGIServlet extends GenericServlet
<servlet-mapping url-pattern='/remote/*'> <servlet-name>com.caucho.server.http.FastCGIServlet</servlet-name> <init-param server-address='localhost:8086'/> </servlet-mapping>
Modifier and Type | Field and Description |
---|---|
protected QDate |
_calendar |
protected static java.util.logging.Logger |
log |
Constructor and Description |
---|
FastCGIServlet() |
Modifier and Type | Method and Description |
---|---|
void |
addAddress(java.lang.String address)
Sets the host address.
|
void |
destroy()
Called when the servlet (and the application) shuts down.
|
void |
init()
Initialize the servlet with the server's sruns.
|
void |
init(WebApp webApp)
Initialize the servlet with the server's sruns.
|
void |
service(ServletRequest request,
ServletResponse response)
Handle the request.
|
void |
setFailRecoverTime(Period period)
Sets the fail recover time.
|
void |
setKeepaliveTimeout(Period period)
Sets the keepalive timeout.
|
void |
setMaxKeepalive(int max)
Sets the keepalive max.
|
void |
setReadTimeout(Period timeout)
Sets the socket timeout.
|
void |
setServerAddress(java.lang.String address) |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toString
protected static final java.util.logging.Logger log
protected QDate _calendar
public void addAddress(java.lang.String address)
public void setServerAddress(java.lang.String address)
public void setFailRecoverTime(Period period)
public void setMaxKeepalive(int max)
public void setKeepaliveTimeout(Period period)
public void setReadTimeout(Period timeout)
public void init(WebApp webApp) throws ServletException
ServletException
public void init() throws ServletException
init
in class GenericServlet
ServletException
public void service(ServletRequest request, ServletResponse response) throws ServletException, java.io.IOException
request
- request information. Normally servlets will cast this
to HttpServletRequest
response
- response information. Normally servlets will cast this
to HttpServletRequest
ServletException
java.io.IOException
public void destroy()
GenericServlet
destroy
in interface Servlet
destroy
in class GenericServlet