[java] As far as we don;t apply filters to WebSockets it's safe to use base implementation
import com.google.common.collect.ImmutableMap;
import org.openqa.selenium.remote.http.ClientConfig;
-import org.openqa.selenium.remote.http.Filter;
import org.openqa.selenium.remote.http.HttpClient;
import org.openqa.selenium.remote.http.HttpClientName;
import org.openqa.selenium.remote.http.HttpMethod;
@@ -136,14 +135,6 @@ public WebSocket openSocket(HttpRequest request, WebSocket.Listener listener) {
}
}
- @Override
- public HttpClient with(Filter filter) {
- Objects.requireNonNull(filter, "Filter to use must be set.");
-
- // TODO: Implement filtering
- return this;
- }
-
@AutoService(HttpClient.Factory.class)
@HttpClientName("reactor")
public static class Factory implements HttpClient.Factory {
