|
||||||||||
| 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 |
destroy()
Called when the servlet (and the application) shuts down. |
void |
init()
Initialize the servlet with the server's sruns. |
void |
service(ServletRequest request,
ServletResponse response)
Handle the request. |
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 hostAddress)
Sets the host 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 setServerAddress(java.lang.String hostAddress)
throws ServletException
ServletExceptionpublic void setMaxKeepalive(int max)
public void setKeepaliveTimeout(Period period)
public void setReadTimeout(Period timeout)
public void init()
throws ServletException
init in class GenericServletServletException
public void service(ServletRequest request,
ServletResponse response)
throws ServletException,
java.io.IOException
request - request information. Normally servlets will cast this
to HttpServletRequestresponse - response information. Normally servlets will cast this
to HttpServletRequest
ServletException
java.io.IOExceptionpublic void destroy()
GenericServlet
destroy in interface Servletdestroy in class GenericServlet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||