hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject [1/6] httpcomponents-client git commit: Upgraded HttpCore to version 5.0-alpha4 [Forced Update!]
Date Fri, 01 Sep 2017 18:32:12 GMT
Repository: httpcomponents-client
Updated Branches:
  refs/heads/master e8f72b7c5 -> dcc09e92e (forced update)


http://git-wip-us.apache.org/repos/asf/httpcomponents-client/blob/b58e7d46/httpclient5/src/test/java/org/apache/hc/client5/http/impl/sync/TestFutureRequestExecutionService.java
----------------------------------------------------------------------
diff --git a/httpclient5/src/test/java/org/apache/hc/client5/http/impl/sync/TestFutureRequestExecutionService.java
b/httpclient5/src/test/java/org/apache/hc/client5/http/impl/sync/TestFutureRequestExecutionService.java
index 689eac5..24cdffe 100644
--- a/httpclient5/src/test/java/org/apache/hc/client5/http/impl/sync/TestFutureRequestExecutionService.java
+++ b/httpclient5/src/test/java/org/apache/hc/client5/http/impl/sync/TestFutureRequestExecutionService.java
@@ -49,8 +49,8 @@ import org.apache.hc.core5.http.ClassicHttpResponse;
 import org.apache.hc.core5.http.HttpException;
 import org.apache.hc.core5.http.impl.bootstrap.HttpServer;
 import org.apache.hc.core5.http.impl.bootstrap.ServerBootstrap;
+import org.apache.hc.core5.http.io.HttpClientResponseHandler;
 import org.apache.hc.core5.http.io.HttpRequestHandler;
-import org.apache.hc.core5.http.io.ResponseHandler;
 import org.apache.hc.core5.http.protocol.HttpContext;
 import org.junit.After;
 import org.junit.Assert;
@@ -69,7 +69,7 @@ public class TestFutureRequestExecutionService {
     @Before
     public void before() throws Exception {
         this.localServer = ServerBootstrap.bootstrap()
-                .registerHandler("/wait", new HttpRequestHandler() {
+                .register("/wait", new HttpRequestHandler() {
 
             @Override
             public void handle(
@@ -190,7 +190,7 @@ public class TestFutureRequestExecutionService {
     }
 
 
-    private final class OkidokiHandler implements ResponseHandler<Boolean> {
+    private final class OkidokiHandler implements HttpClientResponseHandler<Boolean>
{
         @Override
         public Boolean handleResponse(
                 final ClassicHttpResponse response) throws IOException {

http://git-wip-us.apache.org/repos/asf/httpcomponents-client/blob/b58e7d46/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index bc84e16..1726f3a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -68,7 +68,7 @@
   <properties>
     <maven.compiler.source>1.7</maven.compiler.source>
     <maven.compiler.target>1.7</maven.compiler.target>
-    <httpcore.version>5.0-alpha3</httpcore.version>
+    <httpcore.version>5.0-alpha4</httpcore.version>
     <log4j.version>2.8.2</log4j.version>
     <commons-codec.version>1.10</commons-codec.version>
     <ehcache.version>2.6.11</ehcache.version>


Mime
View raw message