Jersey
-
Core Java
Read Response Body in JAX-RS Client from a POST Request
JAX-RS (Jakarta API for RESTful Web Services) is a widely used framework for building RESTful web services in Java. It…
Read More » -
Core Java
Configuring Jersey Connection and Read Timeouts
This article will guide you through setting connection timeout and read timeout in Jersey using ClientConfig. When developing RESTful applications…
Read More » -
Enterprise Java
Mocking SecurityContext in Jersey Tests
Jersey has a great possibility to write integration test for REST-APIs, written with Jersey. Just extend the class JerseyTest and…
Read More » -
Enterprise Java
Jersey client dependencies for JAX-RS 2.1
Jersey is the reference implementation of JAX-RS 2.1. The following Jersey dependencies are required in order to run a JAX-RS…
Read More » -
Enterprise Java
Jersey Web Service Hello World Example in Java
After Restlet, Jersey is another popular open source framework to create RESTful web services in Java. Jersey conforms JAX-RS specification and actually…
Read More » -
Enterprise Java
Jersey WebResource – Header don’t get appended
Yesterday I ran into a strange problem when using the Jersey WebResource class for doing HTTP calls: it seemed as…
Read More » -
Enterprise Java
How to secure Jersey REST services with Spring Security and Basic authentication
In my previous blog post, Quick way to check if the REST API is alive – GET details from Manifest…
Read More » -
Enterprise Java
Per client cookie handling with Jersey
A lot of REST services will use cookies as part of the authentication / authorisation scheme. This is a problem…
Read More » -
Enterprise Java
Quick way to check if the REST API is alive – GET details from Manifest file
There might be cases when you want to quickly verify if your REST API, that is deployed either on dev, test…
Read More »