ea0e1d40365ff08813e6c1be93a73b818b02c689
Files Diff
- Added: 13
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method package writeAsJson(req MaybeReq, ctx Channel, code int, isKeepAlive boolean, value Object) : void renamed to private writeJsonResponse(req MaybeReq, resp Resp, ctx Channel, isKeepAlive boolean, code int, contentType MediaType, result Object) : void in class org.rapidoid.http.impl.lowlevel.LowLevelHttpIO | From | To | |
Extract Variable | 1 | ||
Extract Variable ctype : MediaType in method private handleNonDecorating(ctx Channel, isKeepAlive boolean, req Req, extra Object) : HttpStatus from class org.rapidoid.http.handler.AbstractDecoratingHttpHandler | From | To | |
Extract Method | 1 | ||
Extract Method private processNormalResult(req Req, result Object) : void extracted from public complete(ctx Channel, isKeepAlive boolean, contentType MediaType, req Req, result Object) : void in class org.rapidoid.http.handler.AbstractDecoratingHttpHandler | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public hasResponseAttached() : boolean extracted from private handleNonDecorating(ctx Channel, isKeepAlive boolean, req Req, extra Object) : HttpStatus in class org.rapidoid.http.handler.AbstractDecoratingHttpHandler & moved to class org.rapidoid.http.impl.ReqImpl | From | To | |
Rename Parameter | 2 | ||
Rename Parameter value : Object to result : Object in method private writeJsonResponse(req MaybeReq, resp Resp, ctx Channel, isKeepAlive boolean, code int, contentType MediaType, result Object) : void in class org.rapidoid.http.impl.lowlevel.LowLevelHttpIO | From | To | |
Rename Parameter contentTypeHeader : MediaType to contentType : MediaType in method package writeResponse(req MaybeReq, ctx Channel, isKeepAlive boolean, code int, contentType MediaType, content byte[]) : void in class org.rapidoid.http.impl.lowlevel.LowLevelHttpIO | From | To |