public class ResourceServlet
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
ResourceServlet() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
doGet(HttpServletRequestWrapper request,
HttpServletResponseWrapper response) |
void |
doGet(HttpServletRequestWrapper request,
HttpServletResponseWrapper response,
long receivedRequestMillis)
Handles the HTTP GET request in the wrapped
request by
writing an HTTP GET response to the likewise response ,
both of which are wrapped to facilitate testing. |
long |
getLastModified(javax.servlet.http.HttpServletRequest request) |
void |
init(javax.servlet.ServletConfig config) |
protected static java.lang.String[] |
parseSearchParameters(java.lang.String queryString) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, service, service
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public long getLastModified(javax.servlet.http.HttpServletRequest request)
getLastModified
in class javax.servlet.http.HttpServlet
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
java.io.IOException
public void doGet(HttpServletRequestWrapper request, HttpServletResponseWrapper response) throws java.io.IOException
java.io.IOException
public void doGet(HttpServletRequestWrapper request, HttpServletResponseWrapper response, long receivedRequestMillis) throws java.io.IOException
request
by
writing an HTTP GET response to the likewise response
,
both of which are wrapped to facilitate testing.java.io.IOException
protected static java.lang.String[] parseSearchParameters(java.lang.String queryString)