Skip to content

Commit 81947be

Browse files
committed
New deploy
1 parent 5a93a1c commit 81947be

File tree

93 files changed

+5209
-3296
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+5209
-3296
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ License:
33
The MIT License (MIT)
44
http://opensource.org/licenses/MIT
55

6-
Copyright (c) 2014 - 2016 APIMATIC Limited
6+
Copyright (c) 2014 - 2020 APIMATIC Limited
77

88
Permission is hereby granted, free of charge, to any person obtaining a copy
99
of this software and associated documentation files (the "Software"), to deal

src/main/java/com/bandwidth/ApiHelper.java

+205-177
Large diffs are not rendered by default.

src/main/java/com/bandwidth/AuthManager.java

+12-6
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,32 @@
33
*
44
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
55
*/
6-
package com.bandwidth;
76

8-
import java.io.IOException;
9-
import java.util.concurrent.CompletableFuture;
7+
package com.bandwidth;
108

119
import com.bandwidth.exceptions.ApiException;
1210
import com.bandwidth.http.request.HttpRequest;
11+
import java.io.IOException;
12+
import java.util.concurrent.CompletableFuture;
1313

1414
/**
15-
* Interface for defining the behaviour of Authentication Classes.
15+
* Interface for defining the behavior of Authentication Classes.
1616
*/
1717
public interface AuthManager {
1818

1919
/**
20-
* Adds authentication to the given HttpRequest
20+
* Adds authentication to the given HttpRequest.
21+
* @param httpRequest HttpRequest object for authentication
22+
* @return Returns the object of HttpRequest
23+
* @throws ApiException Represents error response from the server.
24+
* @throws IOException Signals that an I/O exception of some sort has occurred.
2125
*/
2226
HttpRequest apply(HttpRequest httpRequest) throws ApiException, IOException;
2327

2428
/**
25-
* Asynchronously adds authentication to the given HttpRequest
29+
* Asynchronously adds authentication to the given HttpRequest.
30+
* @param httpRequest HttpRequest object for authentication
31+
* @return Returns the completable future of HttpRequest
2632
*/
2733
CompletableFuture<HttpRequest> applyAsync(HttpRequest httpRequest);
2834
}

0 commit comments

Comments
 (0)