public abstract class ProxyServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BUFFER_SIZE |
| Constructor and Description |
|---|
ProxyServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getBufferSize()
Returns the size of internal buffer (in bytes) used to fetch data
|
protected abstract String |
getForwardLocation(String path)
Returns the forwarding location related to given path
|
protected void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic static final int DEFAULT_BUFFER_SIZE
protected abstract String getForwardLocation(String path)
path - path associated to forwarding locationprotected int getBufferSize()
protected final void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
service in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 2017 Agapsys Tecnologia Ltda-ME. All rights reserved.