8737973beca251d42dcd31a0ab3ca8d4d5cf0ad0
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 1 | ||
Move Method protected writeNum(ctx Channel, value int) : void from class org.rapidoid.http.AbstractHttpServer to public writeNum(ctx Channel, value int) : void from class org.rapidoid.http.impl.HttpIO | From | To | |
Extract Method | 2 | ||
Extract Method public writeJsonBody(out Buf, value Object) : void extracted from private writeOnBufferAsJson(ctx Channel, code int, isKeepAlive boolean, value Object) : void in class org.rapidoid.http.impl.HttpIO | From | To | |
Extract Method public writeContentLengthHeader(ctx Channel, len int) : void extracted from public writeContentLengthAndBody(ctx Channel, content byte[]) : void in class org.rapidoid.http.impl.HttpIO | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public writeContentLengthAndBody(ctx Channel, baos ByteArrayOutputStream) : void extracted from protected writeJsonBody(ctx Channel, value Object) : void in class org.rapidoid.http.AbstractHttpServer & moved to class org.rapidoid.http.impl.HttpIO | From | To |