Added ServletFunction.java for customizing functions on post/get