Tag: archive
All the articles with the tag "archive".
-
Jersey (JAX-RS) @FormParam HTML form data handling
There are multiple ways for consuming HTML form data (application/x-www-form-urlencoded) in Jersey. Using @FormParam annotation we can inject Form values in the Resource method. We can use it just like other @*Param. Jersey resource method
-
Spring Boot and Jersey (JAX-RS) static files support
In Spring Boot support for Jersey is provided by org.springframework.boot:spring-boot-starter-jersey Gradle dependency. When the static file URL pattern is matched with URLs that Jersey handles, additional configurations are required for Sp
-
Jersey (JAX-RS) @BeanParam to inject class with aggregated @*Param injections
It will reduce our code and improve readability, if we define injections of various @*Param values in a distinct class and reuse that in various resources. In Jersey (JAX-RS) we can achieve same using @BeanParam injection. Aggregate @*Param
-
Jersey (JAX-RS) Java types to consume request parameter values guide
In Jersey (JAX-RS), to consume HTTP request parameter, cookie, header, path variable and matrix parameter string values, we have following options: Primitive types - int, char, float, long, double, byte and others. Types with constructor wh