-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8420 from gsmet/rest-client-provider-fix
Revert how readers and writers are registered for REST clients
- Loading branch information
Showing
3 changed files
with
57 additions
and
11 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
21 changes: 21 additions & 0 deletions
21
...n/deployment/src/main/java/io/quarkus/resteasy/common/deployment/RestClientBuildItem.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,21 @@ | ||
package io.quarkus.resteasy.common.deployment; | ||
|
||
import io.quarkus.builder.item.MultiBuildItem; | ||
|
||
/** | ||
* Used to mark a class as a potential REST client interface consumed by the MicroProfile REST client. | ||
* <p> | ||
* Useful when you want to apply different behaviors to REST resources and REST clients. | ||
*/ | ||
public final class RestClientBuildItem extends MultiBuildItem { | ||
|
||
private String interfaceName; | ||
|
||
public RestClientBuildItem(String interfaceName) { | ||
this.interfaceName = interfaceName; | ||
} | ||
|
||
public String getInterfaceName() { | ||
return interfaceName; | ||
} | ||
} |
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