org.apache.pivot.web.server
Class ProxyServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.pivot.web.server.ProxyServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class ProxyServlet
- extends HttpServlet
HTTP proxy that allows an unsigned applet to issue web queries to services
outside of its origin server.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
METHOD_GET
public static final String METHOD_GET
- See Also:
- Constant Field Values
METHOD_POST
public static final String METHOD_POST
- See Also:
- Constant Field Values
METHOD_PUT
public static final String METHOD_PUT
- See Also:
- Constant Field Values
METHOD_DELETE
public static final String METHOD_DELETE
- See Also:
- Constant Field Values
HOSTNAME_PARAM
public static final String HOSTNAME_PARAM
- See Also:
- Constant Field Values
PORT_PARAM
public static final String PORT_PARAM
- See Also:
- Constant Field Values
PATH_PARAM
public static final String PATH_PARAM
- See Also:
- Constant Field Values
BUFFER_SIZE
public static final int BUFFER_SIZE
- See Also:
- Constant Field Values
ProxyServlet
public ProxyServlet()
init
public void init(ServletConfig config)
throws ServletException
- Specified by:
init
in interface Servlet
- Overrides:
init
in class GenericServlet
- Throws:
ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface Servlet
- Overrides:
destroy
in class GenericServlet
service
protected void service(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
- Overrides:
service
in class HttpServlet
- Throws:
IOException
ServletException