File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,18 +24,9 @@ public interface Request<T> {
2424 /**
2525 * Executes this request asynchronously.
2626 *
27- * Note: This method was added after the interface was released in version 1.0.
28- * It is defined as a default method for compatibility reasons.
29- * From version 2.0 on, the method will be abstract and all implementations of this interface
30- * will have to provide their own implementation.
31- *
32- * The default implementation throws an {@linkplain UnsupportedOperationException}.
33- *
3427 * @return a {@linkplain CompletableFuture} representing the specified request.
3528 */
36- default CompletableFuture <Response <T >> executeAsync () {
37- throw new UnsupportedOperationException ("executeAsync" );
38- }
29+ CompletableFuture <Response <T >> executeAsync ();
3930
4031 /**
4132 * Adds an HTTP header to the request
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments