This blog is primarily focus on Java fundamentals and the libraries built on top of Java programming language. Most of the post are example oriented, hope you have fun in reading my blog....:)
publicstatic HttpHeaders getHeaders(String url){
if (url == null || url.isEmpty()) {
thrownew RuntimeException("url must not be null or empty");
}
return REST_TEMPLATE.headForHeaders(url);
}
You can get
complete working application from this link.
No comments:
Post a Comment