|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
com.caucho.servlets.FastCGIServlet
public class FastCGIServlet
Load balancing.
<servlet-mapping url-pattern='/remote/*'> <servlet-name>com.caucho.server.http.FastCGIServlet</servlet-name> <init-param server-address='localhost:8086'/> </servlet-mapping>
Field Summary | |
---|---|
protected QDate |
_calendar
|
protected static java.util.logging.Logger |
log
|
Constructor Summary | |
---|---|
FastCGIServlet()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class javax.servlet.GenericServlet |
---|
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final java.util.logging.Logger log
protected QDate _calendar
Constructor Detail |
---|
public FastCGIServlet()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |