File tree Expand file tree Collapse file tree 4 files changed +23
-8
lines changed
http-auth/src/main/java/software/amazon/awssdk/http/auth/internal
http-auth-spi/src/main/java/software/amazon/awssdk/http/auth/spi Expand file tree Collapse file tree 4 files changed +23
-8
lines changed Original file line number Diff line number Diff line change 28
28
<artifactId >http-auth-aws-crt</artifactId >
29
29
<name >AWS Java SDK :: HTTP Auth AWS CRT</name >
30
30
<description >
31
- The AWS SDK for Java - HTTP Auth AWS module contains interfaces and implementations for HTTP authentication
32
- specific to the AWS CRT.
31
+ The AWS SDK for Java - HTTP Auth AWS module contains interfaces and implementations for generic HTTP
32
+ authentication specific to the AWS CRT.
33
33
</description >
34
34
<url >https://aws.amazon.com/sdkforjava</url >
35
35
Original file line number Diff line number Diff line change 28
28
<artifactId >http-auth-aws</artifactId >
29
29
<name >AWS Java SDK :: HTTP Auth AWS</name >
30
30
<description >
31
- The AWS SDK for Java - HTTP Auth AWS module contains interfaces and implementations for generic generic HTTP authentication
32
- specific to AWS.
31
+ The AWS SDK for Java - HTTP Auth AWS module contains interfaces and implementations for generic HTTP
32
+ authentication specific to AWS.
33
33
</description >
34
34
<url >https://aws.amazon.com/sdkforjava</url >
35
35
Original file line number Diff line number Diff line change @@ -41,5 +41,6 @@ public interface HttpSigner {
41
41
* @param request The request to sign, with async payload
42
42
* @return A signed version of the input request
43
43
*/
44
- SignedHttpRequest <? extends Publisher <? extends ByteBuffer >> signAsync (HttpSignRequest <? extends Publisher <? extends ByteBuffer >> request );
44
+ SignedHttpRequest <? extends Publisher <? extends ByteBuffer >> signAsync (
45
+ HttpSignRequest <? extends Publisher <? extends ByteBuffer >> request );
45
46
}
Original file line number Diff line number Diff line change
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
+
1
16
package software .amazon .awssdk .http .auth .internal ;
2
17
18
+ import java .nio .ByteBuffer ;
3
19
import org .reactivestreams .Publisher ;
4
20
import software .amazon .awssdk .annotations .SdkInternalApi ;
5
21
import software .amazon .awssdk .http .ContentStreamProvider ;
10
26
import software .amazon .awssdk .identity .spi .TokenIdentity ;
11
27
12
28
13
- import java .nio .ByteBuffer ;
14
-
15
29
/**
16
30
* A default implementation of {@link BearerHttpSigner}
17
31
*/
@@ -34,7 +48,7 @@ public SignedHttpRequest<? extends ContentStreamProvider> sign(HttpSignRequest<?
34
48
35
49
@ Override
36
50
public SignedHttpRequest <? extends Publisher <? extends ByteBuffer >>
37
- signAsync (HttpSignRequest <? extends Publisher <? extends ByteBuffer >> request ) {
51
+ signAsync (HttpSignRequest <? extends Publisher <? extends ByteBuffer >> request ) {
38
52
return doSign (request );
39
53
}
40
54
You can’t perform that action at this time.
0 commit comments