c7796888ce86415047a984356e102a422c858582
Files Diff
- Added: 14
- Removed: 6
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public writeSerializedJson(ctx Channel, isKeepAlive boolean, value Object) : void renamed to public writeAsJson(ctx Channel, isKeepAlive boolean, value Object) : void in class org.rapidoid.http.FastHttp | From | To | |
Rename Method public instance() : Setup renamed to public setup() : Setup in class org.rapidoid.setup.On | From | To | |
Move And Rename Method | 3 | ||
Move And Rename Method public setErrorHandler(errorHandler FastHttpHandler) : void from class org.rapidoid.http.FastHttp to public errorHandler(errorHandler ErrorHandler) : void from class org.rapidoid.http.customize.Customization | From | To | |
Move And Rename Method public rolesOf(rolesProvider RolesProvider) : Setup from class org.rapidoid.setup.Setup to public rolesProvider(rolesProvider RolesProvider) : void from class org.rapidoid.http.customize.Customization | From | To | |
Move And Rename Method public getRolesProvider() : RolesProvider from class org.rapidoid.setup.Setup to public rolesProvider() : RolesProvider from class org.rapidoid.http.customize.Customization | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type errorHandler : FastHttpHandler to errorHandler : ErrorHandler in method public errorHandler(errorHandler ErrorHandler) : void in class org.rapidoid.http.customize.Customization | From | To | |
Inline Method | 1 | ||
Inline Method package onChanges() : OnChanges inlined to public listen() : Server in class org.rapidoid.setup.Setup | From | To | |
Change Return Type | 1 | ||
Change Return Type Setup to void in method public rolesProvider(rolesProvider RolesProvider) : void in class org.rapidoid.http.customize.Customization | From | To | |
Move Attribute | 2 | ||
Move Attribute public DEFAULT_STATIC_FILES_LOCATIONS : String[] from class org.rapidoid.http.FastHttp to public DEFAULT_STATIC_FILES_LOCATIONS : String[] from class org.rapidoid.http.customize.Customization | From | To | |
Move Attribute private rolesProvider : RolesProvider from class org.rapidoid.setup.Setup to private rolesProvider : RolesProvider from class org.rapidoid.http.customize.Customization | From | To | |
Extract Class | 2 | ||
Extract Class org.rapidoid.http.customize.Customization from class org.rapidoid.setup.Setup | From | To | |
Extract Class org.rapidoid.http.customize.Customization from class org.rapidoid.http.FastHttp | From | To | |
Rename Class | 1 | ||
Rename Class org.rapidoid.http.OnSetupTest renamed to org.rapidoid.http.CustomizationTest | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.rapidoid.setup.LoginProcessor moved and renamed to org.rapidoid.http.customize.LoginProvider | From | To | |
Move Class | 3 | ||
Move Class org.rapidoid.http.ErrorHandler moved to org.rapidoid.http.customize.ErrorHandler | From | To | |
Move Class org.rapidoid.setup.RolesProvider moved to org.rapidoid.http.customize.RolesProvider | From | To | |
Move Class org.rapidoid.http.ViewRenderer moved to org.rapidoid.http.customize.ViewRenderer | From | To | |
Extract Method | 1 | ||
Extract Method private responseToBytes(resp Resp) : byte[] extracted from private renderResponseBody() : void in class org.rapidoid.http.ReqImpl | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public resultToResponse(req Req, result Object) : void extracted from public complete(ctx Channel, isKeepAlive boolean, req Req, result Object) : void in class org.rapidoid.http.handler.AbstractAsyncHttpHandler & moved to class org.rapidoid.http.HttpUtils | From | To | |
Extract And Move Method public responseToBytes(result Object, contentType MediaType) : byte[] extracted from private serializeResponseContent() : byte[] in class org.rapidoid.http.ReqImpl & moved to class org.rapidoid.http.HttpUtils | From | To |