Learn how to expand shortened URLs in Java using the Apache HttpClient.
Also find me here:
Baeldung Author
Eugen Paraschiv
I’m a software engineer with a passion for REST, TDD and clean code, Web Security and Data Mining. Baeldung is about all of these and more.
Here's what I've written (so far):
Baeldung on Java
- All
- Weekly Review (152)
- Spring (33)
- Spring Security (29)
- REST (23)
- Java IO (22)
- HTTP Client-Side (20)
- Jackson (17)
- Data (17)
- Java Collections (12)
- Java (9)
- Testing (8)
- Spring MVC (7)
- Maven (7)
- Spring Persistence (6)
- Persistence (6)
- Java List (6)
- JPA (6)
- Java String (5)
- Spring Web (4)
- Spring Boot (4)
- Spring Data (3)
- JSON (3)
- Security (2)
- Meta (2)
- Java Map (2)
- Java Array (2)
- Cloud (2)
- News (1)
- Java Numbers (1)
- Java Concurrency (1)
- IDE (1)
- Core Java (1)
- Artificial Intelligence (1)
- Architecture (1)
Apache HttpClient with SSL
Filed under HTTP Client-Side, Spring Web
Example of how to configure the HttpClient with SSL.
RestTemplate with Digest Authentication
Filed under HTTP Client-Side, Security, Spring Web
How to set up Digest Authentication for the Spring RestTemplate using HttpClient 4.
HttpSessionListener Example – Monitoring
Filed under REST
Set up a HttpSessionListener to track the number of active sessions in a web application.
Spring Security Remember Me
Filed under Spring Security
Cookie Remember Me example with Spring Security.
Versioning a REST API
Filed under REST
Versioning a REST API – version identifier in the URI or version media types?
Java Session Timeout
Filed under REST
Configure Session Timeout in the web.xml of a Java Servlet web application, and globally for a Tomcat or Jetty Server.
Apache HttpClient Timeout
Filed under HTTP Client-Side
How to set up timeout for an HttpClient – connection and socket timeouts, and a mechanism for hard timeout of ongoing http connections.
Retrieve User Information in Spring Security
Filed under Spring Security
How to get the currently logged in user with Spring Security.