61a840eee2ff63e2ae3cba93e20e35e5ade626a6
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method package getRequest() : HttpRequest renamed to package getMethod() : HttpMethod in class io.vertx.core.http.impl.HttpClientRequestImpl | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type conn : ClientConnection to conn : HttpClientConnection in method private connected(conn HttpClientConnection) : void in class io.vertx.core.http.impl.HttpClientRequestImpl | From | To | |
Move Method | 2 | ||
Move Method private prepareHeaders() : void from class io.vertx.core.http.impl.HttpClientRequestImpl to private prepareHeaders(request HttpRequest, chunked boolean) : void from class io.vertx.core.http.impl.ClientConnection | From | To | |
Move Method package getConnection(port int, host String, handler Handler<ClientConnection>, connectionExceptionHandler Handler<Throwable>, context ContextImpl, canceled BooleanSupplier) : void from class io.vertx.core.http.impl.HttpClientImpl to public getConnection(port int, host String, handler Handler<ClientConnection>, connectionExceptionHandler Handler<Throwable>, context ContextImpl, canceled BooleanSupplier) : void from class io.vertx.core.http.impl.Http2ConnectionManager | From | To | |
Change Return Type | 1 | ||
Change Return Type HttpRequest to HttpMethod in method package getMethod() : HttpMethod in class io.vertx.core.http.impl.HttpClientRequestImpl | From | To | |
Extract Class | 1 | ||
Extract Class io.vertx.core.http.impl.Http2ConnectionManager from class io.vertx.core.http.impl.HttpClientImpl | From | To | |
Extract Interface | 1 | ||
Extract Interface io.vertx.core.http.impl.HttpClientConnection from classes [io.vertx.core.http.impl.ClientConnection] | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type headers : MultiMap to headers : CaseInsensitiveHeaders in class io.vertx.core.http.impl.HttpClientRequestImpl | From | To | |
Change Attribute Type conn : ClientConnection to conn : HttpClientConnection in class io.vertx.core.http.impl.HttpClientResponseImpl | From | To | |
Change Attribute Type conn : ClientConnection to conn : HttpClientConnection in class io.vertx.core.http.impl.HttpClientRequestImpl | From | To | |
Extract And Move Method | 3 | ||
Extract And Move Method public writeHeadWithContent(version HttpVersion, method HttpMethod, uri String, headers MultiMap, chunked boolean, buf ByteBuf, end boolean) : void extracted from private writeHeadWithContent(buf ByteBuf, end boolean) : void in class io.vertx.core.http.impl.HttpClientRequestImpl & moved to class io.vertx.core.http.impl.ClientConnection | From | To | |
Extract And Move Method public writeBuffer(buff ByteBuf, end boolean) : void extracted from private write(buff ByteBuf, end boolean) : void in class io.vertx.core.http.impl.HttpClientRequestImpl & moved to class io.vertx.core.http.impl.ClientConnection | From | To | |
Extract And Move Method public writeHead(version HttpVersion, method HttpMethod, uri String, headers MultiMap, chunked boolean) : void extracted from private writeHead() : void in class io.vertx.core.http.impl.HttpClientRequestImpl & moved to class io.vertx.core.http.impl.ClientConnection | From | To |