parameter names in interfaces, part 2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@576074 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4c696dcc14
commit
7ef4e48620
|
@ -48,7 +48,7 @@ import org.apache.http.impl.DefaultHttpServerConnection;
|
||||||
import org.apache.http.params.BasicHttpParams;
|
import org.apache.http.params.BasicHttpParams;
|
||||||
import org.apache.http.params.HttpConnectionParams;
|
import org.apache.http.params.HttpConnectionParams;
|
||||||
import org.apache.http.params.HttpParams;
|
import org.apache.http.params.HttpParams;
|
||||||
import org.apache.http.params.HttpProtocolParams;
|
import org.apache.http.params.CoreProtocolPNames;
|
||||||
import org.apache.http.protocol.BasicHttpProcessor;
|
import org.apache.http.protocol.BasicHttpProcessor;
|
||||||
import org.apache.http.protocol.HttpContext;
|
import org.apache.http.protocol.HttpContext;
|
||||||
import org.apache.http.protocol.BasicHttpContext;
|
import org.apache.http.protocol.BasicHttpContext;
|
||||||
|
@ -156,7 +156,7 @@ public class LocalTestServer {
|
||||||
false)
|
false)
|
||||||
.setBooleanParameter(HttpConnectionParams.TCP_NODELAY,
|
.setBooleanParameter(HttpConnectionParams.TCP_NODELAY,
|
||||||
true)
|
true)
|
||||||
.setParameter(HttpProtocolParams.ORIGIN_SERVER,
|
.setParameter(CoreProtocolPNames.ORIGIN_SERVER,
|
||||||
"Jakarta-HttpComponents-LocalTestServer/1.1");
|
"Jakarta-HttpComponents-LocalTestServer/1.1");
|
||||||
return params;
|
return params;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue