a53c62c8248854213a8fb1a5cb9fa012dc9022ef
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 27
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Replace Attribute | 1 | ||
Replace Attribute private connection : Http2ServerConnection from class io.vertx.core.http.impl.Http2ServerRequestImpl with private conn : Http2ClientConnection from class io.vertx.core.http.impl.Http2ClientConnection.Http2ClientStream | From | To | |
Rename Method | 1 | ||
Rename Method package setMetric(metric Object) : void renamed to package metric(metric Object) : void in class io.vertx.core.http.impl.ServerConnection | From | To | |
Pull Up Method | 2 | ||
Pull Up Method protected startServer() : void from class io.vertx.test.core.Http2TestBase to protected startServer() : void from class io.vertx.test.core.HttpTestBase | From | To | |
Pull Up Method protected startServer(context Context) : void from class io.vertx.test.core.Http2TestBase to protected startServer(context Context) : void from class io.vertx.test.core.HttpTestBase | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method package bytesWritten() : long moved from class io.vertx.core.http.impl.VertxHttp2Stream to class io.vertx.core.http.impl.Http2ServerResponseImpl & inlined to public bytesWritten() : long | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type endHandler : Handler<Void> to endHandler : Handler<Long> in method package FileStreamChannel(resultCtx Context, resultHandler Handler<AsyncResult<Void>>, stream VertxHttp2Stream, endHandler Handler<Long>, length long) in class io.vertx.core.http.impl.FileStreamChannel | From | To | |
Move Attribute | 2 | ||
Move Attribute private bytesWritten : long from class io.vertx.core.http.impl.VertxHttp2Stream to private bytesWritten : long from class io.vertx.core.http.impl.FileStreamChannel | From | To | |
Move Attribute private bytesWritten : long from class io.vertx.core.http.impl.VertxHttp2Stream to private bytesWritten : long from class io.vertx.core.http.impl.Http2ServerResponseImpl | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [vertx : Vertx, handlerContext : ChannelHandlerContext] to conn : Http2ConnectionBase in method package VertxHttp2Stream(conn Http2ConnectionBase, stream Http2Stream) in class io.vertx.core.http.impl.VertxHttp2Stream | From | To | |
Rename Attribute | 5 | ||
Rename Attribute conn : Http2Connection to connection : Http2Connection in class io.vertx.core.http.impl.Http2ClientConnection.Http2ClientStream | From | To | |
Rename Attribute handler : Handler<HttpServerRequest> to requestHandler : Handler<HttpServerRequest> in class io.vertx.core.http.impl.Http2ServerConnection | From | To | |
Rename Attribute handler : Handler<AsyncResult<HttpServerResponse>> to completionHandler : Handler<AsyncResult<HttpServerResponse>> in class io.vertx.core.http.impl.Http2ServerConnection.Push | From | To | |
Rename Attribute connHandler : VertxHttp2ConnectionHandler to handler : VertxHttp2ConnectionHandler in class io.vertx.core.http.impl.Http2ConnectionBase | From | To | |
Rename Attribute handler : Http2ClientConnection to conn : Http2ClientConnection in class io.vertx.core.http.impl.Http2ClientConnection.Http2ClientStream | From | To | |
Extract Method | 5 | ||
Extract Method private handleEnded(failed boolean) : boolean extracted from public reset(code long) : void in class io.vertx.core.http.impl.Http2ServerResponseImpl | From | To | |
Extract Method private handleEnded(failed boolean) : boolean extracted from package handleClose() : void in class io.vertx.core.http.impl.Http2ServerResponseImpl | From | To | |
Extract Method private handleEnded(failed boolean) : boolean extracted from package callReset(code long) : void in class io.vertx.core.http.impl.Http2ServerResponseImpl | From | To | |
Extract Method private handleEnded(failed boolean) : boolean extracted from package toNetSocket() : void in class io.vertx.core.http.impl.Http2ServerResponseImpl | From | To | |
Extract Method private handleEnded(failed boolean) : boolean extracted from package write(chunk ByteBuf, end boolean) : void in class io.vertx.core.http.impl.Http2ServerResponseImpl | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type conn : Http2Connection to conn : Http2ClientConnection in class io.vertx.core.http.impl.Http2ClientConnection.Http2ClientStream | From | To | |
Change Attribute Type requests : ConcurrentMap<HttpServerRequest,HttpServerMetric> to requests : ConcurrentHashSet<HttpServerMetric> in class io.vertx.test.fakemetrics.FakeHttpServerMetrics | From | To | |
Change Attribute Type endHandler : Handler<Void> to endHandler : Handler<Long> in class io.vertx.core.http.impl.FileStreamChannel | From | To | |
Rename Parameter | 7 | ||
Rename Parameter handler : Http2ClientConnection to conn : Http2ClientConnection in method public Http2ClientStream(conn Http2ClientConnection, req HttpClientRequestBase, stream Http2Stream) in class io.vertx.core.http.impl.Http2ClientConnection.Http2ClientStream | From | To | |
Rename Parameter connHandler : VertxHttp2ConnectionHandler to handler : VertxHttp2ConnectionHandler in method public Http2ConnectionBase(channel Channel, context ContextImpl, handler VertxHttp2ConnectionHandler, metrics TCPMetrics) in class io.vertx.core.http.impl.Http2ConnectionBase | From | To | |
Rename Parameter handler : Handler<AsyncResult<HttpServerResponse>> to completionHandler : Handler<AsyncResult<HttpServerResponse>> in method public Push(stream Http2Stream, contentEncoding String, completionHandler Handler<AsyncResult<HttpServerResponse>>) in class io.vertx.core.http.impl.Http2ServerConnection.Push | From | To | |
Rename Parameter handler : Http2ClientConnection to conn : Http2ClientConnection in method public Http2ClientStream(conn Http2ClientConnection, stream Http2Stream) in class io.vertx.core.http.impl.Http2ClientConnection.Http2ClientStream | From | To | |
Rename Parameter handler : Handler<AsyncResult<HttpServerResponse>> to completionHandler : Handler<AsyncResult<HttpServerResponse>> in method package sendPush(streamId int, headers Http2Headers, completionHandler Handler<AsyncResult<HttpServerResponse>>) : void in class io.vertx.core.http.impl.Http2ServerConnection | From | To | |
Rename Parameter handler : Handler<HttpServerRequest> to requestHandler : Handler<HttpServerRequest> in method package Http2ServerConnection(channel Channel, context ContextImpl, serverOrigin String, connHandler VertxHttp2ConnectionHandler, options HttpServerOptions, requestHandler Handler<HttpServerRequest>, metrics HttpServerMetrics) in class io.vertx.core.http.impl.Http2ServerConnection | From | To | |
Rename Parameter requests : HttpServerRequest to request : HttpServerRequest in method public getMetric(request HttpServerRequest) : HttpServerMetric in class io.vertx.test.fakemetrics.FakeHttpServerMetrics | From | To |