Comments (4)
Hi @heiko-braun - the idea for returning null
is to indicate that this mapper is not applicable. The handles
method indicates that, but is intended as a quick check that doesn't need to read entity data, etc.
For a given response, you may have multiple ResponseExceptionMappers (sorted by priority) that returns true
for the handles
method. But on closer look one or more of the mappers may not actually apply, so they should return a null - that tells the implementation to move on to the next potential mapper.
Hope this helps
from microprofile-rest-client.
@heiko-braun are you ok if we close this issue? If you have any other questions or concerns, please let me know. Thanks.
from microprofile-rest-client.
Yes of course. Sorry for the delay
from microprofile-rest-client.
Thanks!
from microprofile-rest-client.
Related Issues (20)
- TCK Challenge: HasConversationScopeTest HOT 5
- Have string overloaded methods for uri/url methods HOT 3
- Allow ResponseExceptionMapper to swallow exceptions HOT 4
- MicroProfile Rest Client 3.0 Compatible Certification Request
- The 3.0 TCK Relies on old Jakarta/Java EE Servlet Specification HOT 2
- MicroProfile Rest Client 3.0 release on Maven Central? HOT 2
- MicroProfile Rest Client 2.0 Compatible Certification Request - Payara Community 5.2021.10 HOT 1
- Setting SSLContext for CDI injected clients HOT 3
- Clarification for behavior of Default ResponseExceptionMapper when method signature returns Result HOT 3
- Replace javax namespace usage with jakarta HOT 1
- Fault Tolerance support in builder created client HOT 4
- Clarification about closing the rest client HOT 2
- [question] Can I build a new implementation for microprofile-rest-client? HOT 3
- RestClientBuilderResolver does not work when the security manager is enabled
- Clarify What Exceptions Can Be Thrown When Closing A Client HOT 5
- ClientRequestFilter and ClientResponseFilter priority tests absent from MP Rest Client TCK HOT 1
- Align with Jakarta EE 10
- ConfigKeyForMultipleInterfacesTest uses the same WAR file name as ConfigKeyTest HOT 4
- Can we wrap all parameters including body parameter into a single object ? HOT 4
- No TCK coverage for exception mappers when subresource interface methods are called
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microprofile-rest-client.