Class DefaultServlet.Range

  • Enclosing class:
    DefaultServlet

    protected static class DefaultServlet.Range
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      long end  
      long length  
      long start  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Range()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean validate()
      Validate range.
      • Methods inherited from class java.lang.Object

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

      • start

        public long start
      • end

        public long end
      • length

        public long length
    • Constructor Detail

      • Range

        protected Range()
    • Method Detail

      • validate

        public boolean validate()
        Validate range.
        Returns:
        true if the range is valid, otherwise false