* @param resource
* The client resource to copy.
*/
public ClientResource(ClientResource resource) {
Request request = new Request(resource.getRequest());
Response response = new Response(request);
this.next = resource.getNext();
this.followingRedirects = resource.isFollowingRedirects();
this.maxRedirects = resource.getMaxRedirects();
this.retryOnError = resource.isRetryOnError();
this.retryDelay = resource.getRetryDelay();