-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JDK 11 HttpClient async implement for AsyncFeign. (#1330)
* java11 async http client for AsyncFeign * java 11 httpclient not allow some header * add unit test * add license * remove unused annotation * Merge branch 'master' of https://github.com/OpenFeign/feign into asyncfeign-java11-impl � Conflicts: � java11/src/main/java/feign/http2client/Http2Client.java * port connectionTimeout feature of Http2Client to AsyncHttpClient * fix format * Combined Sync and Async clients into a single class Co-authored-by: UzimakiNaruto <ff578505546@qq.com> Co-authored-by: Kevin Davis <kdavisk6@gmail.com> Co-authored-by: Marvin Froeder <velo@users.noreply.github.com> Co-authored-by: Marvin Froeder <marvin.froeder@dovetailstudios.com>
- Loading branch information
1 parent
98786bb
commit 2c7f407
Showing
4 changed files
with
1,200 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
java11/src/test/java/feign/http2client/test/CustomPojo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* Copyright 2012-2020 The Feign Authors | ||
* | ||
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file | ||
* except in compliance with the License. You may obtain a copy of the License at | ||
* | ||
* <p>http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* <p>Unless required by applicable law or agreed to in writing, software distributed under the | ||
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | ||
* express or implied. See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package feign.http2client.test; | ||
|
||
public class CustomPojo { | ||
|
||
private final String name; | ||
private final Integer number; | ||
|
||
CustomPojo(String name, Integer number) { | ||
this.name = name; | ||
this.number = number; | ||
} | ||
} |
Oops, something went wrong.