metacat/src/edu/ucsb/nceas/metacat/index/HttpComponentsClientHttpRequestFactory.java @ 7491
1 |
//package edu.ucsb.nceas.metacat.index;
|
---|---|
2 |
package org.springframework.http.client; |
3 |
|
4 |
import org.apache.http.client.HttpClient; |
5 |
|
6 |
/**
|
7 |
* A fake implementation of a Spring framework object for use by the DataONE HttpService class.
|
8 |
*
|
9 |
*/
|
10 |
|
11 |
public class HttpComponentsClientHttpRequestFactory { |
12 |
protected HttpClient client; |
13 |
public HttpComponentsClientHttpRequestFactory(HttpClient c) { |
14 |
this.client = c; |
15 |
}
|
16 |
public HttpClient getHttpClient() { |
17 |
return client; |
18 |
}
|
19 |
}
|