private void handleHttpRequest ( final HttpServerRequest request ) { if ( debug ) { setupMetrics ( request ) ; logger . debug ( "HttpServerVertx::handleHttpRequest::{}:{}" , request . method ( ) , request . uri ( ) ) ; } switch ( request . method ( ) . toString ( ) ) { case "PUT" : case "POST" : case "OPTIONS" : case "TRACE" : case "DELETE" : case "CONNECT" : handleRequestWithBody ( request ) ; break ; case "HEAD" : case "GET" : handleRequestWithNoBody ( request ) ; break ; default : throw new IllegalStateException ( "method not supported yet " + request . method ( ) ) ; } }
Handle a vertx request by converting it into a QBit request .