question: @ Override protected void doPut ( HttpServletRequest request , HttpServletResponse response ) throws ServletException , IOException { String command = request . getServletPath ( ) ; if ( command . equals ( "/deploy" ) ) { String contextPath = request . getParameter ( "path" ) ; deployArchive ( request , response , contextPath ) ; } else { sendError ( response , "Command " + command + " is not recognized with PUT" ) ; } }
target:  Performs the http PUT method.