jersey
jersey copied to clipboard
This is no longer the active Jersey repository. Please see the README.md
Once \@XmlJavaTypeAdapter is added on a field, the grammar is excluded from the generated wadl, and is completely unavailable. See also https://stackoverflow.com/questions/43720286/jersey-moxy-excludes-grammar-xsd (not me, but I'm having the same issue)....
We have secured our API-endpoint using Basic Authentication. We have LoggingFilter.class added, to log all requests made to the API. Below is an excerpt of the automatically generated log: ```...
When a REST class has a getter that returns a validated object, then it is always called, even if the HTTP method does not match. Let's say I have the...
Hi, implementing and testing a WriterInterceptor I had to realize that WriterInterceptorContext as provided to aroundWriteTo() does not contain resource method annotations under all circumstances. **In case the resource method...
As I state on my [Stackoverflow question](https://stackoverflow.com/questions/48218871/how-jersey-behaves-on-not-mapped-exceptions), I can't find any information about Jersey's behavior on uncaught `Exceptions` (`Exceptions` that aren't `WebApplicationException` and neither have been mapped with `ExceptionMapper`). It...
It seems that Jersey (at least 2.26) incorrectly registers also non root resources (available via `getClasses()`) even if stated otherwise in [docs](https://jersey.github.io/documentation/latest/deployment.html) section `4.7.2.3.2. JAX-RS application with a custom Application...
## Code ``` private InputStream logInboundEntity(final StringBuilder b, InputStream stream, final Charset charset) throws IOException { if (!stream.markSupported()) { stream = new BufferedInputStream(stream); } stream.mark(maxEntitySize + 1); final byte[] entity...
I have the following JAX-RS Filter which implements the `ContainerRequestFilter`: ``` @Provider @Priority(Priorities.AUTHENTICATION) public class AuthenticationFilter implements ContainerRequestFilter { @Context HttpServletRequest request; @Override public void filter(ContainerRequestContext requestContext) throws IOException {...