public void service( HttpServletRequest req, HttpServletResponse resp ) { if ( req.getMethod().Equals("GET") ) { doGet(req, resp); } else if ( req.getMethod().Equals("POST") ) { doPost(req, resp); } }
public override string getMethod() { return(_request.getMethod()); }
public override string GetHttpVerbName() { return(_HttpServletRequest.getMethod()); }