made two methods private in ServletBase