4070688f849b1d61734b27d203b634a376fe078c
Files Diff
- Added: 13
- Removed: 11
- Renamed: 0
- Modified: 18
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method protected exchange() : HttpExchange renamed to protected ctx() : HttpExchange in class org.rapidoid.widget.AbstractWidget | From | To | |
| Move Method | 3 | ||
| Move Method public hasSession(sessionId String) : boolean from class org.rapidoid.http.HttpExchangeHeaders to public hasSession(sessionId String) : boolean from class org.rapidoid.widget.MockHttpExchange | From | To | |
| Move Method public hasSession() : boolean from class org.rapidoid.http.HttpExchangeHeaders to public hasSession() : boolean from class org.rapidoid.widget.MockHttpExchange | From | To | |
| Move Method public sessionId() : String from class org.rapidoid.http.HttpExchangeHeaders to public sessionId() : String from class org.rapidoid.widget.MockHttpExchange | From | To | |
| Move Source Folder | 1 | ||
| Move Source Folder rapidoid-http to rapidoid-http-api | From | To | |
| Change Return Type | 5 | ||
| Change Return Type AppContext to HttpExchange in method protected ctx() : HttpExchange in class org.rapidoid.app.Screen | From | To | |
| Change Return Type HttpExchangeHeaders to HttpExchangeBody in method public setContentType(contentType MediaType) : HttpExchangeBody in class org.rapidoid.http.HttpExchangeHeaders | From | To | |
| Change Return Type HttpExchangeHeaders to void in method public sessionSet(name String, value Object) : void in class org.rapidoid.http.HttpExchangeImpl | From | To | |
| Change Return Type HttpExchangeHeaders to void in method public closeSession() : void in class org.rapidoid.http.HttpExchangeImpl | From | To | |
| Change Return Type HttpExchangeHeaders to void in method public clearSession(sessionId String) : void in class org.rapidoid.http.HttpExchangeImpl | From | To | |
| Extract Class | 1 | ||
| Extract Class org.rapidoid.widget.MockHttpExchange from class org.rapidoid.http.HttpExchangeHeaders | From | To | |
| Move Class | 3 | ||
| Move Class org.rapidoid.net.mime.MediaType moved to org.rapidoid.mime.MediaType | From | To | |
| Move Class org.rapidoid.http.HttpExchangeHolder moved to org.rapidoid.pages.HttpExchangeHolder | From | To | |
| Move Class org.rapidoid.http.SessionVar moved to org.rapidoid.widget.impl.SessionVar | From | To | |
| Replace Variable With Attribute | 2 | ||
| Replace Variable With Attribute x : HttpExchange to ctx : HttpExchange in method public set(value T) : void in class org.rapidoid.widget.impl.SessionVar | From | To | |
| Replace Variable With Attribute x : HttpExchange to ctx : HttpExchange in method public get() : T in class org.rapidoid.widget.impl.SessionVar | From | To | |
| Extract Interface | 1 | ||
| Extract Interface org.rapidoid.http.LowLevelHttpExchange from classes [org.rapidoid.http.HttpExchangeImpl] | From | To | |
| Extract Method | 2 | ||
| Extract Method public httpExchange() : HttpExchange extracted from public localVar(name String, defaultValue int, min int, max int) : Var<Integer> in class org.rapidoid.widget.BootstrapWidgets | From | To | |
| Extract Method public httpExchange() : HttpExchange extracted from public localVar(name String, defaultValue T) : Var<T> in class org.rapidoid.widget.BootstrapWidgets | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type ctx : AppContext to ctx : HttpExchange in class org.rapidoid.app.Screen | From | To |