b8ec5ba9fd2db0c83f1e0dcf57f9702cae2650fd
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method private execute(client CloseableHttpAsyncClient, req HttpRequestBase, callback Callback<byte[]>, fullResponse boolean) : Future<byte[]> from class org.rapidoid.http.HttpClient to package request(config HttpClient, client CloseableHttpAsyncClient, callback Callback<byte[]>, close boolean) : Future<byte[]> from class org.rapidoid.http.HttpClientUtil | From | To | |
Move And Inline Method | 2 | ||
Move And Inline Method public reset() : void moved from class org.rapidoid.http.HttpClient to class org.rapidoid.http.HttpSessionTest & inlined to public testHttpSession() : void | From | To | |
Move And Inline Method public reset() : void moved from class org.rapidoid.http.HttpClient to class org.rapidoid.http.HttpCookiepackTest & inlined to public testHttpCookiepack() : void | From | To | |
Move Method | 2 | ||
Move Method private callback(callback Callback<byte[]>, promise Callback<byte[]>, fullResponse boolean) : FutureCallback<HttpResponse> from class org.rapidoid.http.HttpClient to private callback(client CloseableHttpAsyncClient, callback Callback<byte[]>, promise Callback<byte[]>, fullResponse boolean, close boolean) : FutureCallback<HttpResponse> from class org.rapidoid.http.HttpClientUtil | From | To | |
Move Method protected responseToBytes(response HttpResponse) : byte[] from class org.rapidoid.http.HttpClient to package responseToBytes(response HttpResponse) : byte[] from class org.rapidoid.http.HttpClientUtil | From | To | |
Move Source Folder | 1 | ||
Move Source Folder rapidoid-http-fast to rapidoid-commons | From | To | |
Change Return Type | 8 | ||
Change Return Type byte[] to HttpClient in method public post(url String) : HttpClient in class org.rapidoid.http.HTTP | From | To | |
Change Return Type byte[] to HttpClient in method public get(url String) : HttpClient in class org.rapidoid.http.HTTP | From | To | |
Change Return Type byte[] to HttpClient in method public head(url String) : HttpClient in class org.rapidoid.http.HTTP | From | To | |
Change Return Type byte[] to HttpClient in method public delete(url String) : HttpClient in class org.rapidoid.http.HTTP | From | To | |
Change Return Type byte[] to HttpClient in method public options(url String) : HttpClient in class org.rapidoid.http.HTTP | From | To | |
Change Return Type byte[] to HttpClient in method public put(url String) : HttpClient in class org.rapidoid.http.HTTP | From | To | |
Change Return Type byte[] to HttpClient in method public trace(url String) : HttpClient in class org.rapidoid.http.HTTP | From | To | |
Change Return Type byte[] to HttpClient in method public patch(url String) : HttpClient in class org.rapidoid.http.HTTP | From | To | |
Move Attribute | 1 | ||
Move Attribute private NO_REDIRECTS : RedirectStrategy from class org.rapidoid.http.HttpClient to private NO_REDIRECTS : RedirectStrategy from class org.rapidoid.http.HttpClientUtil | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public fetch() : String extracted from protected get(uri String) : String in class org.rapidoid.http.HttpTestCommons & moved to class org.rapidoid.http.HttpClient | From | To | |
Extract And Move Method public verb() : HttpVerb extracted from protected defaultServerSetup() : void in class org.rapidoid.http.HttpTestCommons & moved to class org.rapidoid.http.HttpClient | From | To | |
Rename Parameter | 9 | ||
Rename Parameter uri : String to url : String in method public post(url String) : HttpClient in class org.rapidoid.http.HTTP | From | To | |
Rename Parameter uri : String to url : String in method public head(url String) : HttpClient in class org.rapidoid.http.HTTP | From | To | |
Rename Parameter uri : String to url : String in method public get(url String) : HttpClient in class org.rapidoid.http.HTTP | From | To | |
Rename Parameter uri : String to url : String in method public trace(url String) : HttpClient in class org.rapidoid.http.HTTP | From | To | |
Rename Parameter uri : String to url : String in method public options(url String) : HttpClient in class org.rapidoid.http.HTTP | From | To | |
Rename Parameter uri : String to url : String in method public patch(url String) : HttpClient in class org.rapidoid.http.HTTP | From | To | |
Rename Parameter uri : String to url : String in method public put(url String) : HttpClient in class org.rapidoid.http.HTTP | From | To | |
Rename Parameter uri : String to url : String in method public delete(url String) : HttpClient in class org.rapidoid.http.HTTP | From | To | |
Rename Parameter fullResponse : boolean to close : boolean in method package request(config HttpClient, client CloseableHttpAsyncClient, callback Callback<byte[]>, close boolean) : Future<byte[]> in class org.rapidoid.http.HttpClientUtil | From | To |