Class ResourceServlet

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class ResourceServlet
    extends javax.servlet.http.HttpServlet
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceServlet()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class javax.servlet.http.HttpServlet

        doDelete, doHead, doOptions, doPost, doPut, doTrace, service, service
      • Methods inherited from class javax.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResourceServlet

        public ResourceServlet()
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig config)
                  throws javax.servlet.ServletException
        Specified by:
        init in interface javax.servlet.Servlet
        Overrides:
        init in class javax.servlet.GenericServlet
        Throws:
        javax.servlet.ServletException
      • getLastModified

        public long getLastModified​(javax.servlet.http.HttpServletRequest request)
        Overrides:
        getLastModified in class javax.servlet.http.HttpServlet
      • doGet

        public void doGet​(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response)
                   throws java.io.IOException
        Overrides:
        doGet in class javax.servlet.http.HttpServlet
        Throws:
        java.io.IOException
      • doGet

        public void doGet​(HttpServletRequestWrapper request,
                          HttpServletResponseWrapper response,
                          long receivedRequestMillis)
                   throws java.io.IOException
        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.
        Throws:
        java.io.IOException
      • parseSearchParameters

        protected static java.lang.String[] parseSearchParameters​(java.lang.String queryString)