Spring boot RestTemplate download file example
RestTemplate provides ways to download the file from another web service. exchange a method used to read binary data, Which will take First argument – URL which returns file, Second argument – Method…
RestTemplate provides ways to download the file from another web service. exchange a method used to read binary data, Which will take First argument – URL which returns file, Second argument – Method…
Spring boot Rest Template is used to call rest service, getForEntity will return ResponseEntity which contains response + response metadata like header information,url ect. ResponseEntity contains response header, Here is an example of Spring boot Resttemplate…
Table of Contents1. Overview2. Example2.1 pom.xml2.2 SpringBootConfig2.3 HttpSessionConfig2.4 SpringBooRedisStoreControllerDemo:Step 1: Session Created and Return Header TokenStep 2: Pass token in header request3. References 1. Overview Spring boot provides easy ways…
Table of Contents1. OverviewRedis Server2. Example2.1 pom.xml2.2 application.properties2.3 SpringBootConfig2.4 HttpSessionConfig2.5 welcome.jsp2.6 Demo:Step 1: Create sessionStep 2: Store session information in browserStep 3: Increment Hit CounterStep 4: Server down but session…
In our previous article Setup Basic Auth plugin we have discussed about how to enable solr base authentication plugin.In this article we will discuss how to access basic authentication enable solr…
Solr support Basic authentication for users with the use of the BasicAuthPlugin.An authorization plugin is also available to configure Solr with permissions to perform various activities in the system. In…
The scala is very popular language now days specially while work with java bigdata technology. Here is example o Spring boot scala example code with details, Here we have used…
In our previous two articles Securing Single Node Solr and Securing Solr Cluster we have discussed about how to enable ssl on solr node.In this article we will discuss how to accees SSL enable…
Table of Contents1. Overview2. Example:2.1 pom.xml2.2 application.properties2.3 Output:3. References 1. Overview Spring boot provides endpoints to provide metadata about spring boot application which is very useful to track application in…
While run any application in JVM, JVM will take system default time zone. For example production server is running under PST timezone and spring boot application will start then application…