question: @ Override protected void doGet ( HttpServletRequest request , HttpServletResponse response ) throws ServletException , IOException { String contextPath = request . getParameter ( "path" ) ; String warURL = request . getParameter ( "war" ) ; String command = request . getServletPath ( ) ; if ( command . equals ( "/deploy" ) ) { deploy ( response , contextPath , warURL ) ; } else if ( command . equals ( "/undeploy" ) ) { undeploy ( response , contextPath ) ; } else { response . sendError ( 400 , "Command " + command + " is unknown" ) ; } }
target:  Performs the http GET method.