public class HTTPIncludeServlet extends GetPostServlet
URLConnection) including its GET and POST data.getParameter(),
getInputStream() or any other method that consumes the POST
data has been called previously on the specified request-object.targetURL. (You have to include this parameter in the URL,
you cannot use the directive for this.)| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PARAM_TARGET_URL |
static java.util.regex.Pattern |
TARGET_URL_PATTEEN |
DEFAULT_CONTENT_TYPE| Constructor and Description |
|---|
HTTPIncludeServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGetPost(HttpServletRequest request,
HttpServletResponse response) |
doGet, doPostdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, logpublic static final java.lang.String PARAM_TARGET_URL
public static final java.util.regex.Pattern TARGET_URL_PATTEEN
public HTTPIncludeServlet()
protected void doGetPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
doGetPost in class GetPostServletServletExceptionjava.io.IOException