diff --git a/src/main/java/software/amazon/awssdk/crt/http/HttpStreamManager.java b/src/main/java/software/amazon/awssdk/crt/http/HttpStreamManager.java index 8506097755..2b6a7d3d29 100644 --- a/src/main/java/software/amazon/awssdk/crt/http/HttpStreamManager.java +++ b/src/main/java/software/amazon/awssdk/crt/http/HttpStreamManager.java @@ -97,11 +97,10 @@ private void h1AcquireStream(HttpRequestBase request, * Request a HttpStream from StreamManager. If the streamManager is made with * HTTP/2 connection under the hood, it will be Http2Stream. * - * @param request - * @param streamHandler + * @param request HttpRequestBase. The Request to make to the Server. + * @param streamHandler HttpStreamBaseResponseHandler. The Stream Handler to be called from the Native EventLoop * @return A future for a Http2Stream that will be completed when the stream is * acquired. - * @throws CrtRuntimeException */ public CompletableFuture acquireStream(HttpRequestBase request, HttpStreamBaseResponseHandler streamHandler) { diff --git a/src/main/java/software/amazon/awssdk/crt/http/HttpStreamManagerOptions.java b/src/main/java/software/amazon/awssdk/crt/http/HttpStreamManagerOptions.java index 03f7d6eff0..2b7d02e7db 100644 --- a/src/main/java/software/amazon/awssdk/crt/http/HttpStreamManagerOptions.java +++ b/src/main/java/software/amazon/awssdk/crt/http/HttpStreamManagerOptions.java @@ -6,9 +6,6 @@ * instance */ public class HttpStreamManagerOptions { - public static final int DEFAULT_MAX_WINDOW_SIZE = Integer.MAX_VALUE; - public static final int DEFAULT_MAX = Integer.MAX_VALUE; - public static final int DEFAULT_MAX_CONNECTIONS = 2; private HttpClientConnectionManagerOptions h1ConnectionManagerOptions; private Http2StreamManagerOptions h2StreamManagerOptions;