question: public HttpRequest ( final CharSequence url , final String method ) throws HttpRequestException { try { this . url = new URL ( url . toString ( ) ) ; } catch ( MalformedURLException e ) { throw new HttpRequestException ( e ) ; } this . requestMethod = method ; setXsrToken ( ) ; }
target:  Create HTTP connection wrapper