58682c86e8f21555925ccbc4a1b15862e8a795ce
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type handshakeTimeout : long to handshakeTimeout : int in method private DefaultAsyncHttpClientConfig(followRedirect boolean, maxRedirects int, strict302Handling boolean, compressionEnforced boolean, userAgent String, realm Realm, maxRequestRetry int, disableUrlEncodingForBoundRequests boolean, disableZeroCopy boolean, keepEncodingHeader boolean, proxyServerSelector ProxyServerSelector, connectTimeout int, requestTimeout int, readTimeout int, webSocketTimeout int, shutdownQuietPeriod int, shutdownTimeout int, keepAlive boolean, pooledConnectionIdleTimeout int, connectionTtl int, maxConnections int, maxConnectionsPerHost int, channelPool ChannelPool, keepAliveStrategy KeepAliveStrategy, acceptAnyCertificate boolean, handshakeTimeout int, enabledProtocols String[], enabledCipherSuites String[], sslSessionCacheSize Integer, sslSessionTimeout Integer, sslContext SSLContext, sslEngineFactory SSLEngineFactory, requestFilters List<RequestFilter>, responseFilters List<ResponseFilter>, ioExceptionFilters List<IOExceptionFilter>, threadPoolName String, httpClientCodecMaxInitialLineLength int, httpClientCodecMaxHeaderSize int, httpClientCodecMaxChunkSize int, chunkedFileChunkSize int, webSocketMaxBufferSize int, webSocketMaxFrameSize int, channelOptions Map<ChannelOption<Object>,Object>, eventLoopGroup EventLoopGroup, preferNative boolean, nettyTimer Timer, threadFactory ThreadFactory, nettyWebSocketFactory NettyWebSocketFactory, httpAdditionalPipelineInitializer AdditionalPipelineInitializer, wsAdditionalPipelineInitializer AdditionalPipelineInitializer, responseBodyPartFactory ResponseBodyPartFactory) in class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Change Parameter Type handshakeTimeout : long to handshakeTimeout : int in method public setHandshakeTimeout(handshakeTimeout int) : Builder in class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Move Method | 17 | ||
Move Method public setHttpAdditionalPipelineInitializer(httpAdditionalPipelineInitializer AdditionalPipelineInitializer) : Builder from class org.asynchttpclient.AdvancedConfig.Builder to public setHttpAdditionalPipelineInitializer(httpAdditionalPipelineInitializer AdditionalPipelineInitializer) : Builder from class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Move Method public setNettyWebSocketFactory(nettyWebSocketFactory NettyWebSocketFactory) : Builder from class org.asynchttpclient.AdvancedConfig.Builder to public setNettyWebSocketFactory(nettyWebSocketFactory NettyWebSocketFactory) : Builder from class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Move Method public getEventLoopGroup() : EventLoopGroup from class org.asynchttpclient.AdvancedConfig to public getEventLoopGroup() : EventLoopGroup from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Move Method public getKeepAliveStrategy() : KeepAliveStrategy from class org.asynchttpclient.AdvancedConfig to public getKeepAliveStrategy() : KeepAliveStrategy from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Move Method public setPreferNative(preferNative boolean) : Builder from class org.asynchttpclient.AdvancedConfig.Builder to public setPreferNative(preferNative boolean) : Builder from class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Move Method public getChannelOptions() : Map<ChannelOption<Object>,Object> from class org.asynchttpclient.AdvancedConfig to public getChannelOptions() : Map<ChannelOption<Object>,Object> from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Move Method public setResponseBodyPartFactory(responseBodyPartFactory ResponseBodyPartFactory) : Builder from class org.asynchttpclient.AdvancedConfig.Builder to public setResponseBodyPartFactory(responseBodyPartFactory ResponseBodyPartFactory) : Builder from class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Move Method public getResponseBodyPartFactory() : ResponseBodyPartFactory from class org.asynchttpclient.AdvancedConfig to public getResponseBodyPartFactory() : ResponseBodyPartFactory from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Move Method public setKeepAliveStrategy(keepAliveStrategy KeepAliveStrategy) : Builder from class org.asynchttpclient.AdvancedConfig.Builder to public setKeepAliveStrategy(keepAliveStrategy KeepAliveStrategy) : Builder from class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Move Method public setWsAdditionalPipelineInitializer(wsAdditionalPipelineInitializer AdditionalPipelineInitializer) : Builder from class org.asynchttpclient.AdvancedConfig.Builder to public setWsAdditionalPipelineInitializer(wsAdditionalPipelineInitializer AdditionalPipelineInitializer) : Builder from class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Move Method public setEventLoopGroup(eventLoopGroup EventLoopGroup) : Builder from class org.asynchttpclient.AdvancedConfig.Builder to public setEventLoopGroup(eventLoopGroup EventLoopGroup) : Builder from class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Move Method public isPreferNative() : boolean from class org.asynchttpclient.AdvancedConfig to public isPreferNative() : boolean from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Move Method public getHttpAdditionalPipelineInitializer() : AdditionalPipelineInitializer from class org.asynchttpclient.AdvancedConfig to public getHttpAdditionalPipelineInitializer() : AdditionalPipelineInitializer from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Move Method public getNettyTimer() : Timer from class org.asynchttpclient.AdvancedConfig to public getNettyTimer() : Timer from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Move Method public getNettyWebSocketFactory() : NettyWebSocketFactory from class org.asynchttpclient.AdvancedConfig to public getNettyWebSocketFactory() : NettyWebSocketFactory from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Move Method public addChannelOption(name ChannelOption<T>, value T) : Builder from class org.asynchttpclient.AdvancedConfig.Builder to public addChannelOption(name ChannelOption<T>, value T) : Builder from class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Move Method public getWsAdditionalPipelineInitializer() : AdditionalPipelineInitializer from class org.asynchttpclient.AdvancedConfig to public getWsAdditionalPipelineInitializer() : AdditionalPipelineInitializer from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Change Return Type | 3 | ||
Change Return Type long to int in method public getHandshakeTimeout() : int in class org.asynchttpclient.AsyncHttpClientConfig | From | To | |
Change Return Type long to int in method public getHandshakeTimeout() : int in class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Change Return Type long to int in method public defaultHandshakeTimeout() : int in class org.asynchttpclient.config.AsyncHttpClientConfigDefaults | From | To | |
Move Attribute | 20 | ||
Move Attribute private channelPool : ChannelPool from class org.asynchttpclient.AdvancedConfig.Builder to private channelPool : ChannelPool from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Move Attribute private nettyTimer : Timer from class org.asynchttpclient.AdvancedConfig to private nettyTimer : Timer from class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Move Attribute private eventLoopGroup : EventLoopGroup from class org.asynchttpclient.AdvancedConfig to private eventLoopGroup : EventLoopGroup from class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Move Attribute private httpAdditionalPipelineInitializer : AdditionalPipelineInitializer from class org.asynchttpclient.AdvancedConfig to private httpAdditionalPipelineInitializer : AdditionalPipelineInitializer from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Move Attribute private channelPool : ChannelPool from class org.asynchttpclient.AdvancedConfig to private channelPool : ChannelPool from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Move Attribute private keepAliveStrategy : KeepAliveStrategy from class org.asynchttpclient.AdvancedConfig.Builder to private keepAliveStrategy : KeepAliveStrategy from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Move Attribute private channelPool : ChannelPool from class org.asynchttpclient.AdvancedConfig to private channelPool : ChannelPool from class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Move Attribute private httpAdditionalPipelineInitializer : AdditionalPipelineInitializer from class org.asynchttpclient.AdvancedConfig to private httpAdditionalPipelineInitializer : AdditionalPipelineInitializer from class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Move Attribute private preferNative : boolean from class org.asynchttpclient.AdvancedConfig to private preferNative : boolean from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Move Attribute private preferNative : boolean from class org.asynchttpclient.AdvancedConfig to private preferNative : boolean from class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Move Attribute private responseBodyPartFactory : ResponseBodyPartFactory from class org.asynchttpclient.AdvancedConfig to private responseBodyPartFactory : ResponseBodyPartFactory from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Move Attribute private wsAdditionalPipelineInitializer : AdditionalPipelineInitializer from class org.asynchttpclient.AdvancedConfig to private wsAdditionalPipelineInitializer : AdditionalPipelineInitializer from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Move Attribute private channelOptions : Map<ChannelOption<Object>,Object> from class org.asynchttpclient.AdvancedConfig to private channelOptions : Map<ChannelOption<Object>,Object> from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Move Attribute private nettyWebSocketFactory : NettyWebSocketFactory from class org.asynchttpclient.AdvancedConfig to private nettyWebSocketFactory : NettyWebSocketFactory from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Move Attribute private wsAdditionalPipelineInitializer : AdditionalPipelineInitializer from class org.asynchttpclient.AdvancedConfig to private wsAdditionalPipelineInitializer : AdditionalPipelineInitializer from class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Move Attribute private responseBodyPartFactory : ResponseBodyPartFactory from class org.asynchttpclient.AdvancedConfig to private responseBodyPartFactory : ResponseBodyPartFactory from class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Move Attribute private channelOptions : Map<ChannelOption<Object>,Object> from class org.asynchttpclient.AdvancedConfig to private channelOptions : Map<ChannelOption<Object>,Object> from class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Move Attribute private nettyTimer : Timer from class org.asynchttpclient.AdvancedConfig to private nettyTimer : Timer from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Move Attribute private nettyWebSocketFactory : NettyWebSocketFactory from class org.asynchttpclient.AdvancedConfig to private nettyWebSocketFactory : NettyWebSocketFactory from class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Move Attribute private eventLoopGroup : EventLoopGroup from class org.asynchttpclient.AdvancedConfig to private eventLoopGroup : EventLoopGroup from class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Move Class | 3 | ||
Move Class org.asynchttpclient.AdvancedConfig.NettyWebSocketFactory moved to org.asynchttpclient.AsyncHttpClientConfig.NettyWebSocketFactory | From | To | |
Move Class org.asynchttpclient.AdvancedConfig.AdditionalPipelineInitializer moved to org.asynchttpclient.AsyncHttpClientConfig.AdditionalPipelineInitializer | From | To | |
Move Class org.asynchttpclient.AdvancedConfig.ResponseBodyPartFactory moved to org.asynchttpclient.AsyncHttpClientConfig.ResponseBodyPartFactory | From | To | |
Rename Attribute | 1 | ||
Rename Attribute advancedConfig : AdvancedConfig to channelPool : ChannelPool in class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Extract Method | 1 | ||
Extract Method private resolveProxyServerSelector() : ProxyServerSelector extracted from public build() : DefaultAsyncHttpClientConfig in class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type handshakeTimeout : long to handshakeTimeout : int in class org.asynchttpclient.DefaultAsyncHttpClientConfig.Builder | From | To | |
Change Attribute Type advancedConfig : AdvancedConfig to channelPool : ChannelPool in class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Change Attribute Type handshakeTimeout : long to handshakeTimeout : int in class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To | |
Rename Parameter | 1 | ||
Rename Parameter idleConnectionInPoolTimeout : int to pooledConnectionIdleTimeout : int in method private DefaultAsyncHttpClientConfig(followRedirect boolean, maxRedirects int, strict302Handling boolean, compressionEnforced boolean, userAgent String, realm Realm, maxRequestRetry int, disableUrlEncodingForBoundRequests boolean, disableZeroCopy boolean, keepEncodingHeader boolean, proxyServerSelector ProxyServerSelector, connectTimeout int, requestTimeout int, readTimeout int, webSocketTimeout int, shutdownQuietPeriod int, shutdownTimeout int, keepAlive boolean, pooledConnectionIdleTimeout int, connectionTtl int, maxConnections int, maxConnectionsPerHost int, channelPool ChannelPool, keepAliveStrategy KeepAliveStrategy, acceptAnyCertificate boolean, handshakeTimeout int, enabledProtocols String[], enabledCipherSuites String[], sslSessionCacheSize Integer, sslSessionTimeout Integer, sslContext SSLContext, sslEngineFactory SSLEngineFactory, requestFilters List<RequestFilter>, responseFilters List<ResponseFilter>, ioExceptionFilters List<IOExceptionFilter>, threadPoolName String, httpClientCodecMaxInitialLineLength int, httpClientCodecMaxHeaderSize int, httpClientCodecMaxChunkSize int, chunkedFileChunkSize int, webSocketMaxBufferSize int, webSocketMaxFrameSize int, channelOptions Map<ChannelOption<Object>,Object>, eventLoopGroup EventLoopGroup, preferNative boolean, nettyTimer Timer, threadFactory ThreadFactory, nettyWebSocketFactory NettyWebSocketFactory, httpAdditionalPipelineInitializer AdditionalPipelineInitializer, wsAdditionalPipelineInitializer AdditionalPipelineInitializer, responseBodyPartFactory ResponseBodyPartFactory) in class org.asynchttpclient.DefaultAsyncHttpClientConfig | From | To |