1 /* 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"). 5 * You may not use this file except in compliance with the License. 6 * A copy of the License is located at 7 * 8 * http://aws.amazon.com/apache2.0 9 * 10 * or in the "license" file accompanying this file. This file is distributed 11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 12 * express or implied. See the License for the specific language governing 13 * permissions and limitations under the License. 14 */ 15 16 package software.amazon.awssdk.http.nio.netty.internal.nrs; 17 18 import io.netty.handler.codec.http.HttpResponse; 19 import software.amazon.awssdk.annotations.SdkInternalApi; 20 21 /** 22 * Combines {@link HttpResponse} and {@link StreamedHttpMessage} into one 23 * message. So it represents an http response with a stream of 24 * {@link io.netty.handler.codec.http.HttpContent} messages that can be subscribed to. 25 * 26 * This class contains source imported from https://github.com/playframework/netty-reactive-streams, 27 * licensed under the Apache License 2.0, available at the time of the fork (1/31/2020) here: 28 * https://github.com/playframework/netty-reactive-streams/blob/master/LICENSE.txt 29 * 30 * All original source licensed under the Apache License 2.0 by playframework. All modifications are 31 * licensed under the Apache License 2.0 by Amazon Web Services. 32 */ 33 @SdkInternalApi 34 public interface StreamedHttpResponse extends HttpResponse, StreamedHttpMessage { 35 } 36