Example usage for org.apache.commons.httpclient HostConfiguration clone

List of usage examples for org.apache.commons.httpclient HostConfiguration clone

Introduction

In this page you can find the example usage for org.apache.commons.httpclient HostConfiguration clone.

Prototype

public Object clone() 

Source Link

Usage

From source file:org.mule.transport.http.MuleHostConfigurationTestCase.java

@Test
public void testClone() {
    HostConfiguration hostConfig = createHostConfiguration();
    HostConfiguration clone = (HostConfiguration) hostConfig.clone();
    assertMockSocketFactory(clone);//from   w  ww.j a  v  a 2 s  . c  om
}