Package org.apache.maven.wagon.shared.http

Examples of org.apache.maven.wagon.shared.http.HttpConfiguration


    private void setupWagonReadTimeout( Wagon wagon )
    {
        try
        {
            HttpConfiguration httpConfiguration = new HttpConfiguration().setAll(
                new HttpMethodConfiguration().setReadTimeout( remoteRepository.getRemoteDownloadTimeout() * 1000 ) );
            Method setHttpConfigurationMethod =
                wagon.getClass().getMethod( "setHttpConfiguration", HttpConfiguration.class );
            setHttpConfigurationMethod.invoke( wagon, httpConfiguration );
        }
View Full Code Here


    private void setupWagonReadTimeout( Wagon wagon )
    {
        try
        {
            HttpConfiguration httpConfiguration = new HttpConfiguration( ).setAll(
                new HttpMethodConfiguration( ).setReadTimeout( remoteRepository.getRemoteDownloadTimeout( ) * 1000 ) );
            Method setHttpConfigurationMethod =
                wagon.getClass( ).getMethod( "setHttpConfiguration", HttpConfiguration.class );
            setHttpConfigurationMethod.invoke( wagon, httpConfiguration );
        }
View Full Code Here

TOP

Related Classes of org.apache.maven.wagon.shared.http.HttpConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.