
public class HttpTunnelingServlet
extends javax.servlet.http.HttpServlet
HttpServlet that proxies an incoming data to the actual server
and vice versa. Please refer to the
package summary for
the detailed usage.| Constructor and Description |
|---|
HttpTunnelingServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected ChannelFactory |
createChannelFactory(SocketAddress remoteAddress) |
void |
destroy() |
protected void |
destroyChannelFactory(ChannelFactory factory) |
void |
init() |
protected SocketAddress |
parseEndpoint(String endpoint) |
protected void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected SocketAddress parseEndpoint(String endpoint) throws Exception
Exceptionprotected ChannelFactory createChannelFactory(SocketAddress remoteAddress) throws Exception
Exceptionpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletprotected void destroyChannelFactory(ChannelFactory factory) throws Exception
Exceptionprotected void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
service in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 2008-2013 JBoss, by Red Hat. All Rights Reserved.