How to Compress Requests Using the Spring RestTemplate 1. Introduction In this short tutorial, we’ll look at how to send HTTP requests containing compressed data. In addition, we’ll look at how to configure a Spring web application so it handles compressed requests. 2. Sending Compressed Requests Firstly, let’s create a… Continue Reading spring-resttemplate-compressing-requests

StackExchange REST Client with Spring and RestTemplate HTTP Client-Side Spring Web HttpClient RestTemplate This article will cover a quick side-project – a bot to automatically tweet Top Questions from the various Q&A StackExchange sites, such as StackOverflow, ServerFault, SuperUser, etc. We will build a simple client for the StackExchange API… Continue Reading tweeting-stackexchange-with-spring-social-part-1

Connecting Through Proxy Servers in Core Java 1. Introduction Proxy servers act as intermediaries between client applications and other servers. In an enterprise setting, we often use them to help provide control over the content that users consume, usually across network boundaries. In this tutorial, we’ll look at how to… Continue Reading java-connect-via-proxy-server