File tree 5 files changed +9
-9
lines changed
client/src/main/java/org/asynchttpclient/oauth
5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public class ConsumerKey {
26
26
private final String secret ;
27
27
private final String percentEncodedKey ;
28
28
29
- ConsumerKey (String key , String secret ) {
29
+ public ConsumerKey (String key , String secret ) {
30
30
this .key = key ;
31
31
this .secret = secret ;
32
32
this .percentEncodedKey = Utf8UrlEncoder .percentEncodeQueryElement (key );
@@ -40,7 +40,7 @@ public String getSecret() {
40
40
return secret ;
41
41
}
42
42
43
- String getPercentEncodedKey () {
43
+ public String getPercentEncodedKey () {
44
44
return percentEncodedKey ;
45
45
}
46
46
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public class OAuthSignatureCalculator implements SignatureCalculator {
41
41
* @param consumerAuth Consumer key to use for signature calculation
42
42
* @param userAuth Request/access token to use for signature calculation
43
43
*/
44
- OAuthSignatureCalculator (ConsumerKey consumerAuth , RequestToken userAuth ) {
44
+ public OAuthSignatureCalculator (ConsumerKey consumerAuth , RequestToken userAuth ) {
45
45
this .consumerAuth = consumerAuth ;
46
46
this .userAuth = userAuth ;
47
47
}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ final class Parameter implements Comparable<Parameter> {
20
20
21
21
final String key , value ;
22
22
23
- Parameter (String key , String value ) {
23
+ public Parameter (String key , String value ) {
24
24
this .key = key ;
25
25
this .value = value ;
26
26
}
Original file line number Diff line number Diff line change 19
19
import java .util .Collections ;
20
20
import java .util .List ;
21
21
22
- class Parameters {
22
+ final class Parameters {
23
23
24
24
private List <Parameter > parameters = new ArrayList <>();
25
25
26
- Parameters add (String key , String value ) {
26
+ public Parameters add (String key , String value ) {
27
27
parameters .add (new Parameter (key , value ));
28
28
return this ;
29
29
}
30
30
31
- void reset () {
31
+ public void reset () {
32
32
parameters .clear ();
33
33
}
34
34
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public class RequestToken {
28
28
private final String secret ;
29
29
private final String percentEncodedKey ;
30
30
31
- RequestToken (String key , String token ) {
31
+ public RequestToken (String key , String token ) {
32
32
this .key = key ;
33
33
this .secret = token ;
34
34
this .percentEncodedKey = Utf8UrlEncoder .percentEncodeQueryElement (key );
@@ -42,7 +42,7 @@ public String getSecret() {
42
42
return secret ;
43
43
}
44
44
45
- String getPercentEncodedKey () {
45
+ public String getPercentEncodedKey () {
46
46
return percentEncodedKey ;
47
47
}
48
48
You can’t perform that action at this time.
0 commit comments