016dd7c647553b4c227fbb5484f9b2cb6bce9a3c
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Attribute | 1 | ||
Pull Up Attribute package clientOptions : HttpClientOptions from class io.vertx.test.core.Http2ClientTest to protected clientOptions : HttpClientOptions from class io.vertx.test.core.Http2TestBase | From | To | |
Change Variable Type | 1 | ||
Change Variable Type clientHandler : Handler to clientHandler : Http2ConnectionHandler in method private createServer(handler BiFunction<Http2ConnectionDecoder,Http2ConnectionEncoder,Http2FrameListener>) : ServerBootstrap in class io.vertx.test.core.Http2ClientTest | From | To | |
Inline Variable | 1 | ||
Inline Variable pipeline : ChannelPipeline in method protected initChannel(ch Channel) : void from class io.vertx.core.http.impl.ConnectionManager.ConnQueue.internalConnect.handler | From | To | |
Extract Method | 5 | ||
Extract Method private createHttp2Handler(holder HandlerHolder<HttpHandler>, ch Channel) : VertxHttp2ConnectionHandler extracted from public listen(port int, host String, listenHandler Handler<AsyncResult<HttpServer>>) : HttpServer in class io.vertx.core.http.impl.HttpServerImpl | From | To | |
Extract Method private fallbackToHttp1x(ch Channel, context ContextImpl, fallbackVersion HttpVersion, port int, host String, waiter Waiter) : void extracted from protected internalConnect(host String, port int, waiter Waiter) : void in class io.vertx.core.http.impl.ConnectionManager.ConnQueue | From | To | |
Extract Method private http2Connected(handlerCtx ChannelHandlerContext, context ContextImpl, port int, host String, ch Channel, waiter Waiter, upgrade boolean) : void extracted from protected internalConnect(host String, port int, waiter Waiter) : void in class io.vertx.core.http.impl.ConnectionManager.ConnQueue | From | To | |
Extract Method private createHttpConnectionHandler(handler BiFunction<Http2ConnectionDecoder,Http2ConnectionEncoder,Http2FrameListener>) : Http2ConnectionHandler extracted from private createServer(handler BiFunction<Http2ConnectionDecoder,Http2ConnectionEncoder,Http2FrameListener>) : ServerBootstrap in class io.vertx.test.core.Http2ClientTest | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public fromVertxInitialSettings(server boolean, vertxSettings Http2Settings, nettySettings Http2Settings) : void extracted from protected build() : VertxHttp2ConnectionHandler<C> in class io.vertx.core.http.impl.VertxHttp2ConnectionHandlerBuilder & moved to class io.vertx.core.http.impl.HttpUtils | From | To |