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, toString
public void setGroup(java.lang.String name)
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