In this article, we’ll show you how to host a website on GitHub. GitHub allows us to publish and share […] Continue reading »
In this guide, we’ll learn how to handle WebClient errors. The retrieve() method in WebClient throws a WebClientResponseException whenever the […] Continue reading »
In this guide, we’ll show how to consume REST services with WebClient. Spring WebFlux includes a reactive, non-blocking (asynchronous) WebClient […] Continue reading »
In this article, we’ll learn how to consume REST services with RestTemplate from a Spring Boot application. Spring provides a […] Continue reading »
In WordPress, is_page() function return true if the current article is a “PAGE” and similarly is_single() function return true if […] Continue reading »
In IntelliJ IDEA, we can use Ctrl + Alt + L to reformat and rearrange code in Windows and Linux […] Continue reading »
In WordPress, we can use the is_user_logged_in() function to identify whether a current user is logged in or not. is_user_logged_in() […] Continue reading »
In WordPress, we can use the get_the_author_meta(string $field) function to retrieve the author’s details stored in the database object. get_the_author_meta() […] Continue reading »
In Java 8, we can use ZoneId.getAvailableZoneIds() to get all unique zone id and LocalDateTime to get UTC offset of […] Continue reading »
In Java 8, we can use Period.between(startDate, endDate) method to find out the difference between two LocalDate instances. Period is […] Continue reading »
In Java 8, ZoneId.getAvailableZoneIds() method return all available unique ZoneId and we can loop it for display. static Set<String> getAvailableZoneIds(); […] Continue reading »