question: public HttpRequest ( Method method , HttpURI uri , boolean async ) { this . id = nextId ++ ; if ( uri == null ) { LOG . severe ( "HTTP request URL is null" ) ; throw new IllegalArgumentException ( "HTTP request URL is null" ) ; } if ( method == null ) { LOG . severe ( "Invalid Method in an HTTP request" ) ; throw new IllegalArgumentException ( "Invalid Method in an HTTP request" ) ; } this . method = method ; this . uri = uri ; this . async = async ; }
target:  Creates an HttpRequest with method and uri specified. Async true means fire progress events as data is received. 