public class HttpMessageProxyServlet extends GenericServlet
<servlet> <servlet-name>http-proxy</servlet-name> <servlet-class>com.caucho.servlets.HttpProxyServlet</servlet-class> <init host='localhost:8081'/> </servlet>
| Constructor and Description |
|---|
HttpMessageProxyServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Initialize the servlet.
|
void |
service(ServletRequest request,
ServletResponse response)
Handle the request.
|
void |
setGroup(java.lang.String name)
Sets the proxy group
|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toStringpublic void setGroup(java.lang.String name)
public void init()
throws ServletException
init in class GenericServletServletExceptionpublic 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 HttpServletRequestServletExceptionjava.io.IOException