jersey
jersey copied to clipboard
This is no longer the active Jersey repository. Please see the README.md
Jersey ClientConfig class was updated to support custom ConnectionProvider which are made available through SPI interface "org.glassfish.jersey.client.spi.ConnectorProvider", see Class ClientConfig lines 148ff. Unfortunately the ApacheConnectorProvider module misses the necessary SPI...
``` ClientResponse response ... response.getLinks() ``` fails when server returns a multi-valued link header like `; rel="next", ; rel="last"` ``` java.lang.IllegalArgumentException: java.text.ParseException: Expected separator ';' instead of ',' at com.sun.jersey.core.header.LinkHeader.valueOf(LinkHeader.java:106)...
Every time you send an object instead of an expected array I get an javax.ws.rs.ProcessingException that cannot be captured by a ExceptionMapper I have tried different jersey 2.0 versions with...
With EntityFiltering enabled (either SelectableEntityFiltering orEntityFilteringFeature), Java Map collections are either not being serialized at all or an Exception is thrown. There are two scenarios that I have found that...
This is a reopen of #2908. If a request does not contain a Content-Type, Jersey will invoke a resource method with @Consumes, but section 3.5 of the JAX-RS 2.0 spec...
This code throws an exception[1] ```java @GET @Path("/reports/{id}") @Produces(MediaType.APPLICATION_XML) public Response retrieveReportXml(@NotNull @PathParam("id") UUID id) { StreamingOutput result = outputStream -> { this.reportXmlService.exportReport(id, outputStream); outputStream.flush(); }; return Response.ok(result, MediaType.APPLICATION_XML_TYPE).build(); }...
Processing a post request of Content-Type: multipart/form-data, if the original file name of one of the parts in the client side have accentuated characters, the attribute "filename" of header Content-Disposition...
Hi, we're using Jersey v1.12 in a PROD environnement for Banking purpose. Since we're are getting duplicates requests received on the server side and nothing indicates that the client send...
In Example 9.50 @POST @Consumes(MediaType.MULTIPART_FORM_DATA) public String postForm( @DefaultValue("true") @FormDataParam("enabled") boolean enabled, @FormDataParam("data") **FileData** bean, @FormDataParam("file") InputStream file, @FormDataParam("file") FormDataContentDisposition fileDisposition) { // ... } its not clear to which...
Hi, I am trying to use the client to write against a REST API. The API is navigable and I need to resolve URLs for new requests based on the...