* This interface offers a fluent interface to build and configure HTTP
* request transactions from a client instance. The requests can be consumed
* either aggregated {@link HttpResponse} or streaming {@link LiveHttpRequest}
@@ -33,20 +33,7 @@
public interface HttpClient {
/**
- * Sends a HTTP request message using this client.
- *
- * @deprecated use {@link #send} instead.
- *
- * @param request a full HTTP request object
- * @return a future of full HTTP request object
- */
- @Deprecated
- default CompletableFuture
* This interface allows client attributes and context to be customised
* for each request without having to rely on configured default values
* in the client.
@@ -80,7 +67,7 @@ interface Transaction {
/**
* Converts the transaction object to streaming transaction.
- *
+ *
* A call to {@code streaming()} converts this {@link Transaction} object to
* a {@link StreamingTransaction}. This allows responses to be consumed
* in streaming responses.
@@ -90,7 +77,7 @@ interface Transaction {
StreamingTransaction streaming();
/**
- * Sends a HTTP request message using this client.
+ * Sends an HTTP request message using this client.
*
* @param request a full HTTP request object
* @return a future of full HTTP request object
@@ -100,7 +87,7 @@ interface Transaction {
/**
* A streaming HTTP request transaction.
- *
+ *
* This interface allows the response object to be consumed in a streaming
* fashion instead of being aggregated into a HttpResponse.
*/
diff --git a/components/client/src/test/integration/scala/com/hotels/styx/client/OriginSupport.scala b/components/client/src/test/integration/scala/com/hotels/styx/client/OriginSupport.scala
index b9a3f8870..a79e56620 100644
--- a/components/client/src/test/integration/scala/com/hotels/styx/client/OriginSupport.scala
+++ b/components/client/src/test/integration/scala/com/hotels/styx/client/OriginSupport.scala
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2013-2022 Expedia Inc.
+ Copyright (C) 2013-2024 Expedia Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/components/client/src/test/unit/java/com/hotels/styx/client/netty/connectionpool/NettyConnectionFactoryTest.java b/components/client/src/test/unit/java/com/hotels/styx/client/netty/connectionpool/NettyConnectionFactoryTest.java
index 7ec1577a9..b87344154 100644
--- a/components/client/src/test/unit/java/com/hotels/styx/client/netty/connectionpool/NettyConnectionFactoryTest.java
+++ b/components/client/src/test/unit/java/com/hotels/styx/client/netty/connectionpool/NettyConnectionFactoryTest.java
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2013-2021 Expedia Inc.
+ Copyright (C) 2013-2024 Expedia Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -20,6 +20,7 @@
import com.hotels.styx.client.Connection;
import com.hotels.styx.client.ConnectionSettings;
import com.hotels.styx.support.server.FakeHttpServer;
+import com.hotels.styx.support.server.UrlMatchingStrategies;
import io.netty.channel.Channel;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
diff --git a/components/proxy/pom.xml b/components/proxy/pom.xml
index 748cabf1e..c0d9462f8 100644
--- a/components/proxy/pom.xml
+++ b/components/proxy/pom.xml
@@ -62,11 +62,6 @@