I am trying to document an already existing application using javax.ws.rs annotations to define what headers (@HeaderParam) and parameters (@QueryPara ...
I am trying to document an already existing application using javax.ws.rs annotations to define what headers (@HeaderParam) and parameters (@QueryPara ...
I'm facing the following issue and have been able to find a proper fix. As a use case example, let's imagine a Rest client that fetches a json object ...
I have a RESTfull JAX-RS , which uses a custom @Provider for exception handling, which looks as follows: This provider used to work OK, when my app ...
I'm a beginner developer. I want to write a rest service call with "apache cxf jaxrs". To do that I create a web client. The sample code is below: ...
I have a class User as show below. I wanted to have validation on percent field using javax annotations such that it only allows 4 values. (10, 50, ...
I am trying to run a simple app in Jakarta 9 that has a simple REST web service that returns hello world. However, when I try to access the web servic ...
I'm using MicroProfile OpenAPI with JAX-RS on Quarkus and would like to mark the resource as deprecated, ie. achieve the following result in the gener ...
i've migrated an OSGi web app from java 7 and server weblogic 12c to java 8 and weblogic 14c. The web app use, for web services, jax-rs and jersey lib ...
I have a Java interface which declares all things related to JaxRs like this: The interface is shipped as an external dependency as a jar. And an ...
I would like to return a StreamingOutput when implementing an interface generated from an OpenAPI specification using jaxrs-spec. The default implemen ...
I tried RESTEasy's (WildFly 16) abortWith(Response response) but did not work. I have multiple abortWith medhods. Such as, If fails1 and fails2 are ...
I have a code for JAX-RS with the OidcClient provider. I've added a Retry Config. Logs are added: Hovewer, when it runs it doesn't log retry at ...
I am trying to create a servlet using Websphere application. My web.xml is this: and my AppConfig is this: but when I deploy the application I g ...
I am using the open-api generator plugin in my java project. For more information about the plugin, see homepage and the generator jaxrs-spec i use. ...
We recently had to upgrade from Jersey 3.0.2 to Jersey 3.1.0 (due to an upgrade of Tomcat), and discovered that a REST method would sometimes fail to ...
I am implementing an integration to send an incoming message with a Base-64 encoded string of PDF content to an external REST API that accepts an atta ...
I have created a simple endpoint in Helidon: The code complies and runs. But when I call: curl -i http://localhost:8080/sampleString I receive: ...
Im Try to create schedule job sample, buy task dont execute. what's wrong? Im Try to create schedule job sample, buy task dont execute. ...
I have an JaxRS API like this : How can i handle exception when send non digits parameter as id ? actually i can not found any validation annotatio ...
I'm implementing a rest client based on MicroProfile Rest Client spec and deployed on Open Liberty 22.0.0.9. After a few performance tests with JMete ...