Class ResourceDeliveryServlet

  • All Implemented Interfaces:
    jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable, net.anotheria.moskito.core.producers.IStatsProducer

    public class ResourceDeliveryServlet
    extends net.anotheria.moskito.web.MoskitoHttpServlet
    Servlet for delivering static resources.
    Author:
    Alexandr Bolbat
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static TimeZone GMT_ZONE
      GMT time zone - all HTTP dates are on GMT.
      static Locale LOCALE_US
      US locale - all HTTP dates are in English.
      static String RFC1123_PATTERN
      Format for RFC 1123 date string.
      • Fields inherited from class jakarta.servlet.http.HttpServlet

        LEGACY_DO_HEAD
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void moskitoDoGet​(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)  
      • Methods inherited from class net.anotheria.moskito.web.MoskitoHttpServlet

        doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getCategory, getLastModified, getMonitoringIntervals, getProducerId, getStats, getSubsystem, init, moskitoDoDelete, moskitoDoHead, moskitoDoOptions, moskitoDoPost, moskitoDoPut, moskitoDoTrace, moskitoGetLastModified, useShortStatList
      • Methods inherited from class jakarta.servlet.http.HttpServlet

        service, service
      • Methods inherited from class jakarta.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
    • Field Detail

      • LOCALE_US

        public static final Locale LOCALE_US
        US locale - all HTTP dates are in English.
      • GMT_ZONE

        public static final TimeZone GMT_ZONE
        GMT time zone - all HTTP dates are on GMT.
    • Constructor Detail

      • ResourceDeliveryServlet

        public ResourceDeliveryServlet()
    • Method Detail

      • moskitoDoGet

        protected void moskitoDoGet​(jakarta.servlet.http.HttpServletRequest req,
                                    jakarta.servlet.http.HttpServletResponse res)
                             throws jakarta.servlet.ServletException,
                                    IOException
        Overrides:
        moskitoDoGet in class net.anotheria.moskito.web.MoskitoHttpServlet
        Throws:
        jakarta.servlet.ServletException
        IOException