rest
rest copied to clipboard
Jakarta RESTful Web Services
Records look like a good fit for `@BeanParam` support: ```java record PersonForm(@FormParam("name") String name, @FormParam("age") int age) {} //... @POST @Produces(MediaType.TEXT_HTML) public Response post(@BeanParam PersonForm form) { //... } ```
CDI version 4.0 is structured into two parts: CDI Full and CDI Lite. The main difference between the two is that CDI Lite can be implemented with support for built-time...
There are some options when it comes to starting the CDI container in an SE application. These options can impact the way in which Jakarta REST components are located and...
Most of these definitions are straightforward, but still need to be clearly stated in the spec. For next major release.
There is one small feature missing from Jersey (and JAX-RS) which force me and other to rely on the Servlet API: finding out the remote IP address of a request....
In [an earlier discussion](https://github.com/jakartaee/rest/pull/1066#issuecomment-1249264250) @jansupol and me proposed to allow specifying the separation character for getHeaderString, as some header values actually may contain commas, so being able to separate them...
The Javadoc for the [Response.getHeaders()](https://javadoc.io/static/jakarta.ws.rs/jakarta.ws.rs-api/3.1.0/jakarta.ws.rs/jakarta/ws/rs/core/Response.html#getHeaders()), [Response.getStringHeaders()](https://javadoc.io/static/jakarta.ws.rs/jakarta.ws.rs-api/3.1.0/jakarta.ws.rs/jakarta/ws/rs/core/Response.html#getStringHeaders()), and the (deprecated) [Response.getMetadata()](https://javadoc.io/static/jakarta.ws.rs/jakarta.ws.rs-api/3.1.0/jakarta.ws.rs/jakarta/ws/rs/core/Response.html#getMetadata()) methods indicate that the `MultivaluedMap` returned by these methods is a _view_. The term _view_ sometimes signals that the view...
The Spec, Section 11, says: > A Servlet-based implementation MUST support injection of the following Servlet-defined types: `ServletConfig`, `ServletContext` , `HttpServletRequest` and `HttpServletResponse` . In the CDI environment, the implementation...
**Challenged Tests:** [ee.jakarta.tck.ws.rs.spec.contextprovider.JsonbContextProviderIT](https://github.com/jakartaee/rest/blob/master/jaxrs-tck/src/main/java/ee/jakarta/tck/ws/rs/spec/contextprovider/JsonbContextProviderIT.java) [ee.jakarta.tck.ws.rs.spec.client.exceptions.ClientExceptionsIT](https://github.com/jakartaee/rest/blob/master/jaxrs-tck/src/main/java/ee/jakarta/tck/ws/rs/spec/client/exceptions/ClientExceptionsIT.java) **TCK Version:** Jakarta RESTful Web Services 3.1.x **Tested Implementation:** Open Liberty -- containing RestEasy 6.1.0 & Weld 5.0.1 **Description:** The Application subclasses of both of the...
I think a clarification is needed in the JAX-RS specification when it comes to dealing with media types that may include parameters. I'll refer to the 3.0 specification but, if...