0e943e47e672163c8bcc2c5469aad055cd8508a2
Files Diff
- Added: 9
- Removed: 9
- Renamed: 0
- Modified: 43
Link to commit
Third party dependencies:
| Dependency Action | |
|---|---|
| Added | |
| org.rapidoid:rapidoid-appctx:4.1.0-SNAPSHOT |
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move And Inline Method | 1 | ||
| Move And Inline Method public run() : void moved from class org.rapidoid.http.HttpExchangeImpl to class org.rapidoid.http.HttpProtocol & inlined to private executeRequest(router Router, x HttpExchangeImpl) : void | From | To | |
| Change Parameter Type | 2 | ||
| Change Parameter Type server : HTTPServer to app : Application in method public register(app Application, oauthDomain String, stateCheck OAuthStateCheck, providers OAuthProvider...) : void in class org.rapidoid.oauth.OAuth | From | To | |
| Change Parameter Type server : HTTPServer to app : Application in method public register(app Application, providers OAuthProvider...) : void in class org.rapidoid.oauth.OAuth | From | To | |
| Move Method | 6 | ||
| Move Method public delete(url String, handler Handler) : HTTPServer from class org.rapidoid.http.HTTPServerImpl to public delete(url String, handler Handler) : HttpRouter from class org.rapidoid.http.HttpRouter | From | To | |
| Move Method public serve(response String) : HTTPServer from class org.rapidoid.http.HTTPServerImpl to public serve(response String) : HttpRouter from class org.rapidoid.http.HttpRouter | From | To | |
| Move Method public post(url String, handler Handler) : HTTPServer from class org.rapidoid.http.HTTPServerImpl to public post(url String, handler Handler) : HttpRouter from class org.rapidoid.http.HttpRouter | From | To | |
| Move Method public get(url String, handler Handler) : HTTPServer from class org.rapidoid.http.HTTPServerImpl to public get(url String, handler Handler) : HttpRouter from class org.rapidoid.http.HttpRouter | From | To | |
| Move Method public put(url String, handler Handler) : HTTPServer from class org.rapidoid.http.HTTPServerImpl to public put(url String, handler Handler) : HttpRouter from class org.rapidoid.http.HttpRouter | From | To | |
| Move Method private contentHandler(response String) : Handler from class org.rapidoid.http.HTTPServerImpl to private contentHandler(response String) : Handler from class org.rapidoid.http.HttpRouter | From | To | |
| Change Return Type | 7 | ||
| Change Return Type HTTPServer to HttpRouter in method public post(url String, handler Handler) : HttpRouter in class org.rapidoid.http.HttpRouter | From | To | |
| Change Return Type HTTPServer to HttpRouter in method public serve(response String) : HttpRouter in class org.rapidoid.http.HttpRouter | From | To | |
| Change Return Type HTTPServer to HttpRouter in method public get(url String, handler Handler) : HttpRouter in class org.rapidoid.http.HttpRouter | From | To | |
| Change Return Type HTTPServer to HttpRouter in method public put(url String, handler Handler) : HttpRouter in class org.rapidoid.http.HttpRouter | From | To | |
| Change Return Type HTTPServer to HttpRouter in method public delete(url String, handler Handler) : HttpRouter in class org.rapidoid.http.HttpRouter | From | To | |
| Change Return Type void to Router in method public route(cmd String, url String, handler Handler) : Router in class org.rapidoid.http.Router | From | To | |
| Change Return Type void to HttpRouter in method public route(action String, url String, handler Handler) : HttpRouter in class org.rapidoid.http.HttpRouter | From | To | |
| Move Attribute | 2 | ||
| Move Attribute private router : Router from class org.rapidoid.http.HttpProtocol to protected router : Router from class org.rapidoid.http.HttpTestCommons | From | To | |
| Move Attribute private router : Router from class org.rapidoid.http.HttpExchangeImpl to protected router : Router from class org.rapidoid.http.HttpTestCommons | From | To | |
| Move And Rename Class | 1 | ||
| Move And Rename Class org.rapidoid.apps.Application moved and renamed to org.rapidoid.appctx.WebApp | From | To | |
| Move Class | 6 | ||
| Move Class org.rapidoid.apps.Applications moved to org.rapidoid.appctx.Applications | From | To | |
| Move Class org.rapidoid.apps.AppCtx moved to org.rapidoid.appctx.AppCtx | From | To | |
| Move Class org.rapidoid.apps.RootApplication moved to org.rapidoid.appctx.RootApplication | From | To | |
| Move Class org.rapidoid.apps.AppMode moved to org.rapidoid.appctx.AppMode | From | To | |
| Move Class org.rapidoid.apps.AppClasspathEntitiesPlugin moved to org.rapidoid.appctx.AppClasspathEntitiesPlugin | From | To | |
| Move Class org.rapidoid.apps.Scan moved to org.rapidoid.appctx.Scan | From | To | |
| Extract Variable | 2 | ||
| Extract Variable templ : String in method public writeFullPage(x HttpExchange, title String, content String) : HttpExchange from class org.rapidoid.http.HTMLSnippets | From | To | |
| Extract Variable templ : String in method public writePage(x HttpExchange, title String, content String) : HttpExchange from class org.rapidoid.http.HTMLSnippets | From | To | |
| Change Package | 1 | ||
| Change Package org.rapidoid.apps to org.rapidoid.appctx | From | To | |
| Extract Interface | 1 | ||
| Extract Interface org.rapidoid.appctx.Application from classes [org.rapidoid.appctx.WebApp] | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter server : HTTPServer to app : Application in method public register(app Application, oauthDomain String, stateCheck OAuthStateCheck, providers OAuthProvider...) : void in class org.rapidoid.oauth.OAuth | From | To | |
| Rename Parameter server : HTTPServer to app : Application in method public register(app Application, providers OAuthProvider...) : void in class org.rapidoid.oauth.OAuth | From | To |