This is the proposed default implementation in servlet specification.If for some reasons you need to handle these methods separately youcan override them.